GET
/
toucan
/
tokens
/
{tokenRefId}
/
status
Get token status
curl --request GET \
  --url https://services.prod.pagosapi.com/toucan/tokens/{tokenRefId}/status \
  --header 'Authorization: Bearer <token>'
{
  "cardNetworkName": "<string>",
  "tokenRefId": "<string>",
  "expirationDate": {
    "year": "<string>",
    "month": "<string>"
  },
  "status": "<string>",
  "panLast4": "<string>",
  "metadata": "<string>",
  "par": "<string>"
}

Authorizations

Authorization
string
header
required

Format is: Bearer <api_key>, where <api_key> is your Pagos API key

Path Parameters

tokenRefId
string | null
required

Response

Token is returned

cardNetworkName
string
tokenRefId
string
expirationDate
object
status
string
panLast4
string
metadata
string
par
string