Payment Methods
Create Payment Method
Creates a new payment method for a customer. The payment method is associated with the customer identified by id. The accepted fields depend on the payment method type.
post/customers/{id}/payment_sources
Path parameters
idstring required
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
Example request
{
"type": "cash",
"expires_at": 1553273553
}Response
successful operation