Open mozvat opened 11 years ago
Comment Via Dan Ourada
I do not like the use of Delete in a RESTful api for transaction processing. I cannot think of a time when a POS dev would want to “delete” a transaction. Unless MPS is attempting to shift transaction processing nomenclacture? That’s cool but I doubt that’s what you are trying to do so I would remove all delete verbs and use TransactionType with a POST or GET.
That's fair - I can imagine that there are some benefits to NOT using DELETE - developer confusion reduction being one of them.
There are some subtle difference of why to use Voids and Returns with card swipe and card present. This is a classic example of how we appear more 'complicated' then Stripe.
In many cases, InvoiceNum can also be used intead of RefNo (which is 'required' in the DSI xml spec)
Trancode: VoidSale() Usage: To void a previously completed sale (payment) transaction in the current batch on a credit card
Required fields: (Swiped Credit Void Sale Transaction)