# Re-send a notification event

**PATCH** `/dpm/webhooks/v1/subscriptions/{event_name}/events/{event_id}`

Base URL: `https://api.pre.globalgetnet.com`

Re-send a specific notification event for a given subscription. Requires the idempotency key, payment ID, and desired status.

## Authorization

- PROD (oauth2)
- PRE (oauth2)
- SBX (oauth2)

## Path parameters

- `event_name` (string, required)
  Subscription identification
- `event_id` (string, required)
  Event identification

## Body

Content type: `application/json`

- `idempotency_key` (string<uuid>, required)
  Unique identifier for a notification re-send request
- `payment_id` (string<uuid>, required)
  Payment identifier associated with the event
- `status` (string, required)
  Target status to re-send the event with

Example:

```json
{
  "idempotency_key": "5e558e18-c4dc-41e9-b641-64b836ddd71f",
  "payment_id": "b75a4182-b3ff-4c13-a08d-b6a5107f9cfb",
  "status": "APPROVED"
}
```

## Responses

### 200

Notification event re-sent

- `status` (string)
- `message` (string)
- `data` (object)
  Response for a re-sent notification event.
  - `event_id` (string<uuid>)
    Event identifier
  - `notification_id` (string<uuid>)
    Notification identifier
  - `payment_id` (string<uuid>)
    Payment identifier
  - `subscription_id` (string<uuid>)
    Subscription identifier
  - `event_name` (string)
    Name of the event
  - `message` (object)
    Re-sent message payload
    - `idempotency_key` (string<uuid>)
    - `payment_id` (string<uuid>)
    - `status` (string)
    - `seller_id` (string<uuid>)
  - `status` (string)
    Status of the re-sent event
  - `created_at` (string<date-time>)
    Timestamp when the event was originally created
  - `updated_at` (string<date-time>)
    Timestamp when the event was last updated

Example:

```json
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": {
    "event_id": "1b35baa0-6c83-4279-a7ed-7a7c5aa1159c",
    "notification_id": "bf91ea65-02fd-40d4-9d49-03143fca89aa",
    "payment_id": "b75a4182-b3ff-4c13-a08d-b6a5107f9cfb",
    "subscription_id": "b110e58b-867f-475e-995a-cd0b4ebdf7a2",
    "event_name": "APPROVED_TRANSACTIONS",
    "message": {
      "idempotency_key": "5e558e18-c4dc-41e9-b641-64b836ddd71f",
      "payment_id": "b75a4182-b3ff-4c13-a08d-b6a5107f9cfb",
      "status": "CANCELLED",
      "seller_id": "19ffd677-3691-4c4d-88c9-79cc91b95c0d"
    },
    "status": "CANCELLED",
    "created_at": "2025-12-03T13:54:58.242Z",
    "updated_at": "2026-05-12T17:27:38.994Z"
  }
}
```

### 500

Internal server error

- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors. The object type varies depending on the error context.

Example:

```json
{
  "message": "Internal Server Error",
  "details": "[]"
}
```