> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pcibooking.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Frequently Asked Questions

> Short answers to the questions developers ask most often, with links to the pages that explain each topic in full.

These are the questions our support team hears most often. Each answer gives you the short version and points you to the page that covers the topic in full. If you can't find what you need, our support team is happy to help.

## Accounts and environments

> [accordion] Are sandbox and production the same account?
>
> No, they're two separate accounts. API keys, users, tokens, profiles and settings don't carry over from one to the other, so you set up each account on its own. Our guides on [Testing and Going Live](https://developers.pcibooking.net/getting-started/testing-and-going-live.md) and [Moving to Production](https://developers.pcibooking.net/getting-started/moving-to-production.md) walk you through it.

> [accordion] Does my sandbox account talk to my PSP's test environment?
>
> Yes, as long as the PSP has a test environment. If it doesn't, sandbox calls go to the PSP's live environment. For some PSPs, such as Stripe, the credentials you use decide which environment you reach. You'll find the full picture in our guide on [Testing and Going Live](https://developers.pcibooking.net/getting-started/testing-and-going-live.md).

> [accordion] Why does my sandbox account suddenly refuse calls with 403?
>
> Sandbox accounts have a monthly limit for each type of operation. Once a limit is reached, calls of that type return 403 with code -1003 until our support team raises it, so just get in touch. There's more on the sandbox limits in our guide on [Testing and Going Live](https://developers.pcibooking.net/getting-started/testing-and-going-live.md).

> [accordion] Where can I see my usage, and what is billable?
>
> There's no usage view in the portal, but your invoice lists the usage details. Any action that accesses the card details is billable. Actions on the token alone, such as sharing it, are not.

> [accordion] Why was my portal user suspended?
>
> For security, we suspend a portal user who hasn't logged in for 90 days. A user with the Account management permission, or our support team, can resume it, and the user then needs to log in within 48 hours. While a user is suspended, calls authenticated with that user's username and password return `-1005`. Our user management guide explains more in its [Inactive Users](https://developers.pcibooking.net/account-setup/manage-users.md#inactive-users) section.

> [accordion] Why can I not log in to the portal?
>
> If your account has IP restrictions, the portal only accepts logins from the addresses on your list. This often catches people working through a VPN or an office proxy. An admin user on your account can add your public IP address, and our [Security Settings](https://developers.pcibooking.net/account-setup/security-settings.md) guide shows how.

> [accordion] Which permission does my user or API key need for this call?
>
> Each endpoint accepts a specific set of permissions. The error message lists the permissions your user has, so you can compare it with the ones the endpoint needs. For the full list, have a look at the [Permissions](https://developers.pcibooking.net/account-setup/manage-users.md#permissions) section of our user management guide.

> [accordion] Do I need a separate account for each hotel or end client?
>
> No, one account is enough. You store one set of PSP credentials for each hotel and choose the right set on each charge. We're not a merchant of record, so each hotel needs its own account with its PSP. Our [Multi-Hotel Gateway Routing](https://developers.pcibooking.net/use-cases/multi-hotel-gateway-routing.md) use case shows how to set it up.

## Security and compliance

> [accordion] Can you send us your Attestation of Compliance and Shared Responsibility Matrix?
>
> Of course. Just contact our support team and we'll email you the current documents. Our AoC is renewed each December and covers all PCI Booking services. To see what each document covers, check out our guide on [PCI Scope and Compliance](https://developers.pcibooking.net/concepts/pci-scope-and-compliance.md).

> [accordion] Our partner wants more than your AoC. What can we send?
>
> In most cases, our AoC plus a short statement that you outsource all raw card handling to us is enough. We've written suggested wording you can use, which you'll find in our compliance guide under [If a Third Party Asks About Your Compliance](https://developers.pcibooking.net/concepts/pci-scope-and-compliance.md#if-a-third-party-asks-about-your-compliance).

> [accordion] Which PCI SAQ applies to us when we use PCI Booking?
>
> Most of our customers fall into one of two groups. Service providers, who handle cards on behalf of their customers, use SAQ D for Service Providers. Merchants, who take payments for their own goods or services, can typically use SAQ A. Both assume card data never reaches your systems. Our compliance guide explains this in more detail under [Which SAQ applies to you](https://developers.pcibooking.net/concepts/pci-scope-and-compliance.md#which-saq-applies-to-you).

> [accordion] Which IP addresses does PCI Booking send requests from?
>
> All our outbound traffic comes from a fixed set of addresses, which you'll find in our [Outbound IP Addresses](https://developers.pcibooking.net/reference/outbound-ips.md) reference. You can give this list to any third party that needs to allowlist us.

> [accordion] How do we renew the certificate on our own gateway domain?
>
> Please email our support team the new certificate as a `.pfx` or `.p12` file with its private key, along with the name of the endpoint, at least two weeks before the current one expires. We'll install it for you. Note that this is different from the Client Certificate setting in the portal, which presents your certificate to a PSP or third party that requires one. Our guides on [Tokenization on Request](https://developers.pcibooking.net/capture-cards/tokenization-on-request.md) and [Client Certificates](https://developers.pcibooking.net/account-setup/client-certificates.md) explain both.

> [accordion] Why does my access token or session token return 401 when the API key works?
>
> Each type of credential works only on certain endpoints, and the API reference for each endpoint tells you which one it takes. Also, an access token can be used only once, so a retry with the same access token returns 401. Just generate a new one for each call. Our [Authentication](https://developers.pcibooking.net/getting-started/authentication.md) guide compares the options side by side.

## Capturing cards

> [accordion] Why did the card form stop returning results to my page?
>
> The most common cause is a missing `postMessageHost` parameter. Every card form request needs it, set to the origin of the page that hosts the iframe, and a request without it fails. Our guide on [postMessage Notifications](https://developers.pcibooking.net/capture-cards/postmessage-notifications.md) shows how to set it.

> [accordion] How do I reliably get the token after the cardholder submits the form?
>
> The success URL is a redirect in the cardholder's browser, so if they close the browser before it loads, your page never gets the result. To receive the result on your server regardless of the browser, create a card entry session with a callback. For step-by-step instructions, see our [Hosted Card Entry Form](https://developers.pcibooking.net/capture-cards/hosted-card-entry-form.md) guide. If you prefer the redirect, our guide on [Success and Failure URLs](https://developers.pcibooking.net/account-setup/success-and-failure-urls.md) covers it.

> [accordion] How long does a card entry session last?
>
> A session stays open until its time limit (TTL) runs out or a card is stored, whichever comes first. You set the TTL when you create the session, from 30 to 600 seconds. If you don't set it, it's 120 seconds. You can check a session's status at any time with our API call [Retrieve Card Entry Session](https://developers.pcibooking.net/api-reference/tokenize-cards/retrieve-card-entry-session.md).

> [accordion] How do I capture cards from a channel manager or OTA?
>
> You send your call to the channel manager or OTA through us, with a tokenization profile that tells us where the card sits in their response. We mask the card before the response reaches you and return the token in a response header. We keep ready-made profiles for many common partners, and our API call [Get Tokenization Profiles](https://developers.pcibooking.net/api-reference/tokenize-cards/get-tokenization-profiles.md) lists them. If yours isn't there, you can create a custom profile. To learn how it works, read [Tokenization on Response](https://developers.pcibooking.net/capture-cards/tokenization-on-response.md) and [Universal Tokenization](https://developers.pcibooking.net/capture-cards/universal-tokenization.md). We also have step-by-step guides for [Booking.com](https://developers.pcibooking.net/guides/partners/booking-com.md) and [Channex](https://developers.pcibooking.net/guides/partners/channex.md).

> [accordion] How do I set up a gateway endpoint that tokenizes cards pushed to us?
>
> Our support team sets this up for you. To get started, send them your target URL, how we can recognise the messages that carry cards (a URL path or a request header), and a sample message. Paths are matched exactly and are case-sensitive, so please list every path variant your callers use. A message that matches no filter is forwarded unchanged, which means the card reaches you in clear text with no token. Our guide on [Setting Up a Gateway Endpoint](https://developers.pcibooking.net/capture-cards/tokenization-on-request.md#setting-up-a-gateway-endpoint) walks through the details.

> [accordion] Where do I find the token after tokenization?
>
> You'll find the token in a header rather than in the message body. With a gateway endpoint, it's in the `X-Token` header of the request we forward to you. With tokenization on response, it's in the `X-pciBooking-cardUri` response header. If a message has more than one card, the header lists all the token URIs, separated by semicolons. For examples, have a look at our [Gateway Request Headers](https://developers.pcibooking.net/reference/gateway-request-headers.md) reference and our guide on [Tokenization on Response](https://developers.pcibooking.net/capture-cards/tokenization-on-response.md).

> [accordion] What does "No cards found in response content" mean?
>
> It means we didn't find a card where your profile tells us to look, so we passed the response back to you unchanged. Usually the third party returned an error or a response without a card, so their response is the best place to start. Our reference on [Tokenization Errors and Warnings](https://developers.pcibooking.net/reference/api-conventions.md#tokenization-errors-and-warnings) lists the related messages.

## CVV

> [accordion] I stored the CVV, so why is it missing when I relay, charge or display the card?
>
> We send or show the CVV only for the destinations allowed by the token's CVV retention policy, and only while that destination has uses left. Keep in mind that showing the CVV in card display counts as a use too. Our [CVV Retention Policy](https://developers.pcibooking.net/capture-cards/cvv-retention-policy.md) guide explains how the policy works, and you'll find the display side in our guide on [Card Display with OTP](https://developers.pcibooking.net/use-tokens/card-display-otp.md).

> [accordion] How long can the CVV be kept, and can it be used more than once?
>
> That's up to you, within the limits PCI DSS allows. In the CVV retention policy, you choose how long the CVV is kept, up to 4 years, and how many times each destination may use it, up to 50 uses. Check out the [CVV Retention Policy](https://developers.pcibooking.net/capture-cards/cvv-retention-policy.md) guide to see the options.

> [accordion] Can I change the CVV policy of tokens that already exist?
>
> Unfortunately not. Once a policy applies to a token, nobody can change it, including us. The policy defines when the card counts as used, and PCI DSS doesn't allow that definition to be rewritten after the fact. For new tokens, you can set an account-wide default in the portal, and it applies to every token created after that. Our CVV guide shows you how, under [Setting the Account-Wide Default](https://developers.pcibooking.net/capture-cards/cvv-retention-policy.md#setting-the-account-wide-default).

## Showing cards to people

> [accordion] How can agents or hotels see a full card without logging in to PCI Booking?
>
> You have two options. You can embed the card display iframe in your own portal, or you can use Card Display with OTP to send the viewer a link to our secure custom portal. Our guides on [Card Display](https://developers.pcibooking.net/use-tokens/card-display.md) and [Card Display with OTP](https://developers.pcibooking.net/use-tokens/card-display-otp.md) explain each one.

> [accordion] What if the Card Display OTP code does not arrive?
>
> The viewer can ask for a voice call instead of an SMS, or use **Resend Code**. If the phone can't receive the code at all, you can create a new view request with a different phone number. You'll find the full flow in our guide on [Card Display with OTP](https://developers.pcibooking.net/use-tokens/card-display-otp.md).

## 3D Secure

> [accordion] What happens when 3D Secure cannot complete in the card form?
>
> By default, we store the card without 3D Secure data and don't show an error. If you'd rather reject these cards, set `UnavailThreeDSAuth`. Our API reference for [Request Card Entry Form](https://developers.pcibooking.net/api-reference/tokenize-cards/request-card-entry-form.md) describes the parameter and its options.

> [accordion] What amount does 3D Secure use?
>
> It uses the `amount` and `currencyCode` you send in the card form request. If you leave them out, authentication uses 0 EUR. You'll find both parameters in our API reference for [Request Card Entry Form](https://developers.pcibooking.net/api-reference/tokenize-cards/request-card-entry-form.md).

> [accordion] Can stored 3D Secure data be used for more than one charge?
>
> On our side, yes. We keep the data on the token until you delete it and don't limit how often it's used. Whether your PSP accepts a reused result is up to the PSP, so it's worth checking with them. Check out our guide on [3DS Auth Management](https://developers.pcibooking.net/manage-tokens/3ds-auth-management.md) for more.

> [accordion] Does 3D Secure work for American Express?
>
> Yes, once you give us your own merchant details for American Express. Our default merchant covers only Visa and Mastercard, so for American Express and Discover, 3D Secure runs on your own details. Our [3DS Merchant Setup](https://developers.pcibooking.net/account-setup/3ds-merchant-setup.md) guide lists what to send us.

> [accordion] How does 3D Secure data reach my PSP when I charge a token?
>
> It's handled for you. If the token has 3D Secure data and the PSP integration supports it, the Universal Payment Gateway adds the data to the charge, so you don't need to send anything extra. To see how it works, read the [3D Secure and the UPG](https://developers.pcibooking.net/use-tokens/universal-payment-gateway.md#3d-secure-and-the-upg) section of our UPG guide.

> [accordion] Why does my PSP reject the 3D Secure data, or ask for it?
>
> There are two usual reasons: either the token has no 3D Secure data, or the PSP runs 3D Secure itself and doesn't accept an external result. Our API call [Get Payment Gateways](https://developers.pcibooking.net/api-reference/process-cards/get-payment-gateways.md) tells you who performs 3D Secure for each PSP, in `ThreeDsSupportedBy`. For a Universal Payment Gateway charge, you need `OurService` or `OurServiceOrPaymentProcessor`. `PaymentProcessor` works only in the Payments Library. Our UPG guide has more on this in its [3D Secure and the UPG](https://developers.pcibooking.net/use-tokens/universal-payment-gateway.md#3d-secure-and-the-upg) section.

> [accordion] Can cards from an OTA or channel manager have 3D Secure?
>
> Yes, if the channel sends 3D Secure data, and there are two ways to store it on the token. If the data comes in the same response as the card, your tokenization profile can pick it up along with the card, so both are stored in one step. You can update the profile in the portal, or our support team can do it for you. If the data arrives separately, you can add it to the existing token with our API call [Store 3DS Token](https://developers.pcibooking.net/api-reference/manage-tokens/store-3d-token.md). Our guide on [How 3DS Data Gets Stored](https://developers.pcibooking.net/manage-tokens/3ds-auth-management.md#how-3ds-data-gets-stored) covers both.

## Charging through the Universal Payment Gateway

> [accordion] Do you support my PSP, and can you add it?
>
> We already work with a long list of PSPs, so a good first step is the [Supported PSPs](https://developers.pcibooking.net/use-tokens/universal-payment-gateway.md#supported-psps) section of our UPG guide. If yours isn't there, we'd be happy to look at adding it, and the same section tells you what to send us to get started.

> [accordion] How do I connect my PSP, and where do the credentials come from?
>
> The credentials come from your own account with the PSP. You can send them with each request or store them with us once. Some PSPs also need to enable your account to accept card data sent by a third party, so it's worth checking with them early. For step-by-step help, see our guides on [Gateway Credentials](https://developers.pcibooking.net/account-setup/gateway-credentials.md) and [Gateway Guidance](https://developers.pcibooking.net/use-tokens/gateway-guidance.md).

> [accordion] Which operations does my gateway support?
>
> Our API call [Get Payment Gateways](https://developers.pcibooking.net/api-reference/process-cards/get-payment-gateways.md) lists each gateway with its main features, and our [Gateway Guidance](https://developers.pcibooking.net/use-tokens/gateway-guidance.md) notes any known limits for each PSP.

> [accordion] Why was my charge declined, and how do I find out more?
>
> Declines come from your PSP or the card issuer. The response gives you the outcome in `OperationResultCode`, and the reason in `RejectReasonCode`, `GatewayResultCode` and `GatewayResultDescription`. If you need more, contact our support team with the token and the time of the transaction. For transactions in the last 7 days, we can share the request and response exchanged with your PSP. For more help, check out our [Troubleshooting](https://developers.pcibooking.net/reference/troubleshooting.md#transaction-rejected) guide and our tips on [When to Contact Support](https://developers.pcibooking.net/reference/error-handling.md#when-to-contact-support).

> [accordion] Why does my PSP reject my `myRef` or payer details?
>
> Each PSP has its own rules for `myRef` and its own required `PayerDetails` fields. You'll find them in the entry for your PSP in our [Gateway Guidance](https://developers.pcibooking.net/api-reference/process-cards/gateway-guidance.md).

> [accordion] Why does my PSP reject requests that work on my own checkout?
>
> Two things are usually behind this. First, your PSP merchant account needs to accept card payments sent server to server by a third party, which your own checkout doesn't need, so it's worth asking your PSP to enable it. Second, some PSPs need our IP addresses on an allowlist. Our [Gateway Guidance](https://developers.pcibooking.net/use-tokens/gateway-guidance.md) has notes for each PSP, and you'll find the addresses to give them in our [Outbound IP Addresses](https://developers.pcibooking.net/reference/outbound-ips.md) reference.

> [accordion] My PSP announced an API change. Do I need to do anything?
>
> Usually not. We maintain the integration and update it when the PSP changes its API. Just send us the announcement of the changes, and we'll take it from there. To see what else we look after for you, check out our guide comparing [UPG vs Token Replacement](https://developers.pcibooking.net/use-tokens/upg-vs-token-replacement.md).

## Sending cards to third parties

> [accordion] Which flow fits my case?
>
> It depends on the direction. To receive cards, use a gateway endpoint when the third party calls you, and tokenization on response when you call them. To send cards, use the Universal Payment Gateway for PSPs, and token replacement for anyone else. If the partner has its own PCI Booking account, you can simply share the token. Our guide on [Working with Third Parties](https://developers.pcibooking.net/concepts/working-with-third-parties.md) helps you choose.

> [accordion] Are my headers forwarded, and does the relay change my message?
>
> Yes, we forward your headers, so you can add the third party's own authentication header yourself. We insert the card values and set a few technical headers, such as `Host`. With a target profile, the body formatting can also change, so a signature you create over the body beforehand may not match. If that's a concern, the profile can sign the message for you, and it can also present a client certificate. Our token replacement guide lists every change we make, under [What PCI Booking Changes in Your Request](https://developers.pcibooking.net/use-tokens/token-replacement-in-request.md#what-pci-booking-changes-in-your-request).

> [accordion] Why do I get "Couldn't fetch a valid screening profile" (-125)?
>
> This means we couldn't find the profile name on the account that made the call. Profiles belong to one account, and sandbox and production are separate accounts, so please create or import the profile on the account you're calling from and check the spelling. There's more on this error in our [Error Handling](https://developers.pcibooking.net/reference/error-handling.md#token-replacement-and-relay) guide.

> [accordion] Why are my profile changes not saved?
>
> Editing a filter is a two-step process, and it's easy to miss the second step. In the filter editor, **Apply XML** only checks your XML; it doesn't save it. To keep your changes, also click the **Save** icon on the profile row. Our [Target Profiles](https://developers.pcibooking.net/account-setup/target-profiles.md) guide walks through the editor step by step.

> [accordion] Why can't PCI Booking reach a third party on a non-standard port?
>
> PCI DSS asks us to allow only the network ports we have a documented business reason for, so we send requests to standard secure ports by default and keep other ports closed. If your third party uses a different port, we're happy to open it for you. Just contact our support team with the port and the business reason, and we'll take it through our approval process. You'll find the details in the [Ports](https://developers.pcibooking.net/reference/outbound-ips.md#ports) section of our outbound IP reference.

> [accordion] Why is my relay destination rejected?
>
> Most likely, the destination isn't on the relay list of the user making the call. Each user can have a list of destinations the relay is allowed to call, so just add the destination's base URL to that user's list. Our security settings guide shows you where, under [Relay Restrictions](https://developers.pcibooking.net/account-setup/security-settings.md#relay-restrictions).

## Errors and support

> [accordion] Did this error come from PCI Booking or from the third party?
>
> There are a few quick ways to tell. Our own errors carry a PCI Booking `code`, and a failed authentication returns 401 with an empty body. On a relay, the third party's response comes back to you exactly as they sent it. On the Universal Payment Gateway, the PSP's reason is in the gateway result fields. Our [Error Handling](https://developers.pcibooking.net/reference/error-handling.md) guide explains how to tell them apart.

> [accordion] Is there an outage, and how do I hear about maintenance?
>
> [System Status](https://developers.pcibooking.net/support/system-status.md) is the best place to check first. We announce scheduled maintenance there too, and you can subscribe for email notice and live updates. If calls that used to work start failing on many requests at once, please contact our support team with an example request.

> [accordion] Why do I get errors in XML?
>
> The error format follows the `Accept` header on your request, and unless it asks for JSON, errors come back as XML. Many HTTP clients, including curl, don't ask for JSON by default. To get errors as JSON, send `Accept: application/json`. Check out the [Response Format](https://developers.pcibooking.net/reference/error-handling.md#response-format) section of our error handling guide for more.

> [accordion] Why do I get 401 -1003 "Merchant or Owner are not associated with bank card"?
>
> This usually means the token was deleted, never existed, or belongs to another account. A token belongs to the account that created it, and another account can use it only after you associate the token with that account or transfer it. If you're not sure, our support team can tell you whether a token was deleted. To understand the options, read our error handling guide on [Token Not Found or Not Accessible](https://developers.pcibooking.net/reference/error-handling.md#token-not-found-or-not-accessible) and our [Share a Token Between Merchants](https://developers.pcibooking.net/use-cases/share-token-between-merchants.md) use case.

> [accordion] What is the time limit on relay and payment calls?
>
> The whole round trip needs to finish within 29 seconds, or you receive a timeout. A timeout doesn't mean the transaction failed, so please check with the target before you retry, to avoid a duplicate. There's more on this in the [Timeouts](https://developers.pcibooking.net/use-tokens/token-replacement-in-request.md#timeouts) section of our token replacement guide.

> [accordion] What does support need to investigate a failed request?
>
> To help us investigate quickly, please send the `code`, `message` and `moreInfo` exactly as you received them, the endpoint and HTTP method, the token or your own reference, and whether the call was in sandbox or production. You'll find the full checklist in our guide on [When to Contact Support](https://developers.pcibooking.net/reference/error-handling.md#when-to-contact-support).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.