402 Payment Required retry flow natively.
Call with a Compose Key
Use this for servers, scripts, IDEs, and OpenAI-compatible apps./external/v1:
Call with raw x402
Raw x402 has two requests. First, send the request withoutPAYMENT-SIGNATURE:
402 Payment Required and a PAYMENT-REQUIRED header. Sign that requirement with your x402 client, then retry:
x-x402-max-amount-wei to set your own cap:
1000000 is 1 USDC.