Get Active Balances API
Returns Active Balances
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program Id
Query parameters
limit
Limit
offset
Offset
sort_field
Sort Field
sort
Sort Order
contact_id
Contact ID
balance_definition_id
Balance Definition ID
Response
Successful retrieval of active balance
createdAt
Timestamp of when the balance limit was created.
updatedAt
Timestamp of the last update to the balance limit.
balanceDefinitionId
balance definition ID
constraintType
Defines the type of constraint (e.g., transaction-based or amount-based).
durationUnit
Time unit for the balance limit (day, week, month, year).
durationValue
Number of time units the balance limit applies to.
id
Unique identifier for the balance limit.
slidingSchedule
Indicates if the limit resets periodically based on a sliding schedule.
transactionType
Specifies whether the limit applies to credit or debit transactions.
value
The maximum allowed value for the defined constraint.