The triPOS return
endpoint maps to several Express endpoints depending on the payment type. Since return takes a transaction ID, it does not require a card swipe.
The payment type must be passed in as a part of the request path. If the payment type is credit, triPOS sends a CreditCardReturn
to Express. If the payment type is gift, triPOS sends a GiftCardReturn
to Express.
If the card type is debit, triPOS will return an error. To use the Express method DebitCardReturn
see the triPOS method refund
.