ProofRails logoProofRails Docs
Evidence layer for onchain payments

x402 API

Official documentation for ProofRails — the open evidence and translation layer for onchain payments.

x402 API

ProofRails includes x402-style payment-gated endpoint support.

Pricing and payments

GET  /v1/x402/pricing
POST /v1/x402/pricing
GET  /v1/x402/payments
GET  /v1/x402/revenue
GET  /v1/x402/facilitator-config
POST /v1/x402/verify-payment

Premium endpoints

POST /v1/x402/premium/verify-bundle
POST /v1/x402/premium/generate-statement
GET  /v1/x402/premium/iso-message/{receipt_id}/{msg_type}
POST /v1/x402/premium/fx-lookup
POST /v1/x402/premium/bulk-verify
POST /v1/x402/premium/refund

Local mock mode

X402_MOCK_PAYMENTS=true

Use mock mode for local development only.