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.
Overview
Webhooks provide real-time notifications when payment and request events occur, enabling immediate response to status changes without constant polling.Event Categories
The Request Network webhook system emits 12 event types across four categories:| Category | Events |
|---|---|
| Payment (core) | payment.confirmed, payment.partial, payment.failed, payment.refunded |
| Payment (Client ID-scoped) | payment.confirmed.client_id, payment.partial.client_id |
| Payment (Checkout-scoped) | payment.confirmed.checkout, payment.partial.checkout |
| Processing (crypto-to-fiat) | payment.processing (with subStatus) |
| Request | request.recurring |
| Compliance / Bank | compliance.updated, payment_detail.updated |
.client_id and .checkout variants are emitted in addition to the base .confirmed / .partial events when the request was created via a Client ID or as a checkout / secure payment, respectively. They include extra metadata (clientId, origin).
For full payload schemas and headers, see the Webhooks reference.
How It Works
Process:- Event occurs: Payment confirmed, request created, compliance updated
- Secure delivery: HMAC SHA-256 signed POST to your configured endpoint
- Your processing: Verify
x-request-network-signature, update application state - Reliable delivery: 3 retries (1s, 5s, 15s delays) with 5-second timeout
Key Features
Reliability
- Idempotency support: Use
x-request-network-deliveryheader for duplicate detection - Delivery confirmation: Monitor
x-request-network-retry-countheader to track attempts
Security
- HMAC SHA-256 signatures: Every webhook includes
x-request-network-signatureheader - HTTPS required: Production endpoints must use secure connections
- Test webhook identification:
x-request-network-testheader for development
Development Tools
- Test deliveries: Fire test events via
POST /v1/webhook/test(Auth API) — see Webhooks reference - ngrok integration: Receive webhooks locally during development
- Comprehensive logging: Request API logs all delivery failures with attempt details
Common Use Cases
- Invoice systems: Automatically mark invoices as paid when
payment.confirmedreceived - Order fulfillment: Release goods or services immediately after payment confirmation
- Subscription management: Handle
request.recurringfor automatic billing renewals - Compliance workflows: Update user permissions when
compliance.updatedshows KYC approval - Real-time dashboards: Display live payment status using
payment.processingsubStatus values
Implementation
Webhook Reference
Complete technical documentation with setup, payloads, and code examples
Implementation Examples
Working webhook handlers with Express.js and Next.js
Auth API webhook endpoints
POST /v1/webhook to create, GET/PUT/DELETE to manage, /test to fire test deliveries