allowDebit is a configuration parameter in triPOS that controls whether debit transactions are enabled.
When set to true, debit is enabled for transactions; when set to false, debit is disabled.
The default value of this parameter is false.
In triPOS Direct:
Most configuration values are defined in the triPOS.config file and apply to all transactions by default.
However, in cases where per-transaction control is needed, certain parameters are exposed through the
transaction API.
The allowDebit parameter can be used to override the isDebitSupported setting defined in the triPOS.config file
for a specific request. The default value of the isDebitSupported parameter is false.
In triPOS Cloud:
Debit support is controlled using the allowDebit parameter at the lane configuration level.
When allowDebit is set to false, debit
transactions are disabled; however, credit transactions will continue to function normally.
The allowDebit parameter can be updated using the following endpoint:
PATCH /cloudapi/v1/lanes/{{laneId}}/configuration.
It can also be provided inline in a transaction API request to override the lane configuration setting.
Usage examples below:
isDebitSupported flag in triPOS.config to define the default behavior.
allowDebit flag in lane configuration to define the default behavior.
allowDebit with a value of true.
allowDebit with a value of false.
Note: The allowDebit parameter works in coordination with allowedPaymentTypes and preferredAid.
Ensure these settings are properly configured, particularly preferredAid to achieve correct debit transaction
behaviour, especially for contactless U.S. Debit AID transactions.