Webhook notifications are how the OneKhusa platform informs your system about transaction events in real-time. Each webhook contains an event code that identifies the specific type of occurrence, allowing you to automate your backend processes accordingly.

Callback URL Requirements

Before setting up webhooks, ensure your receiving endpoint (callback URL) meets the following technical requirements:
Ensure your webhook endpoint meets the following requirements:
  • HTTPS Protocol: The URL must use HTTPS for secure communication
  • Public Accessibility: The URL must be publicly accessible and reachable from the internet
  • POST Request Support: The endpoint must accept HTTP POST requests with JSON payloads
  • Response Confirmation: Your server must respond with a HTTP 200 OK status code with a string payload such as acknowledged to confirm successful receipt of the webhook. Failure to do so will result in retries..

Webhook Configuration Through OneKhusa Portal

  1. Login at https://app.onekhusa.com
  2. Go to DevelopersWebhooks
  3. Open Webhook Configuration interface

Collection Events

These events relate to the collection of funds from your customers.

Batch Disbursement Events

These events relate to the processing of batch files containing multiple disbursements.

Single Disbursement Events

These events relate to the processing of a funds transfer transaction to one beneficiary.