API list

Introduction#

The x402 API is a Facilitator service provided by OKX Wallet based on the standard x402 protocol and includes the following capabilities:

  • Standard interface: GET /api/v6/wallet/x402/supported; POST /api/v6/wallet/x402/verify; POST /api/v6/wallet/x402/settle. Semantically aligned with x402, it’s easy to migrate and conduct joint debugging.
  • Multi-network support: Use /supported to get real-time lists of available networks. This capability will be expanded following future releases. Refer to the actual interface returns.
  • Fast settlement: Low-latency completion of onchain or ledger entry, with standardized receipt returns.
  • Monitoring and reconciliation: The fine-state machine and receipt fields are unified to facilitate log collection, usage statistics, and financial reconciliation.
  • Security and risk control: Signature verification; amount, asset, network consistency verification; anti-replay, traffic control, and exception hierarchical handling.