Webhooks

Request signing compared with webhook signing
SignatureKeyDirectionScheme
Your API requestssecretKeyYour backend to TEDR PayHMAC over the timestamp, the URL and the body — see Authentication.
Webhooks we send youwebhookSecretTEDR Pay to your endpointNot published yet.
Revoking compared with rotating
ActionWhat happens to the key materialWebhooks for invoices that are still open
RevokeSoft delete — the row itself stays.Still signed with the webhookSecret the key had when the invoice was created.
RotateprivateKey, secretKey and webhookSecret are all replaced in the same row; id, name, webhookUrl and createdAt stay.Signed with the new webhookSecret immediately.