batch-settlement: deposit, then reconcile usage

Compliant · POST /api/x402/batch-settlement-correct · Schemes (exact / upto / batch)

Advertises the batch-settlement scheme: the client authorizes a 5x deposit, and the server settles only the actual (much lower) usage.

Explanation

Demonstrates correct batch-settlement: the challenge advertises the batch-settlement scheme with an up-front deposit (a multiple of the base price) that the client authorizes, and the server later settles only the actual usage, which is far below the deposit. This is the compliant baseline for deposit-and-reconcile metering.

What to watch

settledAmount is far below authorizedDeposit, and reconciled is true.

Facilitator

Settled against the live Radius testnet facilitator (https://facilitator.testnet.radiustech.xyz). A valid payment runs a real /verify and /settle on-chain.

Metadata

Back to catalog