Inspect the hold state
CURLbash
curl -H "Authorization: Bearer $SHREDDAR_API_KEY" \
http://127.0.0.1:8787/v1/payments/x402Quote → authorize → verify → process → receipt
- 01
METER
Derive an input-context token count before private processing begins.
- 02
QUOTE
Return a deterministic per-use amount using the publicly posted rate and rounding rule.
- 03
AUTHORIZE
The caller signs or submits the protocol-defined payment payload to the exact verified destination.
- 04
VERIFY
Reconcile the payment state once. Never blindly retry after a timeout that may have settled.
- 05
PROCESS
Run one bounded operation only after payment evidence is valid.
- 06
RECEIPT
Link the quote, payment evidence, metered use, and Privacy Receipt without recording source content.
Evidence required before enabled true
- Posted $SHRED or tokenless PAYG rate with currency, precision, and expiry.
- Verified chain, asset contract, recipient, facilitator, and network fees.
- Idempotent verification and settlement plus unknown-state recovery.
- Quote and payment receipt tests for minimum, maximum, replay, expiry, and partial failure.
- Project-specific legal and accounting treatment.