API Reference
Gateway Status
post

/card/v1/tokens

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

Important to consider: 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

2 Headers

Request Body

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

Responses

TokenCreated

1 Example
Schema
object
token
string
1 validation + required

Send a Test Request

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