Skip to content

Webhooks

If you specify a webhook URL in the /transfer-to/bills/initiate endpoint, every time a transaction status changes due to a response Paygears has received, the system will make a single POST call to the specified URL with the following body. A webhook is not called when a transaction changes from "Initiated" to "Processing" status.

{
  "code": "0",
  "data": 
      {
        "reference": "extTrnBill218", //external transaction ID in your system
        "cFiTransactionId": "CLIENTID_13c261GGqsFL1yElgKBrnS", //transaction ID in connectFi
        "merchantId": "10000001",
        "cFiTraceNumber": "000000000000008",
        "status": "Sent", //current status
        "amount": 10.93,
        "currency": "USD", //currency code
        "dtsCreated": "2023-05-12T14:27:33.684Z" //date created 
      }
}