Rotate the signing secret
Notification Webhooks
Rotate the signing secret
Rotate the signing secret for a webhook endpoint. Returns a new signing_secret
(prefixed whsec_) in plaintext — this is the only time it is shown, so store it
immediately.
Rotate the secret if the current one may have been exposed. After rotation, verify incoming deliveries against the new secret.
Example
POST /v1/notifications/webhooks/whr_01HXYZABC1234567890ABCDEFG/rotate-secret
POST
Rotate the signing secret
Authorizations
API key issued during merchant onboarding.
Path Parameters
Pattern:
[^\/#\?]+?