Supported checkout flow
- Create an invoice through payment initialization or a merchant payment link.
- Open the returned
/checkout/{reference}URL. A bare/checkoutor/payURL is not a valid invoice checkout. - The customer reviews the frozen recipient, USDC amount and network, then authorizes payment with their own wallet.
- The checkout submits transaction evidence to
POST /api/payments/verify-onchain. The server reads the configured chain and checks the proof before recording success. - Read payment verification. Top-level
status: truemeans the query succeeded; payment success isdata.status === 'SUCCESS'.
Evidence and retries
Reconcile the transaction receipt, exact token/recipient/amount, recipient credit and matching payment row before retrying an uncertain payment. Do not create a second transfer because a browser timed out. A previously settled row returnsalreadySettled without proving a newly supplied hash, and its verification POST can retry a pending or failed platform fee. Use GET/read-only inspection unless that fee retry is explicitly authorized. Cross-invoice replay tests must use a different unpaid invoice, not the already paid reference.
Checkout rendering and settlement evidence can be checked read-only. No payment or replay is performed by this reference, and a browser signer still needs explicit approval. See mainnet availability and the consolidated checkout reference.
