Simple Order API | Visa Platform Connect

XML Example: AFT Request Using the Simple Order API

Request: Authorization Service for an AFT
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.115"> <merchantID>MoneyTransferService123</merchantID> <merchantReferenceCode>123456789</merchantReferenceCode> <invoiceHeader> <businessApplicationID>AA</businessApplicationID> </invoiceHeader> <billTo> <firstName>John</firstName> <lastName>Doe</lastName> <street1>1 Northeastern Blvd</street1> <city>Bedford</city> <state>NH</state> <postalCode>03109-1234</postalCode> <country>US</country> <email>jdoe@example.com</email> </billTo> <purchaseTotals> <currency>USD</currency> <grandTotalAmount>10</grandTotalAmount> </purchaseTotals> <card> <accountNumber>4111111111111111</accountNumber> <expirationMonth>12</expirationMonth> <expirationYear>2016</expirationYear> </card> <ccAuthService run="true"/> <merchantCategoryCode>4829</merchantCategoryCode> <aft> <indicator>true</indicator> </aft> </requestMessage>
Response: Authorization Service for an AFT
<c:replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.115"> <c:merchantReferenceCode>123456789</c:merchantReferenceCode> <c:requestID>0305782650000167905080</c:requestID> <c:decision>ACCEPT</c:decision> <c:reasonCode>100</c:reasonCode> <c:purchaseTotals><c:currency>USD</c:currency></c:purchaseTotals> <c:ccAuthReply> <c:reasonCode>100</c:reasonCode> <c:amount>10</c:amount> <c:authorizationCode>888888</c:authorizationCode> <c:avsCode>X</c:avsCode> <c:avsCodeRaw>I1</c:avsCodeRaw> <c:processorResponse>100</c:processorResponse> <c:reconciliationID>11951031P9G9UOJR</c:reconciliationID> </c:ccAuthReply> </c:replyMessage>