> Index of every page: https://docs.merchantservicedepot.com/llms.txt

# Retrieve delivery


`GET /v1/webhook_deliveries/{webhook_delivery_id}`



Auth: a secret key with the `webhookDeliveries.retrieve` permission. Returns `200` with Webhook delivery.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `webhookDeliveryId` | path | string | Yes | The webhook delivery id in the request path. |

## Request

**curl**

```curl
curl -X GET "https://payments-api-sandbox.merchantservicedepot.com/v1/webhook_deliveries/{webhook_delivery_id}" \
  -H "Authorization: Bearer $MYELA_API_KEY"
```

**Node**

```node
const res = await fetch("https://payments-api-sandbox.merchantservicedepot.com/v1/webhook_deliveries/{webhook_delivery_id}", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MYELA_API_KEY}`,
  },
});

if (!res.ok) {
  const { error } = await res.json();
  // Branch on error.code — never on error.message.
  throw new Error(error.code);
}
const data = await res.json();
```

**Python**

```python
import os
import requests

res = requests.get(
    "https://payments-api-sandbox.merchantservicedepot.com/v1/webhook_deliveries/{webhook_delivery_id}",
    headers={
        "Authorization": f"Bearer {os.environ['MYELA_API_KEY']}",
    },
)

if not res.ok:
    # Branch on error["code"] — never on error["message"].
    raise RuntimeError(res.json()["error"]["code"])
data = res.json()
```

## Response

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Unique delivery identifier. |
| `object` | "webhook_delivery" | Stable resource discriminator. |
| `endpointId` | string | Destination endpoint. |
| `eventId` | string | Delivered event identifier. |
| `eventType` | string | Delivered event type. |
| `status` | string | Delivery state. |
| `attemptCount` | integer | Number of delivery attempts. |
| `lastResponseStatus` | integer \| null | Latest HTTP response status. |
| `createdAt` | string | ISO 8601 creation timestamp. |

```json
{
  "id": "whd_01JEXAMPLE",
  "object": "webhook_delivery",
  "endpointId": "whe_01JEXAMPLE",
  "eventId": "evt_01JEXAMPLE",
  "eventType": "payment.settled",
  "status": "delivered",
  "attemptCount": 1,
  "lastResponseStatus": 200,
  "createdAt": "2026-08-10T20:49:51.653Z"
}
```

Source: https://docs.merchantservicedepot.com/api-reference/retrieve-delivery/
