REST API

Replaying Notifications Using Hours Back

This option can be used if the webhook failed to deliver and you would like to receive any failed or retried notifications within a specified number of hours before the replay request. For example, if your servers were down for maintenance for a period of time, the replay request can be used to resend any notifications that were unsuccessfully delivered during that period of time. If your retry policy was over a long enough duration, the notifications would automatically be sent at the next retry interval, but this endpoint would allow for you to send all payloads immediately.
Valid values for status are
FAILED
or
RETRY
. Hours back is calculated from the system time minus the number of hours back.
To request the service, use the endpoint specified below. After you send the request, check the response message to verify that the request was successful. A 200-level response code indicates success.
For information about response codes, see
Transaction Response Codes
.

Endpoint

  • Test:
    POST
    apitest.cybersource.com
    /webhooks/{webhookId}/replays
  • Production:
    POST
    api.cybersource.com
    /webhooks/{webhookId}/replays
  • Production
    in India:
    POST api.in.cybersource.com/webhooks/{webhookId}/replays