Updates balance limit

Updates balance limit

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
bdidstringRequiredformat: "uuid"
Balance Definition Id
blidstringRequiredformat: "uuid"
Balance Limit Id

Request

Balance Limits Payload
constraintTypeenumRequired
Defines whether the limit applies to transaction count or amount.
Allowed values:
durationUnitenumRequired
Unit of time for which the limit is applicable.
Allowed values:
durationValueintegerRequired
Number of time units for the balance limit.
transactionTypeenumRequired
Specifies whether the limit applies to credit or debit transactions.
Allowed values:
valueintegerRequired
Maximum allowed value for the specified constraint type.
slidingSchedulebooleanOptional
Determines if the limit resets on a rolling schedule.

Response

Successful update of balance limit
createdAtstring
Timestamp of when the balance limit was created.
updatedAtstring
Timestamp of the last update to the balance limit.
balanceDefinitionIdstring
balance definition ID
constraintTypestring

Defines the type of constraint (e.g., transaction-based or amount-based).

durationUnitstring

Time unit for the balance limit (day, week, month, year).

durationValueinteger
Number of time units the balance limit applies to.
idstring
Unique identifier for the balance limit.
slidingScheduleboolean
Indicates if the limit resets periodically based on a sliding schedule.
transactionTypestring
Specifies whether the limit applies to credit or debit transactions.
valueinteger
The maximum allowed value for the defined constraint.

Errors

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