Retry a webhook delivery
Changed onReplays a webhook delivery using its original frozen payload.
- Synchronous (?sync=true): the payload is re-sent immediately and the HTTP result is returned inline (200).
- Asynchronous (default): a new pending delivery is queued for the retry worker and the new delivery ID is returned (202).
Returns 404 if the delivery belongs to another sender.
Request
- Base URLhttps://api.paycrest.io/v2
- URLhttps://api.paycrest.io/v2/sender/webhooks/{id}/retry
- AuthAPI key in header API-Key
Path parameters
Query parameters
When true, replay immediately and return the HTTP result inline.
Response
Synchronous retry result
Example response
{
"data": {
"statusCode": 200,
"attemptNumber": 2,
"message": "Webhook delivered successfully"
}
}Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
pendingenum value to the/response property for the response status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- warning