# Retrieve Pre-Debit Notification by ID

Retrieves a pre-debit notification created with [Create pre-debit notification](/reference/pre-debit-notifications/create-pre-debit-notification). Notifications are scoped to your account.

**GET** `/predebit-notify/{pre_debit_notification_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Retrieves a pre-debit notification by its WHITELABEL ID.

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Header parameters

- `X-Account-Code` (string, required)
  UUID of the account the notification belongs to.

## Path parameters

- `pre_debit_notification_id` (string, required)
  ID returned by the Create pre-debit notification endpoint.

## Responses

### 200

The pre-debit notification.

- `id` (string<uuid>)
  Unique identifier of the pre-debit notification. Reference it on the recurring debit as payment_method.detail.bank_transfer.pre_debit_notification_id.
- `account_id` (string<uuid>)
  Your WHITELABEL account ID.
- `status` ("SENT" | "REJECTED" | "ERROR")
  SENT: the provider accepted and delivered the notification. REJECTED: the provider refused it. ERROR: the notification could not be relayed.
- `merchant_reference` (string)
  Your unique reference for this notification (idempotent per account).
- `description` (string)
  Text shown to the customer in the notification.
- `amount` (object)
  - `currency` (string, required)
    ISO 4217 currency code of the upcoming debit (for UPI Autopay, INR).
  - `value` (string, required)
    Amount of the upcoming debit.
- `billing_date` (string<date>)
  Date of the upcoming debit (YYYY-MM-DD).
- `origin_payment_id` (string<uuid>)
  The mandate-creation payment used to derive provider and connection, when provided.
- `provider_data` (object)
  - `id` (string)
    Provider that handled the notification (for example, EBANX).
  - `connection_id` (string<uuid>)
    Connection used to send the notification.
  - `provider_transaction_id` (string)
    Provider transaction reference, when available.
  - `provider_notification_id` (string)
    Provider reference of the delivered notification. WHITELABEL resolves and forwards it to the provider automatically when the recurring debit references this notification.
  - `raw_request` (object)
    Obfuscated provider request. Only returned for allowlisted organizations.
  - `raw_response` (object)
    Obfuscated provider response. Only returned for allowlisted organizations.
- `created_at` (string<date-time>)
- `updated_at` (string<date-time>)

Example:

```json
{
  "id": "00000000-0000-0000-0000-000000000000",
  "account_id": "00000000-0000-0000-0000-000000000000",
  "status": "SENT",
  "merchant_reference": "string",
  "description": "string",
  "amount": {
    "currency": "INR",
    "value": "499.00"
  },
  "billing_date": "2024-01-01",
  "origin_payment_id": "00000000-0000-0000-0000-000000000000",
  "provider_data": {
    "id": "string",
    "connection_id": "00000000-0000-0000-0000-000000000000",
    "provider_transaction_id": "string",
    "provider_notification_id": "string",
    "raw_request": {},
    "raw_response": {}
  },
  "created_at": "1970-01-01T00:00:00.000Z",
  "updated_at": "1970-01-01T00:00:00.000Z"
}
```

### 404

No notification with this ID exists for your account.