GET
/
toucan
/
tokens
/
{tokenRefId}
/
account
Fetch account metadata
curl --request GET \
  --url https://services.prod.pagosapi.com/toucan/tokens/{tokenRefId}/account \
  --header 'Authorization: Bearer <token>'
{
  "cardNetworkName": "<string>",
  "tokenAccount": {
    "last4": "<string>",
    "expirationDate": {
      "month": "<string>",
      "year": "<string>"
    },
    "par": "<string>"
  },
  "backgroundColor": "<string>",
  "foregroundColor": "<string>",
  "labelColor": "<string>",
  "contactName": "<string>",
  "contactWebsite": "<string>",
  "contactEmail": "<string>",
  "contactNumber": "<string>",
  "termsAndConditionsUrl": "<string>",
  "privacyPolicyUrl": "<string>",
  "shortDescription": "<string>",
  "longDescription": "<string>",
  "assets": [
    {
      "assetId": "<string>",
      "assetData": "<string>"
    }
  ],
  "cardArt": [
    {
      "url": "<string>",
      "description": "<string>",
      "height": 123,
      "width": 123,
      "type": "logo"
    }
  ],
  "metadata": "<string>",
  "assetStatus": "available",
  "tokenUniqueReference": "<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

Account metadata fetched successfully

cardNetworkName
string
tokenAccount
object
backgroundColor
string | null
foregroundColor
string | null
labelColor
string | null
contactName
string | null
contactWebsite
string | null
contactEmail
string | null
contactNumber
string | null
termsAndConditionsUrl
string | null
privacyPolicyUrl
string | null
shortDescription
string | null
longDescription
string | null
assets
object[] | null
cardArt
object[] | null
metadata
string
assetStatus
enum<string>
Available options:
available,
pending,
unavailable
tokenUniqueReference
string | null
deprecated