Payment API

Payment API#

The Payment API is the core infrastructure of the payment module, providing complete on-chain payment access for both buyers and sellers based on the x402 protocol.

Five core advantages:

  • Standard interfaces - GET /api/v6/wallet/x402/supported, POST /api/v6/wallet/x402/verify, POST /api/v6/wallet/x402/settle, aligned with x402 semantics for easy migration and integration.
  • Multi-network support - Use /supported to enumerate available networks in real time; will expand per release schedule, refer to API response for the latest.
  • Fast settlement - Low-latency on-chain or ledger settlement with standardized receipts.
  • Observability & reconciliation - Unified state machine and receipt fields for easy log collection, usage statistics, and financial reconciliation.
  • Security & risk control - Signature verification, amount/asset/network consistency checks, replay prevention, rate limiting, and tiered exception handling.

Three core capabilities: