Webhooks
Webhooks allow you to receive real-time notifications when events occur in NowRamp, such as order completions, KYC approvals, and wallet screenings.Setting Up Webhooks
Via Dashboard
- Go to Settings > Webhooks
- Click Add Endpoint
- Enter your endpoint URL
- Select the events you want to receive
- Save and note the signing secret
Via API
Webhook Payload
All webhooks follow this structure:Verifying Signatures
All webhooks include an HMAC signature in theX-Webhook-Signature header. Always verify this signature.
Node.js
Python
Event Types
Order Events
| Event | Description |
|---|---|
order.created | New order created |
order.processing | Order is processing |
order.awaiting_payment | Waiting for payment |
order.payment_received | Payment confirmed |
order.completed | Order completed |
order.failed | Order failed |
order.cancelled | Order cancelled |
order.refunded | Payment refunded |
KYC Events
| Event | Description |
|---|---|
kyc.started | Customer started KYC |
kyc.approved | KYC approved |
kyc.rejected | KYC rejected |
kyc.expired | KYC link expired |
Wallet Events
| Event | Description |
|---|---|
wallet.created | Wallet added |
wallet.screened | Screening completed |
wallet.blocked | Wallet blocked |
wallet.deleted | Wallet removed |
Customer Events
| Event | Description |
|---|---|
customer.created | New customer |
customer.updated | Customer updated |
Handling Events
Retry Policy
Failed webhook deliveries are retried with exponential backoff:| Attempt | Delay |
|---|---|
| 1 | Immediate |
| 2 | 1 minute |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
| 6 | 8 hours |
| 7 | 24 hours |