POST https://posgateway.paymentsmojo.com/Links/<Action>
Despite their names, the
…Xml actions accept and answer JSON too (Formats).
Partial approvals
If a card is approved for less than the amount (a prepaid card short of funds), the gateway voids the authorization and answers with an error saying so, and the terminal shows Declined. Take another payment for the full amount.Long sales and recovery
A sale waits on the customer at the terminal. If the POS loses the answer (a network drop, or a sale left waiting for about four minutes), look it up withInquireXml by the sale’s order id before trying again: the payment may have
gone through. Always send a unique orderId with each sale for this reason.