What is the x402 facilitator?
The x402 Facilitator API implements the standard x402 v2 facilitator interface for theatum-escrow scheme. A resource server calls /verify then /settle to validate and settle a payment credential. Any facilitator that serves this contract is interchangeable behind it.
There is no separate facilitator host: these operations are served by the Payment Gateway under the
/x402/v1 prefix. See Base URLs.How it works
- Payer constructs a payment — signed credential (
AtumEscrowPayload) plus the selectedPaymentRequirementsfrom the HTTP 402 response, including a purchase identifier when the acceptance side requires thepayment-identifierextension - Resource server calls /verify — the facilitator validates the credential, settlement-vault terms, and identity binding without moving funds
- Resource server calls /settle — the facilitator submits to the Atum network. Within the ~30s synchronous window it returns success; past that window it reports
settlement_pendingwith the payment id so the payer can re-attempt the same purchase
Endpoints
Base URLs
Paths above are relative to a base URL that includes the/x402/v1 prefix, so /verify is https://payment-gw.production-testnet.atum.xyz/x402/v1/verify. The gateway’s own REST base URL stays a bare host — the one thing that’s easy to get wrong now that both point at the same machine.
The prefix is versioned against the published facilitator contract rather than the gateway’s REST API, so a future gateway
/v2 won’t move it. See Endpoints for every hosted URL.