x402 Service Guide
This page explains how merchants integrate with the live Axon x402 facilitator and how users complete payments through merchants that support x402.
Live environment
- Base URL:
https://x402.mavae.ai - Network:
eip155:8210 - Facilitator vault:
0xB61712F69A325b67c6E9E788D2175ed559FF8555 - Enabled asset:
WAXON402at0xeC041f9324A4E14B88940C25F98D4703260ACaf1
For merchants
Merchants now self-onboard with wallet signature proof, create runtime API keys, and publish one or more payment routes per resource. Discovery is public, while verification and settlement remain server-side calls from the merchant.
- Complete wallet-signature onboarding at
/v1/merchant/onboard/*. - Create a
payment_runtimeAPI key. - Create a resource and one or more routes.
- Return
402 payment_requiredfrom the protected endpoint with one accept route. - The buyer prepares a payment from that accept route.
- Call
POST /v2/x402/verifyfrom your backend. - If verification succeeds, call
POST /v2/x402/settle. - Return your business response after settlement succeeds.
Open the merchant self-serve guide.
For users
Users normally do not call the facilitator directly. They interact with the merchant twice: once to receive
a 402 response, then again to submit the signed payment payload.
- Request the paid merchant endpoint.
- Read the returned accept route.
- If the wallet only holds native AXON, wrap the required amount into
WAXON402. - Sign the EIP-3009
transferWithAuthorizationpayload. - Send the payment to the merchant.
- The merchant verifies, settles, and returns the paid result.
Waiting and retrying
- A full settle on Axon mainnet can take around one to two minutes.
- Once the signed payment has been submitted, wait for the original request to finish before taking further action.
- If a retry is needed, the correct retry is usually the same payment payload.
- A newly signed payment nonce is treated as a new payment attempt, not a recovery of the original one.