Skip to content

Variable: FACILITATOR_PRESET

const FACILITATOR_PRESET: object;

Defined in: rine-core/dist/src/x402/facilitator.d.ts:46

Facilitator presets — convenience shortcuts; any facilitator implementing the standard x402 /verify + /settle API works via an explicit url. cdp is Coinbase's hosted facilitator, the default (requires the caller to supply CDP API auth via headers). payai is a keyless hosted multi-chain facilitator. x402-rs is the default base of a self-hosted x402-rs instance — a first-class option, not a fallback. All expose the standard /verify + /settle interface; pass a { ...preset, headers } spread to attach auth. Preset keys and base URLs are kept identical to the Python SDK's FACILITATOR_PRESETS.

Type Declaration

Name Type Defined in
cdp object rine-core/dist/src/x402/facilitator.d.ts:47
cdp.url "https://api.cdp.coinbase.com/platform/v2/x402" rine-core/dist/src/x402/facilitator.d.ts:48
payai object rine-core/dist/src/x402/facilitator.d.ts:50
payai.url "https://facilitator.payai.network" rine-core/dist/src/x402/facilitator.d.ts:51
x402-rs object rine-core/dist/src/x402/facilitator.d.ts:53
x402-rs.url "http://localhost:8080" rine-core/dist/src/x402/facilitator.d.ts:54