Webhook Notifications
Webhooks allow you to set up a notification system that can be used to receive updates on certain requests made to the 1app APIs.
You can configure webhook endpoints via the API to be notified about events that happen in your 1app account or connected accounts.
To receive webhook requests, you have to setup your webhook URL on your account dashboard.
Once the webhook registration for an event is completed, you will receive webhook requests at the destination URL you provided each time a transaction occur on your account.
When your webhook URL receives an event, it needs to parse and acknowledge the event. Acknowledging an event means returning a 200 OK
in the HTTP header. Without a 200 OK
in the response header, we flagged it as a failed attempt, we’ll keep sending events for the next 48 hours at 30 minute interval upon the first failure to acknowledged the even with 200 OK.
Creating a Webhook endpoint can be easily done on your dashboard by following these steps.
Webhook Events
We currently support the following Event types:
Transaction Type
In order to know the transaction type you are getting notification for, check the paid_through field on the webhook notification response as stated below.
Sample Response
Last updated