API Reference
Gateway Status
post

/subscriptions/v1/card-async/tokens

Request an async card subscription token that can later be used to create a subscription by calling the init endpoint.

Important to consider: If you include the card number in the body of the request and 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
currency
string
1 validation + required
email
string
required
callbackUrl
string

URL where the customer will return to once finalize the payment. You will get the subscriptionId here as a query parameter

required
cardNumber
string

Responses

1 Example
Schema
object
token
string
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.