Payment Methods

Get Payment Methods

Get a list of Payment Methods

get/customers/{id}/payment_sources

Request

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

Query parameters

limitinteger

The numbers of items to return, the maximum value is 250

nextstring

next page

previousstring

previous page

searchstring

General order search, e.g. by mail, reference etc.

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

X-Child-Company-Idstring

In the case of a holding company, the company id of the child company to which will process the request.

Response

successful operation

has_moreboolean required

Indicates if there are more pages to be requested

objectstring required

Object type, in this case is list

next_page_urlstring nullable

URL of the next page.

previous_page_urlstring nullable

Url of the previous page.

Example response

{
  "object": "list",
  "next_page_url": "https://api.conekta.io/resources?limit=10&next=chrg_1",
  "previous_page_url": "https://api.conekta.io/resources?limit=10&previous=chrg_1",
  "data": [
    {
      "id": "src_2s8K1B3PBKDontpi9",
      "object": "payment_source",
      "created_at": 1675715413,
      "parent_id": "cus_2s8K1B3PBKDontpi8",
      "agreements": [
        {
          "agreement": "2409526",
          "provider": "bbva_cash_in"
        }
      ],
      "reference": "93000262276908",
      "barcode": "93000262276908",
      "barcode_url": "https://barcodes.conekta.com/644ebf80f2243197aad6cd8810375b905b613dbe.png",
      "expires_at": 1742483424,
      "provider": "Cash"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.