HTTP 402 / USDG / ROBINHOOD CHAIN
Charge the
request itself.
Turn a .wave merchant identity into an x402-paid API endpoint. Clients request a resource, receive HTTP 402 payment terms, settle in USDG, then retry for the unlocked response.
X402 FLOW
01
GET→02
402→03
SIGN USDG→04
200
GET→02
402→03
SIGN USDG→04
200
Swell emits a standard x402 v1 challenge for USDG on Robinhood Chain. A configured facilitator verifies and settles the EIP-3009 authorization before the resource is returned.
PAID ENDPOINT
Publish your first endpoint to generate the URL.
LIVE CHALLENGE
Inspect the 402.
Click “Test 402” after publishing.
FOR AGENTS & API CLIENTS
GET /api/merchant?action=x402-resource&target=yourhandleUnpaid calls return HTTP 402. Paid retries use the X-PAYMENT header and receive an X-PAYMENT-RESPONSE settlement receipt.