SET Merchant API · Events & webhooks
Rotate an endpoint's secret
POST/v1/webhook_endpoints/{id}/rotate_secret
A new signing secret for this endpoint, shown once. The previous secret also signs its deliveries for 24 hours (previousSecretValidUntil).
Path parameters
idstringrequired- The webhook endpoint's id.
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Errors
404 webhook_endpoint_unknown401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited