Update insured’s payment email notifications
API Refs
- Production: Update insured’s payment email notifications
- Staging: Update insured’s payment email notifications
URI Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| userId | number | insure id | yes |
Request body
| Name | Type | Description | Required |
|---|---|---|---|
| isAllowed | boolean | Enable or Disable notifications | yes |
Example
- Get insured information Request with userId = 1;
-
Get insured information Response:
{ "id": 1, "email": "[email protected]", "firstName": "John", "lastName": "Smith", "address": [ { "address1": "11 Birch Hill Street", "address2": "Apt. 123", "city": "Bronx", "postalCode": "10023", "state": "NY", "phone": "123-456-7890", "alias": "Home" } ], "preferences": { "paymentEmailsAllowed": false, "marketingEmailsAllowed": false, "paymentSMSAllowed": false } } -
Update insured’s payment email notifications Request with userId = 1:
{ "isAllowed": true } - Get insured information Request with userId = 1;
-
Get insured information Response:
{ "id": 1, "email": "[email protected]", "firstName": "John", "lastName": "Smith", "address": [ { "address1": "11 Birch Hill Street", "address2": "Apt. 123", "city": "Bronx", "postalCode": "10023", "state": "NY", "phone": "123-456-7890", "alias": "Home" } ], "preferences": { "paymentEmailsAllowed": true, // changed "marketingEmailsAllowed": false, "paymentSMSAllowed": false } }
Description
Turns payment email notifications on (isAllowed: true) or off (isAllowed: false) for this insured. When off, the email address of the insured does not receive payment notification emails.
An insured who was created by a merchant (for example through this API) and has not yet signed up is not affected by this setting. On a pending payment or a mass payment they get the invitation email, whatever the setting says. On a direct payment, such as Send ACH payment, they get no email. After they sign up, the setting applies as normal. See Which payments send emails.
A small number of required notices, such as compliance holds and automatic cash-out notices, are not controlled by this setting.
Updated 14 days ago