Kaspa x402

1.0.1 released · Standard and SDK · Release details

Schemas

Canonical JSON Schemas for the wire format. Each schema's $id resolves to its path on this site, and the served files are byte-identical to the repository sources.

SchemaPurposeSHA-256 prefix
payment-required.schema.jsonx402 v2 PaymentRequired envelope: the 402 offer body listing accepted payment requirements.4fa470f4d6412404
payment-payload.schema.jsonx402 v2 PaymentPayload envelope carried on the paid retry.6d0f649b74016252
settlement-response.schema.jsonx402 v2 SettlementResponse returned after verification and settlement.576b880b4d840b9e
kaspa-requirements-extra.schema.jsonKaspa-specific extra object inside offered payment requirements.c46ddbb1f3697e6b
kaspa-payment-payload.schema.jsonKaspa payload body: exact transfer, escrow deposit, and voucher shapes.968ed693b8b6584b
kaspa-batch-extra.schema.jsonEscrow parameters for batch-settlement offers (kaspa-escrow-v3).ef0eb431502fc963
payment-identifier.schema.jsonPayment identifier binding a payment to transaction id and outpoint material.2a918aa3da7563f8
channel-state.schema.jsonEscrow lane state: stable covenant ID, current outpoint, and lifetime A/S/T/V accounting.7cd7c2899dde67b1