v1

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

Update Payment Method

Gets a payment Method that corresponds to a customer ID.

put/customers/{id}/payment_sources/{payment_method_id}

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

payment_method_idstring required
Example:src_2tQ974hSHcsdeSZHG

Identifier of the payment method

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

namestring

The name of the payment method holder

expires_atinteger

The expiration date of the payment method in Unix timestamp format

Example request

{
  "name": "Payment recurrent",
  "expires_at": 1760457350
}

Response

successful operation