Simple Order API

Example: Authorization

Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data- 1.145"> <merchantID>tpm_rupay</merchantID> <merchantReferenceCode>Merchant_Ref</merchantReferenceCode> <billTo> <firstName>John</firstName> <lastName>Doe</lastName> <street1>1st street</street1> <city>Bangalore</city> <state>KA</state> <postalCode>94043</postalCode> <country>IN</country> <email>john.doe@example.com</email> <ipAddress>1.1.1.1</ipAddress> </billTo> <purchaseTotals> <currency>INR</currency> <grandTotalAmount>120</grandTotalAmount> </purchaseTotals> <card> <accountNumber>6074819900004939</accountNumber> <expirationMonth>12</expirationMonth> <expirationYear>20</expirationYear> <cvNumber>123</cvNumber> </card> <ccAuthService run="true"> <cavv>PpmBUYXt2uytV6p12345KuImAb8XgnOk</cavv> <commerceIndicator>rpy</commerceIndicator> <xid>WhPlErd9WE1234562pb1yFjFHlewUIQwQ</xid> <veresEnrolled>Y</veresEnrolled> <paresStatus>Y</paresStatus> </ccAuthService> </requestMessage>
Response
<c:replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data- 1.145"> <c:merchantReferenceCode>0123456789</c:merchantReferenceCode> <c:requestID>1921312345620167904567</c:requestID> <c:decision>ACCEPT</c:decision> <c:reasonCode>100</c:reasonCode> <c:purchaseTotals> <c:currency>INR</c:currency> </c:purchaseTotals> <c:ccAuthReply> <c:reasonCode>100</c:reasonCode> <c:amount>120</c:amount> <c:authorizationCode>ABC12345</c:authorizationCode> <c:processorResponse>0</c:processorResponse> <c:reconciliationID>19119123438</c:reconciliationID> </c:ccAuthReply> </c:replyMessage>