Two Factor Authentication
Two Factor Authentication
Postman Collection
URL
POST : /v1/service/aeps/2faHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
merchantLoginId (String) Required
Merchant unique Code(You will get merchantLoginId from Merchant Onboarding API) (Max Length: 20)
Merchant unique Code(You will get merchantLoginId from Merchant Onboarding API) (Max Length: 20)
rdRequest (String) Required
Biometric data details (Max Length: Pid Data)
Biometric data details (Max Length: Pid Data)
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)
Request
Example Request
curl --location '/v1/service/aeps/2fa' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantLoginId" : "MID69374XXXXX",
"rdRequest": "<?xml version=\"1.0\"?>\n<PidData>\n <Resp errCode=\"0\" errInfo=\"Success.\" fCount=\"1\" fType=\"2\" nmPoints=\"53\" qScore=\"67\" \/>\n <DeviceInfo dpId=\"MANTRA.MSIPL\" rdsId=\"MANTRA.WIN.001\" rdsVer=\"1.0.8\" mi=\"MFS100\" mc=\"MIIEGDiOpx1w==<\/Data>\n<\/PidData>",
"latitude": "26.600000",
"longitude": "82.133904"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "2FA completed successfully",
"status": "SUCCESS"
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Duplicate Biometric data"
}
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 |