Get a list of all accounts for a customer

The GET {URI}/customers/{customerIdentifier}/accounts endpoint allows you to retrieve a list of all accounts created under a specific customer on your platform. This is especially useful for platforms that manage multiple reward budgets or programs within a single customer organization.

Use case

Acme Wellness has a customer, Zanzibar Health Group, that uses multiple accounts to manage different reward budgets—such as one for employee wellness and another for client engagement. Acme needs to retrieve a list of all accounts under this customer to check available balances, to set low balance alerts, and to send rewards from the correct account. Each account typically represents a separate budget or use case under that customer.

Use the following endpoint to get a list of all accounts created for a specific customer on your platform:

EndpointPurpose
GET {URI}/customers/{customerIdentifier}/accountsGet a list of all accounts created for a specific customer on this platform.

The following path parameters are used with this endpoint:

Path paramsData typeDescription
customerIdentifierstringA unique identifier for the customer under which you are seeking details. The string must have 5-100 characters.

The following query parameters are used with this endpoint:

Query paramsData typeDescription
paginatebooleanWhether to paginate the results or not.
-true: paginate the results.
-false: not to paginate the results. False is the default.
prevCursorstringThe cursor to use for the previous page of results. This will be ignored if paginate is false.
nextCursorstringThe cursor to use for the next page of results. This will be ignored if paginate is false.
maxResultsint32The maximum number of results to return. The default is 10, and the maximum is 200. This will be ignored if paginate is false.
accountNumberstringSpecify the account number to be queried.
displayNamestringSpecify the account display name to be queried.
statusstringSpecify the status to be queried.
-ACTIVEstringShow active accounts. When the account is active, you can conduct normal processing, fund, and place orders.
-INACTIVEstringShow inactive accounts. You cannot fund or place orders. Unlike disabled accounts, you cannot change the inactive status.
-DISABLEDstringShow disabled accounts. You can set your account to Disable without any assistance from Tango. Once your account is disabled, no transactions are allowed.
-FROZENstringShow the frozen accounts. With frozen accounts, your account has reached the velocity threshold. No transaction can be done until the freeze is lifted by Tango. Contact your Customer Success Manager (CSM) at [email protected] for questions or help.
-DELETEDstringShow the deleted accounts. When an account is deleted, it doesn't exist anymore.
contactEmailstringSpecify the contact email address to be queried.
currencyCodearray of stringsSpecify the currency code(s) to be queried.
We accept AUD, CAD, EUR, GBP, or USD currency. Only one currency can be specified. Currency can never be changed. The currency defaults to USD if no currency is specified.
minBalancenumberSpecify the minimum currentBalance to be queried.
maxBalancenumberSpecify the maximum currentBalance to be queried.
minDateCreatedAtdate-timeSpecify the earliest createdAt date to be queried.
maxDateCreatedAtdate-timeSpecify the latest createdAt date to be queried.
fundingNotificationEmailarray of stringsSpecify the funding notification email(s) to be queried.

The following payload is an example for this endpoint:

[
  {
    "currentBalance": 0,
    "contactEmail": "string",
    "fundingNotification": [
      {
        "emailAddress": "string"
      }
    ],
    "accountIdentifier": "string",
    "accountNumber": "string",
    "displayName": "string",
    "createdAt": "2024-03-14T16:18:41.061Z",
    "status": "string",
    "currencyCode": "string"
  }
]

Here's an example payload for when you receive an error:

{
  "timestamp": "2025-02-21T23:23:13.930Z",
  "requestId": "string",
  "path": "string",
  "httpCode": 0,
  "httpPhrase": "string",
  "i18nKey": "string",
  "message": "The error message will show here for error codes ",
  "errors": [
    {}
  ]
}

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.
500Something went wrong on the server, but the server cannot be more specific about what the exact problem is.
503The server is currently unable to handle the request due to temporary overload or maintenance.

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