Simple Order API | Visa Platform Connect

XML Example: OCT Request Using the Simple Order API

Request: OCT Service
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.135"> <merchantID>BigInsuranceCo123</merchantID> <merchantReferenceCode>123456789</merchantReferenceCode> <invoiceHeader> <merchantDescriptorCity>Visa Direct</merchantDescriptorCity> <businessApplicationID>FD</businessApplicationID> </invoiceHeader> <purchaseTotals> <currency>USD</currency> <grandTotalAmount>2500.00</grandTotalAmount> </purchaseTotals> <card> <accountNumber>4111111111111111</accountNumber> <expirationMonth>12</expirationMonth> <expirationYear>2020</expirationYear> </card> <octService run="true"> </octService> <recipient> <lastName>Smith</name> <firstName>William</name> </recipient> <sender> <sourceOfFunds>04</sourceOfFunds> <state>CA</state> <accountNumber>5555555555554444</accountNumber> </sender> </requestMessage>
Response: OCT Service
<c:replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.135"> <c:merchantReferenceCode>123456789</c:merchantReferenceCode> <c:requestID>0305782650000167905081</c:requestID> <c:decision>ACCEPT</c:decision> <c:reasonCode>100</c:reasonCode> <c:purchaseTotals_currency>USD</c:purchaseTotals_currency> <c:octReply> <c:reasonCode>100</c:reasonCode> <c:requestDateTime>2017-10-23T23:24:32Z</c:requestDateTime> <c:reconciliationID>94820975023471</c:reconciliationID> <c:processorResponse>00</c:processorResponse> <c:approvalCode>831000</c:approvalCode> <c:amount>2500.00</c:amount> <c:paymentNetworkTransactionID>123456789012345</c:paymentNetworkTransactionID> </c:octReply> </c:replyMessage>