gate402
Drop-in x402 checkout for merchants. You issue terms through us; buyers pay your wallet directly in USDC on Base or Solana. Ogena never touches buyer funds.
Endpoints
| Method | Path | Price | Free tier |
|---|---|---|---|
| POST | /api/gate402/v1/checkout/create | $0.01 | 20/day per x-client-id |
| GET | /api/gate402/v1/checkout/:id | free | — |
| POST | /api/gate402/v1/checkout/:id/verify | free | — |
| POST | /api/gate402/mcp | per tool | same tiers |
GET /api/gate402/v1/sandbox/simulateRuns the canned sandbox transcript: every checkout step, no wallet.
Merchant flow
POST /api/gate402/v1/checkout/create
{"network":"solana","merchantPayTo":"<YOUR_ADDRESS>",
"amountUsd":"9.99","memo":"order-1"}
# -> checkoutId, buyer terms, checkoutUrl, status: pending
# buyer pays YOUR address, then:
POST /api/gate402/v1/checkout/:id/verify
{"paymentSignature":"<base64 x402 PaymentPayload>"}
# -> {"status":"paid","transaction":"..."} (or pending + reason)Try it without a wallet: the demo storefront drives the live flow, and the sandbox transcript shows every step canned.
Interactive reference · gate402 openapi.json
Machine endpoints
Billing failures, unknown inputs and receipt checks: the errors page.