Dead-letter and replay
What happens when your endpoint cannot be reached, and how to resend a callback.
Dead-lettered callbacks
If your endpoint does not return a 2xx after all delivery retries, the callback is dead-lettered. The result is not lost. It is stored and listed in the dashboard so you can recover it.
Replay from the dashboard
- Fix your endpoint so it responds with a 2xx.
- Open Callbacks in the dashboard and find the dead-lettered delivery.
- Choose Replay. KiPay sends the callback again with the same body.
Replay by API
Replay is also available with a dashboard login token, scoped to your environment.
Request
POST /v1/callbacks/{checkoutRequestID}/replay?environment=liveYou can also recover any result without a callback by calling STK Query with the CheckoutRequestID.