post https://xyz.xyz.in/service-api/api/v1/service/aeps/kyc/Twofactorkyc/merchant_authencity
This api provides unique merchant authencation txnid for every cash withdraw transaction.
BODY parameter before encryption
MINIMUM REQUEST TIMEOUT TIME : 180 second
PARAMETER | TYPE | VALUE LIKE |
---|---|---|
accessmodetype | string | APP OR SITE |
adhaarnumber | integer | XXXXXXXX1234 |
mobilenumber | integer | 9900000099 |
latitude | decimal(2,7) | 22.44543 |
longitude | decimal(2,7) | 77.43458 |
referenceno | string | 43542343434(unique txn value) |
submerchantid | alphanumeric | Merchant code |
timestamp | datetime | Timestamp of the request.( Y-m-d H:i:s ) |
data | xml | Device XML Data |
ipaddress | string | 9.9.9.9 |
RESPONSE CODE
SNo | HTTP Response Code | Response Code | Error Code | Description |
---|---|---|---|---|
1 | 200 | 1 | 0 | Merchant Authenticate Successfully. |
2 | 200 | 0 | XX | Error from bank. |
3 | 401 | 3 | NA | Invalid Request, Please try again. |
4 | 406 | 27 | NA | Fingerprint capture failed.,Try again with replug RDdevice , Fingerprint capture failed.,Try again |
5 | 404 | 23 | NA | Merchant is blocked at NPCI end.Please contact to bank. |
6 | 200 | 1 | 2 | Authentication Already Completed. |
7 | 200 | 0 | 0 | Registration Failed due to data mismatch |
8 | 200 | 0 | 0 | Authentication failed due to invalid Aadhar. |
9 | 404 | 2 | 3 | Merchant two-factor registration is pending. |
10 | 404 | 23 | NA | Merchant is blocked at NPCI end.Please contact to bank. |
11 | 404 | 24 | NA | Merchant onboading is Pending,Please onboard merchant again |
12 | 404 | 25 | NA | MerchantID not found.,Please onboard merchant |
13 | 401 | 12 | NA | AEPS Service is down. |
14 | 401 | 13 | NA | Pipe is not activated for the ".$partner_info['username'].",Please contact service provider |
15 | 401 | 15 | NA | Invalid Partner details |
16 | 401 | 8 | NA | validation errors,Fingerprint data is required.,submerchant code is required.,Timestamp is require.,Unable to find referenceno.,Unable to detect aadhar.,Unable to find mobile., Unable to find location., |
17 | 401 | 20 | NA | Unable to decrypy encrypted body. |
18 | 401 | 11 | NA | Authentication failed, Please contact service provider. |