See Capture Cards Overview and Use Tokens Overview for the full list.
Step 1: Authenticate
Log in to your PCI Booking account and navigate to the API Keys section. Copy your API key. You will use it for server-to-server calls in the format:Step 2: Tokenize a Card
Build a URL to the PCI Booking hosted card entry form. This URL is thesrc of an iframe you embed in your page. When the browser loads this URL, PCI Booking serves a secure card entry form directly to the cardholder. Card data never touches your servers.
The URL includes the session token from Step 1 and your configuration as query parameters:
success URL with the token appended. You can also use a callback URL instead of redirect URLs.
There are other ways to tokenize cards: Card Entry Form Sessions, Card By Link, Payments Library, direct API storage, and more. See Capture Cards Overview.
Step 3: Retrieve Your Token
Confirm the card was stored by checking the token metadata. This includes the card brand, last four digits, expiration date, and the issuing bank and country. useful for routing decisions between PSPs.Step 4: Use Your Token (Process a Payment)
Send the token through the Universal Payment Gateway (UPG). PCI Booking detokenizes the card and forwards it to your PSP. For testing, PCI Booking provides two built-in mock payment gateways:
Mock gateways require no credentials and return instant responses. Use them to test your integration before connecting a real PSP.
NULLSuccess, the response will always be a successful charge.
When you are ready for production, replace NULLSuccess with your real PSP name and credentials:
You can also store your PSP credentials in PCI Booking and pass a
credentialsId query parameter instead of including credentials in every request. See Gateway Credentials.Processing payments through the UPG is one way to use a token. You can also relay card data via HTTP, relay via file, or display the card. See Use Tokens Overview.
What’s Next
- Authentication: All authentication methods in detail.
- Capture Cards Overview: All card capture and tokenization methods.
- Token Management: Query, update, and manage stored tokens.
- Use Tokens Overview: All ways to use your tokens.
- Payments Library: Cards, Apple Pay, Google Pay, PayPal via the Payments Library.

