Generate OTP API


Request Method :: POST
Base URL: Will be shared later.
Endpoint: /apiV2/ppcard/mw/card/generate_otp
Description: This API facilitates to generate OTP and send to the registered mobile number.

Headers


Content-Type: application/JSON
client_secret: To be shared during integration by ISU Team
client_id:  To be shared during integration by ISU Team

Request Body Parameters

Parameters Parameter description with validations Sample Data type Mandatory/Optional
params params. It should be passed during OTP verification "LOADCUST3" String Mandatory
expiryTime Expiry Time. It can be minimum 5 minutes and maximum 30 minutes "10" Numeric String Mandatory
channel It can be either ANDROID or WEB "ANDROID" String Mandatory
purpose Information regarding the purpose "LOAD_CUSTOMER" String Mandatory
deviceId Device Id "123456" String Optional
latLong Latitude and longitude "12.3.4,12.34.45" String Mandatory
amount Amount that will be loaded "1" Numeric String Mandatory
remarks Remarks "test" String Optional

Sample Request Body


Response Body Parameters

Parameters Description Data type
statusCode Status Code(0/1) String
statusDesc Status Description of Status String
status SUCCESS/FAILED String

Sample Response Body


SUCCESS:

 

FAILED:

If card is not mapped to the customer.

 

Detailed Status Codes

Status Response Type Description
0 SUCCESS OTP generated successfully and sent to your registered mobile number ending with <***mobile number last four digits>!!
1 FAILED Utr number is already verified. Please retry with new Utr number.