Get balance list

Returns contact balances for a given balance definition across all subscriptions.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

pidstringRequiredformat: "uuid"
Loyalty Program Id

Query parameters

includeInternalbooleanOptional
Include balances tied to internal definitions.
limitintegerOptional1-500
Limit the number of records returned
offsetintegerOptional>=0
Skip a number of records
sortenumOptional
Sort order
Allowed values:
sortFieldenumOptional
Field to sort by
Allowed values:
balanceDefinitionIdstringRequiredformat: "uuid"

Balance Definition ID (required)

Response

Successful retrieval of contact balance
balanceDefinitionIdstring
balanceslist of objects
countinteger
loyaltyProgramIdstring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error