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

pan  (String)   Required
Merchant PAN Number (Max Length: 10)
aadhaarNo  (String)   Required
Merchant Aadhaar Number (Max Length: 12)
latitude  (String)   Required
Current location latitude (Max Length: 20)
longitude  (String)   Required
Current location latitude (Max Length: 20)
mobile  (String)   Required
Merchant Mobile Number (Max Length: 10)

Request

Example Request
    curl --location '/v1/service/aeps/sendOTP' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"pan": "ENXXXXX56A",
"aadhaar": "55XXXX132742",
"latitude": "26.600000",
"longitude": "82.133904",
"mobile": "965XXXX986"
}'

Response Samples

    {
"code": "0x0200",
"message": "OTP Send Successfully.",
"status": "SUCCESS",
"data": {
"primaryKeyId": 3276168,
"encodeFPTxnId": "EKYKF577XXXXX7122315XXXXX64I"
}
}

Response Code

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