Update insured’s payment email notifications

📘

API Refs

URI Parameters

NameTypeDescriptionRequired
userIdnumberinsure idyes

Request body

NameTypeDescriptionRequired
isAllowedbooleanEnable or Disable notificationsyes

Example

  1. Get insured information Request with userId = 1;
  2. 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
      }
    }
  3. Update insured’s payment email notifications Request with userId = 1:

    {
      "isAllowed": true
    }
  4. Get insured information Request with userId = 1;
  5. 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.


Did this page help you?