Skip to main content
POST
/
cards
/
{cardId}
/
token
Generate a provider token for secure card reveal
curl --request POST \
  --url https://api-dev.paygen.online/cards/{cardId}/token \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>",
  "data": {
    "token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

Response

200 - application/json

Card token generated successfully.

statusCode
integer
required
message
string
required
data
object