Skip to content

Webhooks

1. Brand Updated

  • Description: Webhook to intimate the client for changes in brand properties.
  • Payload
{
"id": "brand_id",
"denominationType": "FIXED/FLEXIBLE",
"status": "ACTIVE/INACTIVE",
"denominations": [
100,
1000,
5000
],
"amountRestrictions": {
"minAmount": 100,
"maxAmount": 5000,
"maxVouchersPerOrder": 5,
"maxDenominationsPerOrder": 1
}
}

2. Wallet Low Balance Notification

  • Description: Webhook to alert for low wallet balance. Threshold can be configured.
  • Payload:
{
"balance": 50,
"threshold": 100
}

3. Order Reached Terminal State

  • Description: If an order goes into PROCESSING state during generation, once it reaches a terminal state - SUCCESS / FAILED - hubble gives an intimation via webhook on the configured endpoint.
  • Payload:
{
"id": "order_id",
"status": "SUCCESS/FAILED/PROCESSING/REVERSED"
}