Quickstart Guide
Get started with HTTPayer in under 5 minutes.Proxy Endpoint
Prerequisites
- A HTTPayer API key (contact the team to get one)
Step 1: Get Your API Key and Set Up Your Environment
Contact the HTTPayer team to receive your API key. You’ll use this in theX-API-KEY header for all requests.
Step 2: Make a Simulation Request
Test the payment flow without executing a transaction. Typescript:Step 3: Make a Payment-Gated Request
Execute the full payment + request flow using the/proxy endpoint.
Typescript:
Relay Endpoint
Prerequisites
- USDC on Base, Base Sepolia, Solana, or Solana Devnet
- A HTTP client configured with x402 payment abilities (x402-fetch on Typescript, x402 on Python)
Step 1: Create a Wallet Client
Typescript:Step 2: Make a Simulation Request
Test the payment flow without executing a transaction. Typescript:Step 3: Make a Payment-Gated Request
Execute the full payment + request flow using the/relay endpoint.
Typescript:
Next Steps
API Reference
Explore all available endpoints
Payment Relay
Learn about the relay endpoint
Webhooks
Track async refund status
Check Balance
View your account balance

