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

MethodPathPriceFree tier
POST/api/gate402/v1/checkout/create$0.0120/day per x-client-id
GET/api/gate402/v1/checkout/:idfree
POST/api/gate402/v1/checkout/:id/verifyfree
POST/api/gate402/mcpper toolsame tiers
GET /api/gate402/v1/sandbox/simulate

Runs 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.