SET Merchant API · Events & webhooks
Rotate the webhook signing secret
POST/v1/webhook_endpoint/rotate_secret
A new signing secret (version + 1), returned once. For 24 hours every delivery carries a second v1 signature under the previous secret, SET-Signature: t=…,v1=<new>,v1=<previous>: accept either while you deploy the new one. One rotation a day.
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Errors
409 rotation_in_progress403 operator_cannot_rotate503 webhooks_unconfigured401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited