Expand description
HTTP-specific constants for the x402 protocol.
Corresponds to Python SDK’s http/constants.py.
Constants§
- ACCESS_
CONTROL_ EXPOSE_ HEADERS - CORS header name for exposing custom headers.
- DEFAULT_
FACILITATOR_ URL - Default CDP facilitator service URL.
- HTTP_
STATUS_ PAYMENT_ REQUIRED - HTTP 402 Payment Required status code.
- PAYMENT_
REQUIRED_ HEADER - HTTP header for 402 payment requirements (server → client).
- PAYMENT_
RESPONSE_ HEADER - HTTP header for settlement results (server → client).
- PAYMENT_
SIGNATURE_ HEADER - HTTP header for V2 payment signatures (client → server).
- X_
PAYMENT_ HEADER - V1 legacy header for payment payload (client → server).
- X_
PAYMENT_ RESPONSE_ HEADER - V1 legacy header for settlement results.