Documentation Index
Fetch the complete documentation index at: https://docs.request.network/llms.txt
Use this file to discover all available pages before exploring further.
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
Create Account
Sign up for a free Request Network account at dashboard.request.network
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
401 Unauthorized
401 Unauthorized
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.