GET
/
cards
/
{id}
/
token
curl --request GET \
  --url https://api.sandbox.sudo.cards/cards/{id}/token \
  --header 'Authorization: <api-key>'
"{\n    \"statusCode\": 200,\n    \"message\": \"Card token generated successfully.\",\n    \"data\": {\n        \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDE4ZWI3MWEzN2U0MDUwNjQ2OTQ1MTgiLCJ0eXBlIjoiQ0FSRFRPS0VOIiwiaWF0IjoxNzA3NzE4ODk2LCJleHAiOjE3MDc3MTkwMTZ9.Cj-Q21HKgUCOFvC3l7JQc0OZdoW932TEeeAFK6GEOGQ\"\n    }\n}"

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The _id of the card to generate the token for.

Response

200
application/json
200
statusCode
integer
default:
0
message
string
data
object