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 portal.request.network
Account Setup
Request Portal Registration
Create Your Account
Sign up at portal.request.network to get started. All accounts include:
- Free API access with generous limits
- API documentation and tools
- Community support
API Key Generation
- Log in to Request Portal
- Navigate to “API Keys” section
- Click “Create new key”
- Copy and securely store the key
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 add it in the API Portal under Webhooks section.
Copy the webhook signing secret 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 webhook is enabled in the portal
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.