> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quentli.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get customer payment references

> Returns distinct, unexpired CASH and OXXO references for a customer. A null expiration is non-expiring.



## OpenAPI

````yaml /openapi.yaml get /v1/customers/{id}/references
openapi: 3.1.0
info:
  title: Quentli REST API
  version: 1.0.0
  description: OpenAPI spec for Quentli REST endpoints.
servers:
  - url: https://api.quentli.com
    description: Production API
  - url: https://api.staging.quentli.com
    description: Staging API for production-like validation
security:
  - organizationApiKey: []
tags:
  - name: Auth
  - name: Files
  - name: Billing
  - name: Catalog
  - name: Customers
  - name: Invoices
  - name: Payment Methods
  - name: Payment Sessions
  - name: Payments
  - name: Subscriptions
  - name: Tax Invoices
  - name: Webhooks
paths:
  /v1/customers/{id}/references:
    get:
      tags:
        - Customers
      summary: Get customer payment references
      description: >-
        Returns distinct, unexpired CASH and OXXO references for a customer. A
        null expiration is non-expiring.
      operationId: customers_get_references
      parameters:
        - schema:
            type: string
            description: Identifier of the customer.
          required: true
          description: Identifier of the customer.
          name: id
          in: path
      responses:
        '200':
          description: Customer payment references
          content:
            application/json:
              example:
                - type: CASH
                  reference: '3106060848166693695492'
                  createdAt: '2026-09-24T12:00:00.000Z'
                - type: OXXO
                  reference: '93001234567890'
                  createdAt: '2026-09-24T12:00:00.000Z'
              schema:
                $ref: '#/components/schemas/GetCustomerReferencesResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
        '403':
          description: Permission denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
        '404':
          description: Customer not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
components:
  schemas:
    GetCustomerReferencesResponse:
      type: array
      items:
        type: object
        properties:
          type:
            type: string
            enum:
              - CASH
              - OXXO
            description: Payment method for this reference.
          reference:
            type: string
            description: Reference to use when paying.
            example: '3106060848166693695492'
          createdAt:
            anyOf:
              - type: string
                description: Date string
              - type: string
                format: date-time
                description: Date object
            description: >-
              Creation time of the earliest unexpired instruction with this
              reference.
            example: '2026-09-24T12:00:00.000Z'
        required:
          - type
          - reference
          - createdAt
      description: Distinct, unexpired cash and OXXO references for the customer.
    UserError:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
            - message
      required:
        - error
      additionalProperties: false
      description: Standard user-facing error response envelope.
  securitySchemes:
    organizationApiKey:
      type: http
      scheme: bearer
      description: 'Organization API key using `Authorization: Bearer sk_...`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.