Web3 Pay Documentation
Accept crypto payments in your application with our powerful API. Seamless fiat-to-crypto onramp with secure payment infrastructure.
Quickstart
Get up and running with Web3 Pay in under 5 minutes
API Reference
Complete reference for all REST API endpoints
JavaScript SDK
Integrate using our official SDK with TypeScript support
Webhooks
Receive real-time event notifications
How it works
Create Session
Initialize an onramp session with wallet address and amount
User Pays
Redirect to checkout or use embedded widget for payment
Crypto Delivered
We handle KYC, payment, and deliver crypto to wallet
Get Notified
Receive webhook when transaction is complete
Quick Example
Create an onramp session with a single API call:
-green-400">curl -X POST https://api.web3pay.io/v1/onramp \
-H "X-API-Key: wp3_live_sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5fB",
"crypto_currency": "ETH",
"fiat_amount": 100,
"fiat_currency": "USD"
}'Supported Networks
Ethereum
ETH, USDC, USDT
Polygon
MATIC, USDC
Base
ETH, USDC
Solana
SOL, USDC
Arbitrum
ETH, ARB, USDC
Base URL
https://api.web3pay.io/v1All API requests should be made to this base URL using HTTPS. The API follows RESTful conventions with JSON request/response bodies.
Ready to get started?
Create your account and start accepting crypto payments in minutes.