Security and PCI
What Pay.com stores, checks, and logs when it forwards card data to your providers, and what forwarding means for your PCI DSS compliance.
With Vault forwarding, your servers send tokens and placeholders instead of raw card data. Only Pay.com handles card data while substituting placeholders, transmitting the request to the provider, and sanitizing the response before returning it to you.
Your PCI scope
Forwarding keeps card data out of your systems, and Pay.com becomes one of your service providers:
- Your servers send and receive tokens only, so forwarding doesn't bring card data into your systems.
- Pay.com refuses any request that holds a card number outside a placeholder, and sends nothing. A card number can't reach a provider from your request by mistake.
- Pay.com transmits card data for you, as a third-party service provider. List Pay.com, for forwarding, among your service providers (PCI DSS requirement 12.8).
- The providers you forward to receive card data, so they handle it under their own PCI DSS compliance.
What Pay.com checks before it sends
Every check runs before Pay.com reads any card data:
- Your API key, on every request. A destination, a credential, and a card work only with keys of the account they belong to.
- The destination. Pay.com reviews every destination before any card can be forwarded to it. Every request must match an active destination's host, port, allowed path prefixes, and allowed HTTP methods.
- The card fields. Each card field the request names must be one the destination allows, and each credential must be stored for the destination.
- The cards. Each card must belong to your account.
- The address. Pay.com resolves the provider's host once, refuses private, internal, and other non-public addresses, and connects to the address it checked, so the host can't be pointed elsewhere during the request.
- The connection. HTTPS only, with TLS 1.2 or later and the certificate checked for the host name. Pay.com never follows a redirect. A
3xxcomes back to you as the provider's response.
What Pay.com stores
Pay.com keeps cards and credentials encrypted, and keeps no request or reply bodies:
| What | How it's kept |
|---|---|
| Cards | In the Pay.com vault, encrypted, as for every saved card. Forwarding reads a card only for the request that names it, and only the fields the destination allows. |
| CVVs | Usable for up to 15 minutes after they're collected. Forwarding deletes a CVV once a request that carries it is sent, unless Pay.com set the destination up to reuse it. |
| Credentials | Each value encrypted under a key only the forwarding service can use. Never returned, not even to you, and used only for the destinations they're stored for. |
| Cards in replies | Saved in the vault as tok_card_ tokens when you ask for it with response.tokenize. |
| Forward records | Kept for 30 days, without bodies, header values, or card data. |
Pay.com never stores the body of a request or a reply.
The reply
Before the provider's reply leaves Pay.com:
- The card numbers you name in
response.tokenizeare saved and replaced with tokens. - The fields you name in
response.redactare replaced with"[REDACTED]". - Any other card number in the body or the headers is masked to its first six and last four digits, so a provider that echoes a card number can't send it to you.
Set-Cookieand the provider's connection headers are removed.
What Pay.com logs
Pay.com logs one record for each request. The record holds the IDs (yours, the destination's, and those of the tokens and credentials used), the host, method, and path without the query string, the card field names, the provider's status, the sizes and timings, and the provider's IP address and TLS version.
Logs never hold a body, a header value, card data, or a credential value.
Network
Forwarded requests leave Pay.com from fixed IP addresses and support mutual TLS (with Pay.com generating the key pair and CSR so the private key never leaves Pay.com). See Network for full connection, IP, and client-certificate details.
Keep your API key safe
Anyone with your API key can forward your cards to your active destinations. Because destination review restricts where cards can go, keep each destination as narrow as the provider allows:
- Request only the paths, methods, and card fields the provider needs.
- Keep your API keys on your server, limit what each key can do, and rotate a key immediately if it's exposed.
- Ask Pay.com to disable any destination you no longer use.