# Partner Downtime Webhooks

Partner downtime webhooks tell you when Glomo plans a downtime for an LRS partner bank, when the downtime starts, and when the bank is available again. Use them to warn your customers, or to send them to another bank, before they reach checkout.

You receive events only for banks your account is set up on for LRS.

To receive these events, select the `partner_downtime` entity type on your endpoint in **Settings > Webhooks**.

> **Note:** The sample payloads on this page are pretty-printed. The body Glomo sends is the RFC 8785 canonical form of the same object, and the `X-Glomopay-Signature` header is computed over those bytes. See [Webhook Authentication & Security](/platform/webhooks#webhook-authentication--security).


| Event Type | Description |
|  --- | --- |
|  scheduled  | Glomo has added a downtime for the bank. `data` gives the planned start and end. |
|  started  | The downtime has started. LRS payments through the bank are not available. |
|  ended  | The downtime has ended. LRS payments through the bank are available again. Final. |


## Payload

| Field | Type | Description |
|  --- | --- | --- |
| `event_id` | string | Unique per event. The same on every delivery attempt of that event, so use it to drop a redelivery. |
| `occurred_at` | string | ISO 8601 timestamp, in UTC. For `scheduled`, the time the downtime was added. For `started` and `ended`, the time the downtime started or ended. |
| `entity_type` | string | Always `partner_downtime`. |
| `event_type` | string | One of the event types above. |
| `data` | object | The downtime. See below. |


### `data` fields

| Field | Type | Description |
|  --- | --- | --- |
| `id` | integer | The downtime ID. The same on every event for this downtime. |
| `payment_flow` | string | Always `lrs`. |
| `partner_code` | string | The bank: `hdfc`, `axis`, `icici`, `idfc` or `kotak`. Same value as `bank_code` in [List LRS banks](/api-reference/openapi/lrs/getlrsbanks). |
| `downtime_start` | string | ISO 8601 timestamp, in UTC, when the bank becomes unavailable. |
| `downtime_end` | string | ISO 8601 timestamp, in UTC, when the bank becomes available again. |


## Handling events

Track state per downtime `id`, not per bank. A bank can have several downtimes scheduled at the same time, and each sends its own events.

## Sample Payload — Scheduled

```Sample
{
  "event_id": "evt_partner_downtime_1287_scheduled",
  "occurred_at": "2026-12-01T09:12:44Z",
  "entity_type": "partner_downtime",
  "event_type": "scheduled",
  "data": {
    "id": 1287,
    "payment_flow": "lrs",
    "partner_code": "hdfc",
    "downtime_start": "2026-12-05T18:30:00Z",
    "downtime_end": "2026-12-05T22:30:00Z"
  }
}
```

## Sample Payload — Ended

```Sample
{
  "event_id": "evt_partner_downtime_1287_ended",
  "occurred_at": "2026-12-05T22:30:00Z",
  "entity_type": "partner_downtime",
  "event_type": "ended",
  "data": {
    "id": 1287,
    "payment_flow": "lrs",
    "partner_code": "hdfc",
    "downtime_start": "2026-12-05T18:30:00Z",
    "downtime_end": "2026-12-05T22:30:00Z"
  }
}
```