REST Example: One-Time Password Resend (with Token)

Light Dark
Request
12345678910111213141516171819202122232425262728293031323334353637383940
{"clientReferenceInformation":{ "code":"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":{ "tokenizedCard": { "transactionType":"1", "cryptogram":"AxjzbwSTWXrGh42hi2ugABEBTSoX+EHukDpxAUqXb8n+Wcc3UiIJAPAAhhO5", "number":"50823012264085197", "expirationMonth": "11", "expirationYear": "2021", "securityCode" :"123", "type":"061" } }, "consumerAuthenticationInformation":{ "authenticationTransactionId" :"00000012345330094331258803" }, "deviceInformation" :{ "httpAcceptBrowserValue" : "accept", "userAgentBrowserValue" : "user", "ipAddress":"10.0.0.1" }}
Response
1234567891011121314151617181920
{"clientReferenceInformation": { "code": "test" }, "consumerAuthenticationInformation": { "validityPeriod": "05", "authenticationTransactionContext": "100000000000000000000000025253", "authenticationTransactionId": "00000012345330094331258803", "veresEnrolled": "Y", "authenticationPath": "ENROLLED", "authenticationType": "20", "specificationVersion": "rupay", "token": "AxjzbwSTWc8FjykV5njC/989TSoGbqd6yDpxAUxXb2/+xcVYlDjA/AAAVgJm" }, "errorInformation": { "reason": "CONSUMER_AUTHENTICATION_REQUIRED", "message": "The cardholder is enrolled in Payer Authentication. Please authenticate the cardholder before continuing with the transaction." }, "id": "6379044192177153800386", "status": "PENDING_AUTHENTICATION", "submitTimeUtc": "2021-11-26T05:26:59Z"}