Simple Order API

Example: Enrollment Service

In the enroll response, the URL returned by
Cybersource
provides the type of card. For instance, if a URL, includes
binType=S
," the card/BIN type of the RuPay card is
S
, which is a single message BIN. When
Cybersource
returns this type of BIN, send the authorization service and capture service API requests to
Cybersource
at the same time.
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> <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>llService run ="true"> <httpAccept>text/ html,application/xhtml+ <expirationYear>20</expirationYear> <cvNumber>123</cvNumber> </card> <payerAuthEnroxml,application/xml;q=0.9,image/webp,image/ apng,*/*;q=0.8</httpAccept> <httpUserAgent>Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/ MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Mobile Safari/537.36</httpUserAgent> </payerAuthEnrollService> </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- 1343922504"> <wsu:Created>2018-10-10T09:07:30.755Z</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>5391624464076018403031</c:requestID> <c:decision>REJECT</c:decision> <c:reasonCode>475</c:reasonCode> <c:requestToken>AhjzbwSTJEfR/AbE7cbX3z1P90c3QRFkHXcEC2u3t/ 9i4nmpQYCKAAAA9Abp</c:requestToken> <c:payerAuthEnrollReply> <c:reasonCode>475</c:reasonCode> <c:acsURL>https://pnrstage.ic3.com:9448/cybersource/ payerAuthentication/paySecure/initiate?binType=S</c:acsURL> <c:paReq>e0NCQ2l2fUJlMHM5eFowTCt4SFNTTzBvNmZJT1N1aUlSUFZyRTN5RmxPNHQxV2 U5d3J2bHQvdVQ2SWhBWS9sTnc3em1NcWhPNTQxT01Dc2RIc01ZMU5lVzRIdWlHMTBSU0pac TRYOXNuMGFBUC9HL2YxYlpySS9ldit6YmpsS2MrcEJFUWIxb095aVFDaWZraXhHSmxSRlcr dTZkT2lVeFlQNS9aWFJEMXRrakQwWFVJdXFMY0RIR2JVWFloWE0zL1dhTzJQdER5Y1VoQ2h zSm1pbzZSNXpueDIxNTF1blU0RmMvY0RKRGMzVFE4SDVXVW1QNm1PVjZXWnIwZUx2MFFCSW JodUkvZHJEd0Y2d2dNSGpRRHNnd0o1bUtPUXdmTmxHdlFTT0dGcUdaLzVGd0JjTFpQNWxIZ 3FoRnhHT1FOeGc0UmJteXROMVdDQVBualdoSUJlcGYvaVF3dUx1NGRqWHRLelhkdmtZMjlC dEJhSjBnaDgxVk5mMitEdHpNVmpPL0RhUEZ2Nlp5dkJDMFltQjJTMnJSMlVnNVlONmQrcEx XczhNalVEKzNjYzV0Nml3WVNmZmIwUUNPbmNjLzRpR3JXaXBYVDFNWjBoeDNqKzBEaitRZE 52TDZ0YVZjSDZoNUFHd0U5RGpDRWpiVzZEZ243bGY0cjdTMVEzYzlDL3RzTldBcXErZ0l2W mFXU0czRUpOdloyNmJHeVExNG9POTJkRG5jMWZ1elQ3ci84dEV6RjlvRUJScHdRSFk3NTN1 ODFuWWVBQWJJOU5Zbi9RblhkdzdJc1R6d2pMaW5SdmNnOXFCTzBHNUxtK0RlMVE9</ c:paReq> <c:xid>ODI4MzE0MjU3NjI4</c:xid> <c:veresEnrolled>Y</c:veresEnrolled> <c:authenticationPath>ENROLLED</c:authenticationPath> <c:specificationVersion>rupay</c:specificationVersion> <c:authenticationTransactionID>ODI4MzE0MjU3NjI4</ c:authenticationTransactionID> </c:payerAuthEnrollReply> </c:replyMessage> </soap:Body> </soap:Envelope>