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.
| Schema | Purpose | SHA-256 prefix |
|---|---|---|
payment-required.schema.json | x402 v2 PaymentRequired envelope: the 402 offer body listing accepted payment requirements. | 656220c8095c05f3 |
payment-payload.schema.json | x402 v2 PaymentPayload envelope carried on the paid retry. | 6d0f649b74016252 |
settlement-response.schema.json | x402 v2 SettlementResponse returned after verification and settlement. | b45c770ebba2c312 |
kaspa-requirements-extra.schema.json | Kaspa-specific extra object inside offered payment requirements. | 6014db2e78623ee7 |
kaspa-payment-payload.schema.json | Kaspa payload body: exact transfer, escrow deposit, and voucher shapes. | 62798141cfa9a206 |
kaspa-batch-extra.schema.json | Escrow parameters for batch-settlement offers (kaspa-escrow-v1). | 4f8a7570ce2a9166 |
payment-identifier.schema.json | Payment identifier binding a payment to transaction id and outpoint material. | 2a918aa3da7563f8 |
channel-state.schema.json | Escrow channel state document used by batch-settlement stores. | fec2637619739ecf |