token that can later be used to create a recurring charge of a customer using the /subscriptions/v1/card endpoint.Token expiration
Tokens will expire in 30 minutes and can be used only for a single transaction (even if the transaction was wrong). You will need to request a new token when it expires.
curl --location 'https://api-uat.kushkipagos.com/subscriptions/v1/card/tokens' \
--header 'Public-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data '{
"card": {
"name": "John Doe",
"number": "4242424242424242",
"expiryMonth": "03",
"expiryYear": "25",
"cvv": "071"
},
"currency": "USD"
}'{
"token": "AbCDef123456Z7Ghi8901234jkLMNopQ"
}