Welcome to Request Network
Get started with Request Network in just a few minutes. This guide will walk you through setting up your account, obtaining API keys, and making your first payment.Quick Setup
1
Create Account
Sign up for a free Request Network account at dashboard.request.network
2
Get API Keys
Generate your Client ID from the Dashboard
3
Create Your First Request
Use the API to create a payment request
4
Process Payment
Get payment calldata and execute the transaction
Account Setup
Request Dashboard Registration
Create Your Account
Sign up at dashboard.request.network to get started. All accounts include:
- Free API access with generous limits
- API documentation and tools
- Community support
Client ID Generation
- Log in to Request Dashboard
- Create a payment destination first if you havenβt β the Client IDs section is only available once a destination exists. From the Home page, click Set up payment destination and pick the chain + token you want to receive on.
- Open Manage Destination β Client IDs
- Click Generate your first Client ID (or Generate New Client ID if you already have one)
- Copy and securely store the Client ID
Your First Integration
Letβs create a simple Node.js server that integrates with the Request Network API to create payments and track their status.Project Setup
Create a new project and install dependencies:.env file:
Create a Payment
Create anindex.js file:
requestIdβ Unique identifier for the requestpaymentReferenceβ Used to track the paymenttransactionsβ Array of transaction calldata to executemetadataβ Additional info likestepsRequiredandneedsApproval
Understanding the Response
Note: The
amount is in human-readable format. No BigNumber conversions needed!Setting Up Webhooks
To track payment status in real-time, set up a webhook endpoint:Testing Webhooks Locally
Since webhooks canβt reach your local server directly, use ngrok:https://abc123.ngrok.io/webhooks) and register it via the Auth API:
secret β copy it to your .env:
Environment Configuration
Set up environment variables for secure API key management:Whatβs Next?
Now that youβve made your first API call, explore more features:π API Features
Learn about different payment types and features
π Payment Detection
Understand how payments are tracked
β‘ Integration Tutorial
Complete tutorial with backend + frontend
Troubleshooting
Common Issues
400 Bad Request
400 Bad Request
- Check required fields:
payee,amount,invoiceCurrency,paymentCurrency - Ensure
amountis a string (e.g., β0.1β) - Verify currency IDs are valid
Webhook not receiving events
Webhook not receiving events
- Verify webhook URL is publicly accessible
- Check webhook signature verification
- Ensure the webhook is
active(toggle viaPUT /v1/webhook/:idon the Auth API)
Youβre all set! Youβve created your first payment request with Request Network. For a complete working example with frontend, check out the Integration Tutorial.