API product catalogDeveloper Platform, Sandbox & Key Management
Replace notification policy
Developer Platform, Sandbox & Key Management
PUT
/notification-rules
Replace notification policy
Production only
replaceNotificationRulesValidates and replaces the partner notification rules. A maximum of 50 rules is accepted.
Parameters
This endpoint has no path or query parameters.
Headers
AuthorizationstringRequiredBearer sk_sandbox_<your_key> for sandbox requests.
Idempotency-KeystringheaderRequiredUnique string that makes write calls safe to retry on network failure. Required for money movement, trading, KYC, subscriptions, and webhook creation. Deduplicated for 24 hours -- duplicate keys return the cached response. HTTP 409 if a concurrent request with the same key is still in progress.
Example: dep_user42_1743152580
Request body
rulesobject[]Requiredrules[].idstringrules[].eventfloat.low | reconciliation.exception | webhook.failed | incident.opened | approval.requested | kyc.review | usage.threshold | certification.updatedRequiredrules[].enabledbooleanRequiredrules[].channelsstring[]Requiredrules[].recipientsstring[]Requiredrules[].severityall | critical | highrules[].thresholdnumber | nullrules[].quietHoursstring | nullResponse fields
messagestringRequiredrulesobject[]Requiredrules[].idstringrules[].eventfloat.low | reconciliation.exception | webhook.failed | incident.opened | approval.requested | kyc.review | usage.threshold | certification.updatedRequiredrules[].enabledbooleanRequiredrules[].channelsstring[]Requiredrules[].recipientsstring[]Requiredrules[].severityall | critical | highrules[].thresholdnumber | nullrules[].quietHoursstring | nullupdatedAtstringRequiredupdatedBystringRequiredResponse codes
200Notification policy saved.400Notification rule validation failed.