The triPOS refund
endpoint maps to several Express endpoints depending on the payment type. Since refund does not take a transaction ID, it requires a card swipe.
If the card swiped is credit capable only, triPOS sends a CreditCardCredit
to Express. If the card is gift capable only, triPOS sends a GiftCardCredit
to Express.
If the card is debit capable only, AND the configuration value isDebitRefundSupported
is true
, triPOS sends a DebitCardReturn
to Express (there is no DebitCardCredit endpoint).
If the card has multiple capabilities, the PIN pad will prompt the cardholder to select the payment type. If isDebitRefundSupported
is false, the PIN pad will not
display Debit as a possible payment type. The PIN pad will not prompt the cardholder for cashback selection on a refund transaction. Currently, it always prompts for a signature for applicable payment types (credit).
If isDebitRefundSupported
is false, and the card is debit only, the endpoint will return an error in the API response.