Subscribe to Service
Dojah uses webhooks to let your application know when events happen, such as receiving an SMS message. When the event occurs, Dojah makes an HTTP request (usually a POST or a GET) to the URL you configured for the webhook. Dojahβs request will include details of the event such as the service type and Webhook Url. Dojahβs Webhook services allow you to subscribe for webhooks, Fetch all Webhooks subscription, and Delete a Webhook service.
This endpoint allows you to Subscribe to Dojahβs webhook service
Request
Headers
Parameter | Type | Description |
---|---|---|
AppId | string | you would need to create an app to get your app ID |
Authorization | string | private secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G |
Body Params
Key | Type | Description |
---|---|---|
webhook | string | webhook is the webhook url that allows Dojah to send (i.e βpushβ) data to your application as soon as an event occurs, Create a Test webhook url on webhook.site. Example https://webhook.site/db8ad2b6-91b6-485b-9761-e546b540ccf6 |
service | string | Type of services [ sms, ngn_wallet, kyc_widget, address, , AML Monitoring]] |
Response
An active webhook allows Dojah to send (i.e βpushβ) data to your application as soon as an event occurs.
Below is the Sample Data that will be sent to your application.
Verification Status.
These are possible verification status : Ongoing, Completed, Pending, Failed
The Sample response data after successful verification
KYC Widget notification
Wallet Service notification
Address verification notification
The webhook content description
content | Type | Description |
---|---|---|
environment | string | environment values are production, sandbox |
status | string | Event status values are COMPLETED, PENDING, FAILED |
event | string | event values are deposit, transfer |
event_type | string | event_type values are βwallet:event:interβ, βwallet:event:intraβ |
π
How to recieve kyc_widget webhook notification
Set In Config object Kindly set webhook object value to true (Boolean)
Example : webhook : true
Subscribe to Service on Dojah Dashboard here
Click on Subscribe Button
Fill in the Webhook details
Was this page helpful?