Skip to main content
GET
/
api
/
pci
/
tokens
Get tokens
curl --request GET \
  --url https://{cluster_id}.on-hellgate.cloud/api/pci/tokens \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "8744c9ea-a02b-4ae6-875c-b64fc333e3ef",
      "card": {
        "cardholder_name": "John Doe",
        "expiry_month": 12,
        "expiry_year": 2025,
        "masked_account_number": "411111******1111",
        "scheme": "visa"
      },
      "created_at": "2023-10-01T12:00:00Z"
    }
  ],
  "links": {
    "next": "https://my-cluster-id.on-hellgate.cloud/pci/tokens?after=8744c9ea-a02b-4ae6-875c-b64fc333e3ef&limit=20"
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

limit
integer
default:20

The limit parameter defines the maximum number of rows returned in a single call and enables consecutive pagination using the next link provided in the response payload.

Required range: 1 <= x <= 100

Response

Success response

data
Token · object[]
required