API Reference
post

/subscriptions/v1/card/tokens

Request a subscription token that can later be used to create a subscription of a customer using the subscriptions 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
name
string
1 validation + required
number
string
1 validation + required
expiryMonth
string
1 validation + required
expiryYear
string
1 validation + required
cvv
string
1 validation + required
currency
string
Allowed Values: USD, COP
default: USD

Responses

TokenCreated

Schema
object
token
string
required
example: AbCDef123456Z7Ghi8901234jkLMNopQ

Send a Test Request

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