# Get tokens List all tokens in the PCI/DSS scope. Endpoint: GET /api/pci/tokens Version: EAP Security: APIKey, AdminToken ## Query parameters: - `limit` (integer) The limit parameter defines the maximum number of rows returned in a single call and enables consecutive pagination using the link provided in the response payload. ## Response 200 fields (application/json): - `data` (array, required) Example: [{"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"}] - `data.[0]` (object) Example: {"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"} - `data.[0].id` (string, required) Example: "8744c9ea-a02b-4ae6-875c-b64fc333e3ef" - `data.[0].card` (object, required) Example: {"cardholder_name":"John Doe","expiry_month":12,"expiry_year":2025,"masked_account_number":"411111******1111","scheme":"visa"} - `data.[0].card.cardholder_name` (string) Example: "John Doe" - `data.[0].card.expiry_month` (integer, required) Example: 12 - `data.[0].card.expiry_year` (integer, required) Example: 2025 - `data.[0].card.masked_account_number` (string, required) Example: "411111******1111" - `data.[0].card.scheme` (string, required) Enum: "visa", "mastercard", "american express", "discover", "diners club", "jcb", "unionpay" - `data.[0].created_at` (string, required) Example: "2023-10-01T12:00:00Z" - `data.[0].expires_at` (string) - `data.[0].metadata` (object) Metadata consisting of entries, each of which each includes a key and an associated value: * Maximum 20 key-value pairs. * Maximum 20 characters per key. * Maximum 80 characters per value. Example: {"my_key_one":"my_value_one","my_key_two":"my_value_two"} - `links` (object, required) Example: {"next":"https://my-cluster-id.on-hellgate.cloud/pci/tokens?after=8744c9ea-a02b-4ae6-875c-b64fc333e3ef&limit=20"} - `links.next` (string, required) Example: "https://my-cluster-id.on-hellgate.cloud/pci/tokens?after=8744c9ea-a02b-4ae6-875c-b64fc333e3ef&limit=20" ## Response 401 fields (application/json): - `code` (integer) The corresponding HTTP status code for the error - `classifier` (string) Technical code that helps to identify the error - `message` (string) Human readable representation of the error ## Response 403 fields (application/json): - `code` (integer) The corresponding HTTP status code for the error - `classifier` (string) Technical code that helps to identify the error - `message` (string) Human readable representation of the error