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
https://api.cybersource.com
/risk/v1/authentications{ "clientReferenceInformation":{ "code":"cybs_test" }, "orderInformation":{ "billTo":{ "firstName":"Suman", "lastName":"Kumar", "address1":"Bagmane WTC", "address2":"Doddenakundi", "locality":"Bangalore", "country":"IN", "administrativeArea":"KA", "postalCode":"560048", "email":"test@domain.com", "phoneNumber":"7606160717" }, "amountDetails":{ "totalAmount":"100.00", "currency":"INR" } }, "paymentInformation":{ "card":{ "type":"061", "expirationMonth":"12", "expirationYear":"2025", "number":"6080900372345281", "securityCode" :"123" } }, "deviceInformation" :{ "httpAcceptBrowserValue" : "http", "userAgentBrowserValue" : "user", "ipAddress":"10.0.0.1" } }
Response
{ "clientReferenceInformation": { "code": "cybs_test" }, "consumerAuthenticationInformation": { "acsUrl": "https://pnrstage.ic3.com:9448/cybersource/payerAuthentication/paySecure/initiate?binType=S", "xid": "MTM0MjE0MjYzODEzMTIwODE3NTA=", "authenticationTransactionId": "MTM0MjE0MjYzODEzMTIwODE3NTA=", "pareq": "e0NCQ2l2fWs3SVplQTVsZytraXBrOEFSNldKQVJBQUVDVmFhQlI2cC9DNVAzRGMrcFl6T3N1L09RZjF3UEhRU2NYWDZ4Y0wyVjhMalhiT0xtZW5zRVJ6Zi9ONEhyN1JXQ2NzbVFSbkZrZUYySDBNOGFxODUyYnJiRG1FTnBqMHZ2Z1NObFo1dHdEYjFlVlAwdnd5NDZSamttUzFiclZKZ2dkbkJPZWVmMlpnajVMWjVSaHhBZUhPN2VBM3lLNm5lTUZJQ3g0K1pkcVU4NWJRZW9vZVNTZFFnOGhBL3ZzNlZ3S0FWMHhJZUdaanJwREVQZ1RXM1ZDNnlqdS8xLzhVTWxIUGV1QjhOb3B3YnA2Y1UwZDl0aU9IVUJEQ0J2NFYyM0F1ZXFZQVFMNi9ramdvSFJWSjdkdVBGSHllWXc5endnc2VidVkxeTBYTmRMSFpEYXdkSjJVcFJlaGFwOC9kVHNNNmVFbGQ4N2k1UXBBdE82STFOY0xERkZRbmNUY2VOSFU5b2JYWkdrMThGN29MeXBUeTZTZjJHSlZsb2ZhTUl6U1N4OXAzNmM0bjhqK2RSN3ZCazdteXBrSVBINW1zR25zNjROeExSNnRYTCswd216RHIzaHZrUFNnK3ZsK1dyU2Z1c0F1TjR6dmtLVitQcEpZQUdtOWJsODhrbjMvYzVXN2FCbWFYcjZaVg==", "veresEnrolled": "Y", "authenticationPath": "ENROLLED", "specificationVersion": "rupay", "token": "AxjzbwSTWmCT4JORCOKv/989TSoG953CyDpxAU+Xb2/+xcVYlDjA6AAA+AGE" }, "errorInformation": { "reason": "CONSUMER_AUTHENTICATION_REQUIRED", "message": "The cardholder is enrolled in Payer Authentication. Please authenticate the cardholder before continuing with the transaction." }, "id": "6389532602277120500399", "status": "PENDING_AUTHENTICATION", "submitTimeUtc": "2021-12-08T08:47:52Z" }