The production payment API creates real payment records and verifies source funding and destination payouts. Wallet signatures and submitted hashes are steps in that process; neither alone means a merchant has been paid.
Current production flow
- Read capabilities, choose a supported chain and asset pair, and request a quote for the payer amount and destination recipient.
- Create one payment from the quote using a persistent idempotency key and order reference. Creation moves no funds.
- Request the next funding step. The payer reviews and sends it in their own wallet. An approval grants token-spending permission; the bridge-deposit transaction moves the source amount.
- Register that transaction hash. The API observes the deposit and waits for the destination payout. Request another wallet step only when
nextActionasks for it. - Axiv Pay checks the source and payout receipts against the payment's token, recipient and amount. For Across it also matches the deposit and fill as one order.
- The current external-channel payment completes at
PAID. ItssettlementModelisEXTERNAL, andsettlementis null. Solver reimbursement inside the execution channel is not tracked by Axiv Pay.
Production states and actions
| State | Meaning | Action |
|---|---|---|
AWAITING_DEPOSIT | No verified funding and payout yet. | Request a step only if nextAction is REQUEST_FUNDING_INSTRUCTIONS. |
DEPOSIT_OBSERVED | Source observation; destination payment is not confirmed. | Poll. Do not fulfill. |
PAYOUT_PENDING | Awaiting payout confirmation or receipt checks. | Poll with backoff. Do not fulfill. |
PAID | Axiv Pay matched source funding and destination payout evidence. | Verify the order, recipient, token, chain and minimum amount before fulfillment. |
REVIEW_REQUIRED | Evidence or order terms need review. | Stop automatic fulfillment and new signing; retain the payment and reason. |
REFUND_PENDING | A refund is being reconciled. | Poll. Do not fulfill. |
REFUNDED, FAILED, EXPIRED | No confirmed merchant payment. | Do not fulfill or initiate another funding step. Preserve any transaction already sent for recovery. |
Evidence for a completed order
- Match the payment ID, quote ID, canonical
merchantReferenceand payer to your order. - Match destination chain, token and recipient. Require
payout.amountAtomic >= minReceiveAtomic. - Read
sourceFundingandpayout: transaction hash, chain, token, recipient, amount, log index, block hash andverification: "RECEIPT". - For Across, require
orderLinkwith the deposit ID and the matched deposit/fill events. The source funding recipient is the bridge contract, not the merchant wallet. - A channel's
CONFIRMEDsource status alone is not Axiv Pay's receipt verification. Receipt verification also does not assert finalized-chain status. Use the operator release report's independent chain checks when finality evidence is required.
Payout and settlement are separate
Production external channel:
PAID + settlementModel EXTERNAL + settlement null
MCP settlementStatus: NOT_TRACKED
Payment complete; solver reimbursement is outside Axiv Pay visibility.
Do not wait for SETTLED on this model. Do not convert settlement: null into a claim that reimbursement succeeded or failed. Guarantees and prefunded-vault authorization are not available in the current production flow.
Retries and interrupted wallets
Reuse the same create arguments and idempotency key after a lost response. If a wallet result is unknown, recover its transaction hash rather than sending the same transaction again. Register hashes only for transactions actually sent. An expired UI is not proof that a previously sent deposit disappeared; retain the original payment and contact support for unresolved funding.
Sandbox sequence
The public /mock/v1 sandbox can simulate AWAITING_DEPOSIT → DEPOSIT_OBSERVED → GUARANTEED → PAYOUT_PENDING → PAID → SETTLED. Every response and event is simulated; no payout, guarantee or solver reimbursement occurred. These extra sandbox stages do not establish production availability.
Run the sandbox quickstart for a simulation, or the resumable MCP example for a payment-client integration. Check pricing and the live quote for current platform, route and network fees.