website logo
Home
Widget
API
Navigate through spaces
Home
Widget
API
⌘K
📥Onramp API Integration.
👤Customer login
Crypto Tokens
Crypto Token Quotation
📑Orders
🪝Web hook - Onramp
📤Offramp API Integration.
👤Customer login
📑Create Order Offramp
📈Quotation
🪝Web hook - Offramp
Docs powered by archbee 
4min

Web hook - Offramp

This section explains the steps to configure callback URLs for receiving events about the completed transaction.

Configuring Webhook

Webhooks are configured in merchant dashboard.

Inside API Setup section, webhook can be added and modified under Callback URL's section

Document image

Generating HMAC

Signature is computed using Hash-based message authentication code (HMAC) using a secret key. The secret key is the API Secret present in your merchant dashboard.

The example implementation in Nodejs is show below ⬇️

Node.js
|
Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get

eventType will be offramp for this order

Make sure you have firewall rule allowed for receiving the webhook body if not your firewall might block our webhook requests.

Sample body

JS
|
Updated 01 Feb 2023
Did this page help you?
Yes
No
Docs powered by archbee 
Completed Order