Query & Update
Query Tokens
Search for tokens by creator reference. Returns metadata for up to 100 matching tokens, with pagination support.
GET
Query & Retrieve Guide
Search for tokens and retrieve their metadata
Parameter Constraints
This endpoint is rate limited. Standard authentication errors apply (code -1003, HTTP 401).
Parameters
Headers
Your API key prefixed with
APIKEY. Example: APIKEY your-api-key. See the Authentication guide.Query String
The reference value provided during tokenization to locate this token. Exact match only.
Chronological counter of tokens from which to start retrieving.
The number of tokens to return in the response.
The property ID of the hotel the tokens were associated with. You would have used this method to set up the association first.
Request Example
Query all tokens created with the referencebooking-12345, returning the first 10 results:
- curl
- Node.js
- Python
property parameter:
- curl
- Node.js
- Python
Response
200 - An array of token metadata objects. Each item contains the fields below. For the single-token equivalent (which also returnsCreatorReference and VirtualInfo), see Retrieve Token Metadata.
The date and time the token was created (ISO 8601).
The card brand (e.g.
Visa, Mastercard, Amex). See supported card types.The first 6 digits (BIN) of the card number.
The last 4 digits of the card number.
The card expiration year.
The card expiration month.
The cardholder ID, if provided at tokenization time.
The name on the card, if provided at tokenization time.
The PCI Booking user ID that owns this token.
The card issue number (used by some card schemes).
The full token URI for use in API calls.
Whether CVV data is currently stored on this token.
The date after which the CVV will be automatically deleted (ISO 8601). Reflects the CVV retention policy.
List of PCI Booking customer (booker) user IDs associated with this token.
List of property user IDs associated with this token.
3D Secure authentication data, if stored on this token. See 3D Secure Authentication for field details.
The card network scheme if this is a network token (e.g.
Visa, Mastercard). null for regular cards.The network token identifier assigned by the card scheme.
null for regular cards.The geographic storage location of the token data.
null for default (in-table) storage.
