API referenceNotifications

Change a preference

Set one event's channels, for the business or for yourself. Anyone may silence their own mail. Changing what the *business* hears is `NOTIFICATION_MANAGE`, because switching off payout failures for everybody is a decision with consequences for people who did not make it.

PUT
/api/b/v1/notifications/settings

Set one event's channels, for the business or for yourself.

Anyone may silence their own mail. Changing what the business hears is NOTIFICATION_MANAGE, because switching off payout failures for everybody is a decision with consequences for people who did not make it.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

admin_access_token?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Whether we notify about one kind of event, and where. IN-302.

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/b/v1/notifications/settings" \  -H "Content-Type: application/json" \  -d '{    "event": "payout.failed"  }'
{  "event": "string",  "email_enabled": true,  "in_app_enabled": true,  "scope": "string"}