v1.0 Now Available

Web3 Pay Documentation

Accept crypto payments in your application with our powerful API. Seamless fiat-to-crypto onramp with secure payment infrastructure.

How it works

1

Create Session

Initialize an onramp session with wallet address and amount

2

User Pays

Redirect to checkout or use embedded widget for payment

3

Crypto Delivered

We handle KYC, payment, and deliver crypto to wallet

4

Get Notified

Receive webhook when transaction is complete

Quick Example

Create an onramp session with a single API call:

bash
-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

E

Ethereum

ETH, USDC, USDT

Live
P

Polygon

MATIC, USDC

Live
B

Base

ETH, USDC

Live
S

Solana

SOL, USDC

Coming Soon
A

Arbitrum

ETH, ARB, USDC

Coming Soon

Base URL

https://api.web3pay.io/v1

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

Back to home
Was this page helpful?