Skip to main content

Send OTP

Send OTP

Postman Collection

URL

POST : /v1/service/aeps/sendOTP

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

merchantCode  (String)   Required
Merchant unique Code (You will get merchantCode from Merchant Onboarding API) (Max Length: 50)
mobile  (String)   Required
Merchant Mobile Number (Max Length: 10)
aadhaarNo  (String)   Required
Merchant Aadhaar Number (Max Length: 12)
panNo  (String)   Required
Merchant PAN Number (Max Length: 10)
routeType  (String)   Required
Api Service Type (Like icici) (Max Length: Fixed)
latitude  (String)   Required
Current location latitude (Max Length: 20)
longitude  (String)   Required
Current location latitude (Max Length: 20)

Request

Example Request
curl --location --request POST '/v1/service/aeps/sendOTP' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"merchantCode": "MC000123123",
"mobile": "9999999999",
"aadhaarNo": "987654321012",
"panNo": "ASDFG1234H",
"routeType":"icici",
"latitude": "27.8230122",
"longitude": "35.2121"
}'

Response Samples

{
"code": "0x0200",
"message": "000: OTP send successfully.",
"status": "SUCCESS",
"data": {
"token": "794d213a-3187-4a66-9ad6-b151451d314c",
"requestId": "e31abb0c-7066-40d9-9350-881b25b398a7",
"primaryId": "",
"info1": "",
"info2": ""
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x02082FATWO FACTOR AUNTHENTICATION