x402
Buy a tier with USDC (x402)
bronze_lifetime is $30 USDC once — the listing is owned forever. platinum is $49 USDC for a prepaid year (renewals extend from the current expiry, never shorten it). Without PAYMENT-SIGNATURE the response is 402 + a PAYMENT-REQUIRED quote; send the signed payment and the tier is granted after on-chain settlement. Same URL/email/listing rules as POST /api/submit's paid path. Rate limit: 30 checkout requests/hour per IP.
post/api/x402/submit
Request
- Base URL: https://curlship.com
- URL: https://curlship.com/api/x402/submit
- Auth: none declared
Headers
PAYMENT-SIGNATUREstring
base64 JSON x402 v2 PaymentPayload: the client's EIP-3009 TransferWithAuthorization signature, echoing the quote as accepted.
Request body
Example request
{
"url": "https://yourapp.com",
"email": "you@email.com"
}Response
Payment settled and granted. PAYMENT-RESPONSE (base64 JSON) carries the settlement receipt; tx_hash is also in the body.
Example response
{
"ok": true,
"tx_hash": "0x…",
"listing": {
"id": 2076,
"url": "https://yourapp.com/",
"title": "YourApp — ship faster",
"created_at": "2026-10-12T09:04:05Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.