Base URL
The Corbits production facilitator is available at:
API Endpoints
The facilitator exposes four HTTP endpoints for payment processing in the x402 protocol:POST /accepts
Enrich payment requirements with blockchain-specific parameters
POST /verify
Validate payment proofs without executing blockchain transactions
POST /settle
Validate payment proofs and execute blockchain transactions
GET /supported
Query supported payment schemes and networks
Request Format
All endpoints accept and return JSON payloads withContent-Type: application/json.
Standard Headers
Response Format
All endpoints return JSON responses with appropriate HTTP status codes:- 200 OK: Request processed successfully
- 400 Bad Request: Invalid request format or missing fields
- 500 Internal Server Error: Facilitator encountered an error
Response by Endpoint
/accepts and /supported return:
/verify returns:
/settle returns:
Error Responses
/verify error:
/settle error:
Protocol Version
All requests and responses include anx402Version field indicating the protocol version. Currently, only version 1 is supported.
Timeout Handling
All facilitator operations have a configurable timeout (default: 30 seconds) to prevent:- Slow blockchain RPC endpoints from blocking requests
- Handler bugs from hanging the facilitator
- Resource exhaustion attacks