Settles, then the handler fails

Quirk · GET /api/x402/settle-then-fail · Paid-but-Denied / Unpaid-Service

The payment settles on-chain, then the handler returns 500.

Explanation

The payment settles on-chain and then the handler returns 500, so the buyer is charged but receives nothing. The merchant must not take payment unless it can deliver, or must refund on handler failure.

What to watch

The buyer is charged but receives nothing — check the txHash.

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