Skip to content

Interface: X402Request<TInner, TExtra> ​

Defined in: packages/x402-core/src/types/facilitator.ts:18

Generic request body for POST /v2/verify and /v2/settle — payload + requirements, parameterized by the same scheme seams: TExtra is both the requirements' and the payment's accepted's. Generic → type-only; the concrete canton-exact request below is schema-first.

Type Parameters ​

TInner ​

TInner = CantonPaymentInner

TExtra ​

TExtra = Record<string, unknown>

Properties ​

paymentPayload ​

ts
paymentPayload: X402PaymentPayload<TInner, TExtra>;

Defined in: packages/x402-core/src/types/facilitator.ts:20


paymentRequirements ​

ts
paymentRequirements: X402PaymentRequirements<TExtra>;

Defined in: packages/x402-core/src/types/facilitator.ts:21


x402Version ​

ts
x402Version: 2;

Defined in: packages/x402-core/src/types/facilitator.ts:19