triPOS®

Cashback

Now, triPOS Cloud can modify cashback flags, isCashbackAllowed and cashbackOptions, using PATCH /cloudapi/v1/lanes/{{laneId}}/configuration endpoint.

The isCashbackAllowed allows you to enable or disable cashback for all debit transactions.

The cashbackOptions contains selectionAmounts and manualEntry. selectionAmounts is a set of comma-separated list of whole numbers or ‘other’ in configuration allows you to:

Through the API, if you want to allow selection options only, provide a comma-separated list of cashback amounts in the selectionAmounts parameter of the request. If you'd like to provide an 'other' option for manual entry, include the manualEntry section as well. To skip selection buttons and go straight to manual entry, provide only the manualEntry section in the request.

Cashback Request Specific

For more information please visit here.

Behaviors

Following behavior should be exhibited by cashback configurations in PATCH /cloudapi/v1/lanes/{{laneId}}/configuration endpoint:

Example

Here is an example request modifying cashback configurations:

{
  "isCashbackAllowed"true,
  "cashbackOptions": {
    "selectionAmounts": "1,2,other",
    "manualEntry": {
      "amountIncrement": 10,
      "maximumAmount": 100
    }
  }
}