Protocol spec
The wire format: schemes, networks, requirements, payloads and their hashing. The SDK implements these specifications, published by the x402 Foundation:
- x402 v2 specification: payment requirements, the payment payload, and the facilitator's verify, settle and supported answers.
- HTTP transport: the
PAYMENT-REQUIRED,PAYMENT-SIGNATUREandPAYMENT-RESPONSEheaders. - Canton
exactscheme: what a Canton payment carries and the rules a facilitator verifies it against.