Optional analytics on public pages. No session recording. Support works either way. Privacy details
API reference
Deliver an event again with the same id.
/events/:id/resendDeliver an event again with the same id, to one endpoint or to every subscribed endpoint.
| Field | In | Type | Required | Description |
|---|---|---|---|---|
| webhookEndpointId | body | string | No | Omit to send to every enabled endpoint subscribed to the event. |
const response = await fetch(`${process.env.BOSPAY_API_BASE}/events/evt_example/resend`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"BOSPay-Version": "2026-09-23",
"X-API-Key": process.env.BOSPAY_API_KEY,
},
body: JSON.stringify({
"webhookEndpointId": "we_example"
})
});
if (!response.ok) {
throw new Error(`BOSPay request failed: ${response.status}`);
}
const data = await response.json();Success
{
"object": "list",
"data": [
{
"id": "whd_example",
"object": "webhook_delivery",
"eventId": "evt_7Qx2mK9pL4sT8vW1yZ3aB6cD",
"eventType": "invoice.paid",
"status": "failed",
"statusCode": 500,
"attempts": 9
}
],
"hasMore": false,
"nextCursor": null
}Validation error
{
"error": {
"type": "invalid_request_error",
"code": "validation_error",
"message": "A valid fiatAmount is required.",
"field": "fiatAmount",
"requestId": "req_3f0c9a1b2c4d5e6f7a8b9c0d"
}
}