Make your first paid call to the live Ryvo Gateway in minutes.
This quickstart walks through the two things every x402 gateway integration needs:
An unpaid probe to inspect the 402 Payment Required challenge.
A real call that completes the x402 flow, either paying with USDC (exact) or signing in with a wallet (siwx).
You can follow along with plain curl to understand the wire format, then switch to @x402/fetch in TypeScript for a real integration.For Ryvo payment-channel routes under /v1/ryvo-channel/..., use the channel flow in Access modes and Agentic tools.
A Solana mainnet wallet with a small USDC balance and a little SOL for fees.
The wallet must be different from the gateway’s payTo wallet, x402 exact SVM will reject a self-transfer.
Node.js 20+ if you use the TypeScript example below.
The live gateway settles on Solana mainnet. Keep the wallet funded with only as much USDC as you intend to spend while testing.
For every x402 paid route, the advertised price includes the upstream PAYG cost plus a fixed $0.0006 gateway settlement surcharge (to cover the on-chain settlement transaction fee).
Every live route, including its price, access mode, input schema, and output schema, is listed in the catalog. See Catalog for the full response shape.
wrapFetchWithPayment transparently handles both flows:
Paid routes: reads the 402 envelope, builds and signs an exact USDC transfer, retries with PAYMENT-SIGNATURE, and returns the upstream response plus settlement tx in X-PAYMENT-RESPONSE.
Tokens routes: reads the sign-in-with-x challenge, signs a SIWX message with your wallet, retries with SIGN-IN-WITH-X, and returns the upstream response.