The sale endpoint accepts cashback options in the configuration
section of the request.
This allows you to specify cashback options per-request, rather than requiring every request to use the global cashback options from the triPOS.config.
The cashbackOptions
section is not required, and you can continue to use the triPOS.config settings like usual by omitting the cashbackOptions
section altogether from the request.
If your triPOS.config is set to allow cashback, but you'd like to disable cashback for a given request, include an empty cashbackOptions
section in the request.
If your triPOS.config is set to not allow cashback, or if you'd like to use different cashback options for this request, send cashbackOptions
with the desired values.
See below for more information on how to configure cashback settings:
triPOS provides two means for obtaining a cashback choice from the cardholder:
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.