API Reference
post

/card/v1/tokens

Request a card token that can later be used to charge a customer using the charge endpoint.

Note: If you are using this method from your backend, be sure to comply with all the PCI requirements to handle card data on your servers.

Request Parameters

1 Header

Request Body

1 Example
Schema
object
card
object
required
totalAmount
number
3 validations + required
currency
string
2 validations
months
integer

Only available in Chile for deferred transactions

1 validation

Responses

TokenCreated

1 Example
Schema
object
token
string
1 validation + required
settlement
number

Amount that has to be paid every month (only for deferred transactions in Chile)

1 validation

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.