Submit a listing, paid in USDC
x402_submit_listingBuy bronze_lifetime ($30 USDC once, forever) or platinum ($49 USDC per prepaid year) with USDC over x402 — settled on-chain, no checkout page, no human in the loop. Call without payment_signature and the reply is a 402 whose body (also the PAYMENT-REQUIRED header, base64) is the quote; sign accepts[0] as an EIP-3009 authorization and call again with payment_signature — the tier is granted in that same call. Same URL and listing rules as a free submission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| tier | Yes | The only tiers x402 sells. | |
| Yes | |||
| payment_signature | No | The PAYMENT-SIGNATURE header value: base64 JSON x402 v2 PaymentPayload — accepts[0] from the quote, signed and echoed back as `accepted`. Omit to get the quote back as a 402. |