Configurable x402 facilitator client (POST /verify and POST /settle).
A facilitator is either an HTTP base URL or an in-process map of functions. Requests disable retries so observed error bodies are not swallowed.
Summary
Functions
Build an HTTP facilitator client from a base URL.
Resolve a URL, function map, or existing client into a facilitator client.
Settle a verified payment payload.
Verify a payment payload against requirements.
Types
Functions
Build an HTTP facilitator client from a base URL.
Resolve a URL, function map, or existing client into a facilitator client.
Settle a verified payment payload.
Verify a payment payload against requirements.