Sender

Retry a webhook delivery

Changed on

Replays 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.

post/sender/webhooks/{id}/retry

Request

  • Base URL
    https://api.paycrest.io/v2
  • URL
    https://api.paycrest.io/v2/sender/webhooks/{id}/retry
  • Auth
    API key in header API-Key

Path parameters

idstring uuid required

Query parameters

syncboolean

When true, replay immediately and return the HTTP result inline.

Response

Synchronous retry result

statusstring
messagestring

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 pending enum 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