Kaspa x402

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.

Status: draft alpha targeting kaspa:testnet-10. Mainnet use remains blocked by the documented readiness gates.

SchemaPurposeSHA-256 prefix
payment-required.schema.jsonx402 v2 PaymentRequired envelope: the 402 offer body listing accepted payment requirements.defb0cd4e4094ddf
payment-payload.schema.jsonx402 v2 PaymentPayload envelope carried on the paid retry.5ba1280839ae5946
settlement-response.schema.jsonx402 v2 SettlementResponse returned after verification and settlement.11c9bedf94e9c4a4
kaspa-requirements-extra.schema.jsonKaspa-specific extra object inside offered payment requirements.f0e26ac6bc50a341
kaspa-payment-payload.schema.jsonKaspa payload body: exact transfer, escrow deposit, and voucher shapes.97aa2e5285599120
kaspa-batch-extra.schema.jsonEscrow parameters for batch-settlement offers (kaspa-escrow-v1).d414a0a52b000503
payment-identifier.schema.jsonPayment identifier binding a payment to transaction id and outpoint material.2a918aa3da7563f8
channel-state.schema.jsonEscrow channel state document used by batch-settlement stores.a14f3175ec652dc3