Frequently Asked Questions
General
What is the IXOPAY Payment Agent? A machine-to-machine payment gateway that lets AI shopping agents pay merchants safely. It locks the cart with a cryptographic hash, verifies the agent's signed mandate, enforces the buyer's spending rules, and uses a PCI-isolated vault so card numbers never touch merchant or agent. See the Overview.
Is it production-ready? The v0.2.0 preview is for sandbox integration and partner pilots. Before you process live card traffic, IXOPAY configures production keys and credentials for your account. Review the operational boundaries in the Release Notes and work through the Go-Live Checklist.
Which payment protocols are supported?
Mastercard Agent Pay (AP4M), Visa Trusted Agent Protocol (TAP), TokenEx direct REST tokenization (TOKENEX_REST), and the TokenEx iFrame for human-entered cards. The discovery manifest lists the iFrame as TOKENEX_IFRAME_HPP. When you finish an iFrame payment with /v1/checkout/complete, send protocol: "TOKENEX_DIRECT".
What currencies? Any ISO currency string is hashed and carried through. Ask your IXOPAY integration manager which currencies your acquirer supports. Amounts are integers in minor units.
How fast is it? Core routing is designed for under 10 ms. Calls to card-network sandboxes add roughly 150–300 ms. Use a 5 s client timeout.
For merchants
Do I have to rebuild my checkout? No. Publish a discovery manifest and a catalog feed, add one server call to lock the cart, and receive notifications. See Part A.
Where do I get a merchantId?
From your IXOPAY integration manager. It must be the same string in your manifest, your cart locks, and your webhook configuration.
Can an agent change my prices?
Not without detection. The hash covers merchant, currency, amount and every line item. Any difference fails with INVOICE_HASH_MISMATCH. Price the cart on your server; don't accept totals from the agent.
Does the Payment Agent check that amount equals the sum of the items?
Yes. /v1/negotiate verifies that every item has a non-empty id and name, integer price >= 0, integer qty >= 1, and that sum(price * qty) + taxCents + shippingCents == amount (returning 400 INVALID_CART_STRUCTURE on any mismatch).
How long is a cart held? 300 seconds. After that the agent must lock again.
Will I be in PCI scope? The design lets merchants stay at SAQ-A because only tokens reach you. Your QSA decides your actual scope. See Security & PCI.
How do I handle a dispute?
Keep transactionId with the order and retrieve the gateway record from /v1/audit/proof. Its HMAC fields are generated by the gateway. Preserve original signed authorizations, processor records and fulfillment evidence separately.
How does settlement work?
A successful payment ends at SETTLEMENT_HANDOVER. Clearing, capture and acquirer settlement then happen in the downstream IXOPAY and acquirer integration and follow your acquirer's normal schedule. Confirm timing and reconciliation with your IXOPAY integration manager.
Can I accept human shoppers too? Yes. The Payment Agent is additive: your normal checkout is untouched. The TokenEx iFrame path is for shoppers who enter a card themselves, whether they shop directly or through an agent that has no stored card for them.
For agent developers
What if I get INVOICE_HASH_MISMATCH?
The cart you submitted differs from the cart you signed or locked. Recompute the hash with examples/invoice-hash.js and compare. See troubleshooting.
Can I retry a failed transaction? Don't blind-retry. A failed or settled session can't be reused. Negotiate again and re-sign with a fresh nonce.
What do I do on BUDGET_CAP_EXCEEDED?
Stop the payment. In the pilot, use step-up only if the response includes a challenge. A signed AP4M denial can require a newly authorized mandate.
What if my user has no stored card?
Use the TokenEx iFrame and POST /v1/checkout/complete. See Guest checkout.
Which host and path do I sign for Visa TAP?
Use the authority of the provisioned HTTPS gateway and the path of the request, such as /v1/transact. See Building the signature.
How do I test without Visa or Mastercard credentials? Ask your IXOPAY integration manager for sandbox signing keys and test mandates.