Body-primary POST challenge

Compliant · POST /api/x402/compliant-body-post · Happy Path

The body-primary happy path for a POST endpoint. Challenge is delivered in the JSON response body only, no PAYMENT-REQUIRED header.

Explanation

The body-primary happy path for POST. Mirrors compliant-body-get for a POST endpoint: the x402 challenge is in the JSON response body only, no PAYMENT-REQUIRED header. Confirms that body-only challenge delivery works correctly for requests that also carry a request payload.

What to watch

Returns 402 with the full PaymentRequired object as JSON body. No PAYMENT-REQUIRED header is set.

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