Set a low balance alert for a customer account

🚧 Coming soon


The low balance alert feature in the Tango API allows you to create, update, and manage alerts that notify users when an account’s balance falls below a specified threshold. This helps ensure that reward programs remain funded and that users are aware of low balances before attempting to redeem rewards.

Use case

Acme Wellness provides employees with monthly wellness stipends through individual spending accounts for their gym memberships. Acme developers use the following endpoint to ensure employees are notified when their wellness account balance drops below a certain threshold. Notified employees can then plan their spending or request a top-up.

EndpointPurpose
POST {URI}/customers/{customerIdentifier}/accounts/{accountIdentifier}/lowbalanceSet a low balance alert on my account.

The following values are part of your URL path for this API request. customerIdentifier is a string used to identify the Group (Customer) that contains the account you are transacting from:

Path paramData typeRequirementDescription
customerIdentifierstringrequiredA unique identifier for the customer under which you are seeking details. The string must have 5-100 characters. (????)
accountIdentifierstringrequiredSpecify the exact account to be monitored. The string must have 5-100 characters. (???)

The following data can be sent in the body of your request to the server:

Body paramsData typeRequirementDescription
balanceAlertDisplayNamestringrequiredA friendly name for this low balance alert (will be displayed in the Tango Portal).
balanceAlertThresholdstringrequiredThe threshold amount that will trigger the low balance alert.
balanceAlertNotificationarray of objectsoptionalSend low balance notification emails to the following address(es). A provided list replaces the existing list, an empty list clears all existing emails, and a null/omitted value leaves the list unchanged.

Here is an example of the returned payload:

{
  "createdAt": "2025-07-15T17:00:04.933Z",
  "balanceAlertID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "customerIdentifier": "string",
  "accountIdentifier": "string",
  "balanceAlertDisplayName": "string",
  "balanceAlertThreshold": 0,
  "balanceAlertNotification": [
    {
      "emailAddress": "string"
    }
  ]
}

The possible response codes for this endpoint are as follows. For details, see i18nkey codes and their error messages:

Response codeMeaning
200The request was successful.
400The server could not understand the request due to invalid syntax.
401Authentication is required and has either not been provided or failed.
403The server understood the request but refuses to authorize it.
409The server understands the request but cannot process it due to semantic errors.
500A generic error occurred on the server.

© 2025 Tango API are provided by Tango, a division of BHN, Inc.