Axiv PayGet started
DEVELOPERS

Payment lifecycle

Follow a payment from authorization and funding through payout and reconciliation.

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

  1. Read capabilities, choose a supported chain and asset pair, and request a quote for the payer amount and destination recipient.
  2. Create one payment from the quote using a persistent idempotency key and order reference. Creation moves no funds.
  3. 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.
  4. Register that transaction hash. The API observes the deposit and waits for the destination payout. Request another wallet step only when nextAction asks for it.
  5. 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.
  6. The current external-channel payment completes at PAID. Its settlementModel is EXTERNAL, and settlement is null. Solver reimbursement inside the execution channel is not tracked by Axiv Pay.

Production states and actions

StateMeaningAction
AWAITING_DEPOSITNo verified funding and payout yet.Request a step only if nextAction is REQUEST_FUNDING_INSTRUCTIONS.
DEPOSIT_OBSERVEDSource observation; destination payment is not confirmed.Poll. Do not fulfill.
PAYOUT_PENDINGAwaiting payout confirmation or receipt checks.Poll with backoff. Do not fulfill.
PAIDAxiv Pay matched source funding and destination payout evidence.Verify the order, recipient, token, chain and minimum amount before fulfillment.
REVIEW_REQUIREDEvidence or order terms need review.Stop automatic fulfillment and new signing; retain the payment and reason.
REFUND_PENDINGA refund is being reconciled.Poll. Do not fulfill.
REFUNDED, FAILED, EXPIREDNo confirmed merchant payment.Do not fulfill or initiate another funding step. Preserve any transaction already sent for recovery.

Evidence for a completed order

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.