Send OTP
Send OTP
Postman Collection
URL
POST : /v1/service/aeps/sendOTPHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
pan (String) Required
Merchant PAN Number (Max Length: 10)
Merchant PAN Number (Max Length: 10)
aadhaarNo (String) Required
Merchant Aadhaar Number (Max Length: 12)
Merchant Aadhaar Number (Max Length: 12)
latitude (String) Required
Current location latitude (Max Length: 20)
Current location latitude (Max Length: 20)
longitude (String) Required
Current location latitude (Max Length: 20)
Current location latitude (Max Length: 20)
mobile (String) Required
Merchant Mobile Number (Max Length: 10)
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
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "OTP Send Successfully.",
"status": "SUCCESS",
"data": {
"primaryKeyId": 3276168,
"encodeFPTxnId": "EKYKF577XXXXX7122315XXXXX64I"
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Send OTP Failed."
}
Response Code
Status Code | Status | Message |
---|---|---|
0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
0x0202 | FAILURE | FAILURE USER |
0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
0x0206 | PENDING | TRANSACTION PENDING |