Skip to main content

Security & PCI

Security goals​

GoalMechanism
Detect changes to an approved cartThe agent compares its independently stored buyer-approved cart with the lock before signing. The gateway verifies the signed cart hash.
A captured request cannot be replayedSingle-use 300 s sessions; Visa TAP nonce cache; webhook timestamp window.
Apply spending limitsThe agent enforces the buyer’s policy before signing. The gateway checks supplied mandate constraints. Pilot step-up is available for some budget denials.
Card numbers never reach merchant or agentNetwork tokens and TokenEx tokens only; TokenEx iFrame for human entry.
Trace a transactionThe gateway record links its transaction ID and cart hash. Retain original authorizations and downstream processor evidence separately.
Limit sensitive data in diagnosticsUse correlation IDs and redacted event summaries. Gateway logs can contain a checkout token.

PI2PI defense (Protocol Parameter Cryptographic Binding)​

Prompt-Injection-to-Payment-Injection is the attack where hostile content convinces an agent to pay a different amount or buy different items.

  1. The merchant locks the cart. The Payment Agent computes Invoice_Hash = SHA-256(JCS(canonical cart)). See how it is computed.
  2. The agent verifies the locked cart against the merchant, currency, line items, quantities, total and shipping details the buyer approved independently. Only then does it sign the hash.
  3. At /v1/transact the Payment Agent recomputes the hash from the submitted cartParams and compares it in constant time with the signed value.
  4. Any difference, even one cent or one changed SKU, fails with INVOICE_HASH_MISMATCH and the session terminates.
  5. The direct TokenEx iFrame flow tokenizes the card before the merchant submits checkout completion. Verify tokenHMAC on the merchant server and submit the stored invoice hash. Ask your integration manager which vault metadata your integration records.

What PPCB does not do: while /v1/negotiate checks that amount equals the sum of items (plus taxCents and shippingCents), it cannot know whether individual item prices match your store's catalog. The merchant must price the cart server-side before locking it.

Cryptography​

UseAlgorithm
Mastercard Agent Pay mandatesES256 (ECDSA P-256 / SHA-256)
Visa TAP signaturesEd25519; RSA-PSS-SHA256
Cart canonicalizationRFC 8785 JCS
Cart hashSHA-256
WebhooksHMAC-SHA256 with timestamp (t=…,v1=…)
Comparisons of hashes and signaturesConstant-time

PCI-DSS scope​

Design intent is SAQ-A-eligible integrations for merchants:

  • Merchants and agents handle tokens (utt_…, masked DPANs), never PAN or CVV.
  • Where a person must type a card, the TokenEx iFrame captures it inside TokenEx's secure environment. Your page embeds the iFrame but cannot read its contents.
  • Restrict access to gateway and checkout logs. Token references and cryptographic material require redaction before export.

Your actual PCI scope depends on your whole environment (for example, how you embed the iFrame, whether you have other payment flows). Confirm with your QSA. The IXOPAY Payment Agent is not itself a PCI assessment.

Shared-responsibility summary​

ResponsibilityMerchantAgent developerIXOPAY
Price the cart server-side✓
Verify the hash before signing✓
Protect signing keys✓
Call /v1/* only from your servers, over HTTPS✓✓
Verify webhook signatures and store the signing secret safely✓
Issue and rotate the webhook signing secret (cut-over agreed with you)✓
Obtain human consent for transact-tier tools✓
Lock carts, verify the hash, signatures and spending rules✓
Host the card-entry iFrame and tokenize card data in the vault✓
Keep the audit proof for each settled transaction✓
Mask card data and secrets in IXOPAY logs✓
Configure production keys and credentials for your account✓

Reporting a vulnerability​

Report suspected vulnerabilities privately to your IXOPAY security contact. Don't open a public issue with exploit details.