cURL
curl --request POST \ --url https://api-dev.paygen.online/cards/{cardId}/token \ --header 'Authorization: Bearer <token>'
{ "statusCode": 123, "message": "<string>", "data": { "token": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Card token generated successfully.
Hide child attributes