Webhooks
Delivery log and replay
GET /v1/webhook_deliveries
List webhook delivery attempts, newest first: status code, latency, error and a response snippet for each.
Authentication: Secret key
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
limit | query | integer (int32) | 1 to 100, default 10
|
cursor | query | string |
|
event_id | query | string | Only deliveries of this event (evt_…) |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | WebhookDeliveryList application/json | |
| 400 | ErrorResponse application/json |
POST /v1/webhook_deliveries/{id}/replay
Deliver a delivery's event again, to the current webhook URL, as a new delivery.
Receivers deduplicate on the x-cryptopay-event-id header, so replaying is always safe.
Authentication: Secret key
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
idrequired | path | string | Delivery id (whd_…) |
Idempotency-Keyrequired | header | string | Unique per replay request |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | The new delivery | WebhookDelivery application/json |
| 404 | ErrorResponse application/json | |
| 409 | No webhook URL is set | ErrorResponse application/json |