Overview

Subscribe

CLO partners can subscribe and get notified whenever a merchant's details, their location or an offer changes. Create an endpoint that accepts data in the structure defined in this section and share the URL. The webhook will be invoked at real-time soon as a change occurs in the following conditions

  • When a Merchant is created or updated
  • When a Merchant Location is created or updated
  • When an Offer is created, updated, activated or deactivated
  • When Transactions are posted in bulk, the status of the transaction are updated back through the webhook

The response sent to the webhook is in the below format

{
"module": "add",
"triggered_at": "2022-04-21T04:53:32.912Z",
"type": "offer",
"data": {}
}
  • module defines the action performed - add / update / activated / deactivated
  • triggered_at is the date and time when the update was triggered in (in UTC)
  • type filed defines the type of data being updated - merchant / merchantlocation / offer / transaction
  • data contains the payload of the update and this object varies depending on the above type