On This Page
Simple Order API
Example: Validate Authentication Service
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:schemas-cybersource-com:transaction-data-1.145"> <soapenv:Header/> <soapenv:Body> <requestMessage xmlns="urn:schemas-cybersource-com:transactiondata- 1.145"> <merchantID>tpm_rupay</merchantID> <merchantReferenceCode>Merchant_Ref</merchantReferenceCode> <purchaseTotals> <currency>INR</currency> <grandTotalAmount>120</grandTotalAmount> </purchaseTotals> <payerAuthValidateService run="true"> <signedPARes>e0NCQ2l2fTlLTDJ2VzJFRG8vN0RZbDRXM28xY1VHZkxPdWF3MC9XQnViOU d1bjQ3MkUvS2tZdlhoRmVqUzlzdldQRVZ3NDd3R1J2ZzNGUnlXSnRUVVBFeS8xSkFLbnQ3d 3FpZUxRM29xb1ZKOFF5M21tdUJuVWc1TmZNV3V2T0pjSStEQ2hrVFEvNmJGdk9pNzVWdDdn bFpKeVBEd3dMalltMG5tOGhxVlE5MWwxbEJieXA5cHhRVFhWQVRQMWlIVlRBbEtYLytTTnV odllKOUFqaWMyRU5JZ244OUpadzJmSENQRlZaUG1OSTNQbHhSQS9aSHlpNjdFa1hnT1lFYj VidktkRW1WLzY4ZUdyOWU2Q1B1VDU0bzdkc0Y0cW1FTnlpN2dzazdUa01seEhvQi9PdGZNO GI4UnVCd0plTUh5aGNnbUt6bi9mMUxrMlNHVlQxQTJ6V3VuckZDRmN5RjdkZ0hQTVJ1SXFj b2g4b1NQSHRqRlhEN3QzTi9ZZ1Jxa2dEOWsvcEZUOE9kbnlYNWdQWUpDSGNwWGYrS1I4c25 Xa3VscVVKWFBUazQ3aHVjYVYvUzJ5NGxqOUhVTnNmQTFrSGRmM0M5N1BaNFFwb2R6eEVRUS 9YVWI2MWRzVXQvQld4cE9acFBZNytNbnd3QVB4a1Y4UUY1Z0NURWRjR3hFU2FFWGJRUmVTM EtjY1FjS1lqMGZlV3hHSHB6N2o0VG9HUCtxdzkzekY1WFBaQ2RCMUxoa2pETk91SmdIb2dl OC9RcXFzQXd0TmNXOEo0SGM4RlhBa1dtNTBVSWg2TXFXc3BJU3VMZUNhazJyLzhUQU1pcXN taDRBTnhSS0VPTWxRK2ZNY2dkUG8yZ0w4eFlnc25tdmE3bG1iYVN3PT0mQ0FSRF9UWVBFPT A2MQ==</signedPARes> </payerAuthValidateService> </requestMessage> </soapenv:Body> </soapenv:Envelope>
Response
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/ 01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/ 2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp- 1675446337"> <wsu:Created>2018-10-10T11:21:30.926Z</wsu:Created> </wsu:Timestamp> </wsse:Security> </soap:Header> <soap:Body> <c:replyMessage xmlns:c="urn:schemas-cybersource-com:transactiondata- 1.145"> <c:merchantReferenceCode>Merchant_Ref</ c:merchantReferenceCode> <c:requestID>5391704908026004903031</c:requestID> <c:decision>ACCEPT</c:decision> <c:reasonCode>100</c:reasonCode> <c:requestToken>AhjzLwSTJEjvx19sNBR33z1P90c3QflkHXcEC3DJt/ 9i4nmpQYAAvDmh</c:requestToken> <c:payerAuthValidateReply> <c:reasonCode>100</c:reasonCode> <c:authenticationResult>0</c:authenticationResult> <c:authenticationStatusMessage>Success</ c:authenticationStatusMessage> <c:cavv>NTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAyMTkyNjAw</c:cavv> <c:commerceIndicator>rpy</c:commerceIndicator> <c:eci>05</c:eci> <c:eciRaw>05</c:eciRaw> <c:xid>ODI4MzE2MjU5MjE0</c:xid> <c:paresStatus>Y</c:paresStatus> <c:specificationVersion>rupay</c:specificationVersion> </c:payerAuthValidateReply>