Ghola speaks
x402.
Any standard x402 client can discover, pay, and call Ghola merchants — no Ghola-specific SDK required. The gateway returns spec-compliant 402 challenges and verifies USDC payments on-chain.
Try the challenge.
Hit any paid Ghola merchant unpaid. You'll see a spec-shaped 402.
curl -i https://ghola-gateway.onrender.com/m/<merchant-slug>/
{
"x402Version": 1,
"accepts": [
{
"scheme": "exact",
"network": "solana:mainnet",
"maxAmountRequired": "1000",
"resource": "https://ghola-gateway.onrender.com/m/<slug>/",
"description": "Ghola merchant: <slug>",
"mimeType": "application/json",
"payTo": "<escrow-wallet-address>",
"maxTimeoutSeconds": 60,
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"merchant_slug": "<slug>",
"platform_fee_bps": 300
}
}
]
}Your client signs a USDC transfer to payTo, base64-encodes the proof, and retries with x402-Payment. The gateway verifies on-chain, then forwards your call.
Production-grade x402.
Not a demo. The gateway is live, on mainnet, settling real USDC.
Spec-compliant 402 challenges
Hit any paid Ghola merchant unpaid; you get an HTTP 402 with the standard accepts body — scheme, network, payTo, asset, amount, the works.
Solana mainnet USDC
Settlement happens in USDC on Solana, verified on-chain by the gateway before the upstream call is made.
Replay-protected
Every payment signature is consumed exactly once across the gateway. Burn it twice, get rejected.
Refund on upstream failure
If the merchant's origin times out or 5xxs, the gateway returns 504 with X-Payment-Refund. Your client voids the inbound payment automatically.
Selling? Register your API.
Set a price, point to your origin, and let any x402 client in the world discover and pay you. We handle metering, settlement, and refunds on upstream failure.
Become a merchantBuilding agents? Just speak x402.
No Ghola SDK required. Any x402 client (Coinbase Agent Kit, Anthropic-compatible, custom) can hit our gateway, parse the challenge, sign the USDC transfer, and retry.
Read the docsOpen standards, on-chain settlement.
x402 + Solana + USDC. The agent commerce stack, no walled gardens.
Browse merchants