v1

latestOpenAPI 3.0.3MIT-LICENSE2026-07-2469127278.1 KB
Payment Methods

Update Payment Method

Updates a specific payment method of a customer. Use this endpoint to modify the payment method identified by payment_method_id for the customer identified by id. The fields that can be updated depend on the payment method type.

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

Path parameters

idstring required

Identifier of the resource

payment_method_idstring required

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

Example request

{
  "name": "name of person"
}

Response

successful operation