Available on crate feature
server only.Expand description
Core payment gate logic for enforcing x402 payments (V2-only).
The Paygate struct handles the full payment lifecycle:
extracting headers, verifying with the facilitator, settling on-chain,
and returning 402 responses when payment is required.
Structsยง
- Paygate
- V2-only payment gate for enforcing x402 payments.
- Paygate
Builder - Builder for constructing a
Paygatewith validated configuration. - Resource
Info Builder - Builder for resource information that can be used with both V1 and V2 protocols.