Skip to main content

Aadhaar Pay

Aadhaar Pay

Postman Collection

URL

POST : /v1/service/aeps/aadhaarPay

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: 20)
mobile  (String)   Required
Customer Mobile Number (Max Length: 10)
aadhaarNo  (String)   Required
Customer Aadhaar Number (Max Length: 12)
routeType  (String)   Required
Api Service Type (Like ICICI) (Max Length: Fixed)
amount  (Number)   Required
Amount to be withdrawn (Max Length: 5)
ip  (String)   Required
Merchant IP Address (Max Length: 50)
rdRequest  (String)   Required
Biometric data details (Max Length: Pid Data)
latitude  (String)   Required
Current location latitude (Max Length: 20)
longitude  (String)   Required
Current location latitude (Max Length: 20)
bankiin  (String)   Required
Unique bank identification number (You will get it from list of banks API) (Max Length: 10)

Request

Example Request
    curl --location --request POST '/v1/service/aeps/aadhaarPay' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"merchantCode": "MC000123123",
"mobile": "9999999999",
"aadhaarNo": "987654321012",
"routeType": "icici",
"amount":100,
"ip":"117.96.7.205",
"rdRequest" : "<PidData><Resp errCode=\"0\" errInfo=\"\" fCount=\"1\" fType=\"0\" iCount=\"\" pCount=\"\" pgCount=\"\" pTimeout=\"\" nmPoints=\"44\" qScore=\"46\n\"\/><DeviceInfo dpId=\"Morpho.SmartChip\" rdsId=\"SCPL.WIN.001\" rdsVer=\"1.0.8\" dc=\"6ff7b5c1-ae75-4965-b572-8af00133455c\" mi=\"MSO1300E3L0SW\" mc=\"MIIEGzCCAwOgAwIBAgVxkyapXk=<\/Data><\/PidData>",
"latitude": "27.8230122",
"longitude": "35.2121",
"bankiin":"607396"
}'

Response Samples

    {
"code":"0x0200",
"message": "000: AadhaarPay transfer successfully.",
"status":"SUCCESS",
"data":{
"clientRefNo":"AAP690263647523548844",
"routeType":"icici",
"bankiin":"607396",
"stanNo":"XTL92D48484FB0B6482372C89456264747CJ",
"rrn":"190585616013",
"bankMessage":"Request Completed",
"bankCode":"10000",
"merchantCode":"MC000123456",
"merchantMobile":"9999999999",
"aadhaarNumber":"9876XXXXXXXX1012",
"transactionType":"AP",
"transactionDateTime":"2022-02-07 12:17:22",
"transactionAmount":"100",
"availableBalance":"900"
}
}

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