x402 payments
LiveDeveloper
Charge per request with HTTP 402.
Register an endpoint and price, return 402 Payment Required with the requirements, and let agents and clients pay on-chain before they get the response. Gully Pay verifies and settles. Gully Chain Testnet is available when the server runs with GULLY_CHAIN_ENABLED.
Networks
- Base · USDC/USDT
- Ethereum · USDC/USDT
- BNB Smart Chain · USDC/USDT
- Solana · USDC/USDT
Install
Setup
Register a paid endpoint
In Gully Pay- Open x402 & API in the dashboard and register the resource, price, asset and network.
Return 402 from your API
On your server- Serve GET /x402/requirements/{resource} (or your own 402 response) to unpaid callers.
- Verify the payment with POST /x402/verify before returning the resource.