v1

latestOpenAPI 3.1.0MIT-LICENSE2026-07-24113190543.3 KB
Payment Methods

Create Payment Method

Create a payment method for a customer.

post/customers/{id}/payment_sources

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

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.

Request body

OR
OR

Example request

{
  "type": "card | cash | spei | bnpl | pay_by_bank",
  "token_id": "tok_32hj4g234as"
}

Response

successful operation