You can receive notifications for certain events or updates made on certain transaction via a webhook.

Glade sends notification for the following events.

Setting The Webhook

You can set your webhook on the Glade dashboard, under the API & Webhooks in the Settings page.

28762876

Webhook for funds transferred to a Virtual Accounts

When a payment is received into a virtual account a webhook is triggered. A POST request is sent with the payload of the webhook can be found below

{
   "status":200,
   "txnStatus":"successful",
   "txnRef":"GP2022075ea2cf9928028572",
   "chargedAmount":"9600.00",
   "paymentMethod":"bank_transfer",
   "endpoint":"",
   "customer_txnref":null,
   "accountReference":"d6fd0ddc2b",
   "meta":"{\"amount\":9600,\"currency\":\"NGN\",\"charged_amount\":9600,\"app_fee\":48,\"merchant_fee\":0,\"processor_response\":\"success\",\"auth_model\":\"AUTH\",\"narration\":\"From John Glade\",\"status\":\"successful\",\"payment_type\":\"bank_transfer\",\"created_at\":\"2022-07-03T13:44:21.000Z\",\"account_id\":4760,\"meta\":{\"originatoraccountnumber\":\"015*******51\",\"originatorname\":\"JOHN GLADE",\"bankname\":\"GUARANTY TRUST BANK\",\"originatoramount\":\"N\\\/A\"},\"amount_settled\":9552,\"customer\":{\"id\":356999894,\"name\":\"Anonymous customer\",\"phone_number\":\"N\\\/A\",\"email\":\"[email protected]\",\"created_at\":\"2022-04-12T09:39:28.000Z\"}}",
   "currency":"NGN",
   "account":"1234567890",
   "accountDetails":"John Doe",
   "bankname":"WEMA BANK"
}