Simple Order API | Visa Platform Connect

XML Example: Basic Credit Card Authorization Reversal Using the Simple Order API

Authorization Reversal Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.121"> <merchantID>retail_910</merchantID> <merchantReferenceCode>MS299131501003</merchantReferenceCode> <purchaseTotals> <currency>USD</currency> <grandTotalAmount>99.49</grandTotalAmount> </purchaseTotals> <ccAuthReversalService run="true"> <authRequestID>6152173358406291304007</authRequestID> </ccAuthReversalService> <paymentSolution>008</paymentSolution> </requestMessage>
Authorization Reversal Response
<c:replyMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.121"> <c:merchantReferenceCode>MS299131501003</c:merchantReferenceCode> <c:requestID>1019827520348290570293</c:requestID> <c:purchaseTotals> <c:currency>USD</c:currency> </c:purchaseTotals> <c:ccAuthReversalReply> <c:amount>99.49</c:amount> <c:authorizationCode>1</c:authorizationCode> </c:ccAuthReversalReply> </c:replyMessage>