Get Notification Settings

View as Markdown
Get notification settings for an account. ``slack_webhook_urls`` are secrets. The GET response replaces each stored URL with a redacted representation so the UI can render "Slack notifications configured (3 webhooks)" without exposing the raw URLs. PATCH (above) still accepts raw URLs, so the round-trip from the settings page works as long as the UI only re-sends URLs the user explicitly edited.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

account_idstringRequired

Response

Successful Response
invoiceobject or nullOptional
Invoice notification settings
dunningobject or nullOptional
Dunning notification settings
slack_enabledboolean or nullOptionalDefaults to false
Whether Slack notifications are enabled
slack_webhook_urlslist of strings or nullOptional
List of Slack webhook URLs for notifications
slack_payment_succeededboolean or nullOptional
Send Slack notification on payment succeeded
slack_payment_failedboolean or nullOptional
Send Slack notification on payment failed
email_enabledboolean or nullOptionalDefaults to false
Whether email notifications are enabled
emails_to_notifylist of strings or nullOptional
List of email addresses for notifications
email_payment_succeededboolean or nullOptional
Send email notification on payment succeeded
email_payment_failedboolean or nullOptional
Send email notification on payment failed
email_configobject or nullOptional
Email configuration settings for sender, signature, and colors

Errors

422
Unprocessable Entity Error