Mini Statement
AEPS Mini Statement
Postman Collection
URL
POST : /v1/service/aeps/statementHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
merchantCode (String) Required
Merchant unique Code (You will get merchantCode from Merchant Onboarding API) (Max Length: 20)
Merchant unique Code (You will get merchantCode from Merchant Onboarding API) (Max Length: 20)
mobile (String) Required
Customer Mobile Number (Max Length: 10)
Customer Mobile Number (Max Length: 10)
aadhaarNo (String) Required
Customer Aadhaar Number (Max Length: 12)
Customer Aadhaar Number (Max Length: 12)
routeType (String) Required
Api Service Type (Like ICICI) (Max Length: Fixed)
Api Service Type (Like ICICI) (Max Length: Fixed)
amount (Number) Required
Amount to be withdrawn (Max Length: 5)
Amount to be withdrawn (Max Length: 5)
ip (String) Required
Merchant IP Address (Max Length: 50)
Merchant IP Address (Max Length: 50)
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)
bankiin (String) Required
Unique bank identification number (You will get it from list of banks API) (Max Length: 10)
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/statement' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"merchantCode": "MC000123123",
"mobile": "9999999999",
"aadhaarNo": "987654321012",
"routeType": "icici",
"ip":"117.96.7.205",
"rdRequest":"<PidData><Resp errCode=\"0\" errInfo=\"\" fCount=\"1\" fType=\"0\" iCount=\"\" pCount=\"\" pgCount=\"\" pTimeout=\"\" nmPoints=\"31\" qScore=\"43\n\"/><DeviceInfo dpId=\"Morpho.SmartChip\" rdsId=\"SCPL.WIN.001\" rdsVer=\"1.0.8\" dc=\"6ff7b5c1-ae75-4965-b572-8af00133455c\" mi=\"MSO1300E3L0SW\" mc=\"MIIEGzCCAwOgAwIBAgIGAX4Ab+wFMA0GCSqGSIb3D...rxz9VOxpHVeZhZnxCj2o8</Data></PidData>",
"latitude": "27.8230122",
"longitude": "35.2121",
"bankiin":"608032"
}'
Response Samples
- Airtel
- ICICI
- SBM
- FAILED
- 2FAUTH
{
"code":"0x0200",
"message":"000: Mini statement fetched successfully.",
"status":"SUCCESS",
"data":{
"clientRefNo":"AMScfc513sds42900546314",
"routeType":"icici",
"bankiin":"607027",
"stanNo":"XABAF1AD6EB674AB",
"rrn":"2173095845",
"bankMessage":"SUCCESS",
"bankCode":"000",
"statusCode":"",
"merchantCode":"MC0000994",
"aadhaarNumber":"XXXXXXXX1371",
"transactionType":"MS",
"transactionDateTime":"2022-06-22T09:30:30",
"transactionAmount":"0",
"availableBalance":"89.40",
"statement":[
"09\/06 FIK\/D\/3953:01-03 C 1.00",
"22\/05 FIK\/W\/4221555957 D 1010.00",
"03\/03 FIK\/D\/3953:01-12 C 3.00",
"27\/02 FIK\/W\/5810163479 D 405.00",
" Balance:+89.40"
]
}
}
{
"code":"0x0200",
"message":"000: Mini statement fetched successfully.",
"status":"SUCCESS",
"data":{
"clientRefNo":"AMSd09d809dshj2705850912",
"routeType":"icici",
"bankiin":"607094",
"stanNo":"XTL03766A2A72DKKS77615C437CD3B33",
"rrn":"2113172633",
"bankMessage":"Request Completed",
"bankCode":"10000",
"statusCode":"",
"merchantCode":"MC0000961",
"aadhaarNumber":"XXXXXXXX1793",
"transactionType":"MS",
"transactionDateTime":"2022-04-23T17:41:33",
"transactionAmount":"0",
"availableBalance":"1017",
"statement":[
{
"date":"05\/10\/2021",
"txnType":"Cr",
"amount":"1000.0",
"narration":" BY TRANSFER "
},
{
"date":"19\/10\/2021",
"txnType":"Dr",
"amount":"1000.0",
"narration":" FI Txn @ CSP o"
}
]
}
}
{
"code":"0x0200",
"message":"000: Mini statement fetched successfully.",
"status":"SUCCESS",
"data":{
"clientRefNo":"AMSf95a127dsdd089096410",
"routeType":"icici",
"bankiin":"607153",
"stanNo":"2167150816",
"rrn":"2167154816",
"bankMessage":"SUCCESS",
"bankCode":"00",
"statusCode":"",
"merchantCode":"MC0000072",
"aadhaarNumber":"XXXXXXXX0527",
"transactionType":"MS",
"transactionDateTime":"2022-06-16T15:17:54",
"transactionAmount":"0",
"availableBalance":"4855.20",
"statement":[
"160422DRWITHDRAWAL TRAN000000000424",
"120222CRDEPOSIT TO DEP0000000009500",
"120222CRDEPOSIT TO DEP0000000040800",
"120222DRWITHDRAWAL TRAN000000000100",
"BALANCE 000000485520"
]
}
}
{
"code":"0x0202",
"status":"FAILURE",
"message":"001: Failure",
"data":{
"clientRefNo":"AMS63770000000000000",
"routeType":"ICICI",
"bankiin":"606993",
"stanNo":"XTLEE24D17C8A7000000000000000",
"rrn":"209710000000",
"bankMessage":"Customer Bank is currently not accepting transactions kindly try in 10 minutes",
"bankCode":"10004",
"statusCode":"",
"merchantCode":"MC000000",
"aadhaarNumber":"7200XXXX0000",
"transactionType":"MS",
"transactionDateTime":"2022-04-07T11:12:03",
"transactionAmount":"0",
"availableBalance":"0",
"statement":[
]
}
}
{
"code":"0x0208",
"status":"2FA",
"message":"006: Please do 2 factor auth."
}
When you receive 2FA status from API you need to hit 2FA API to complete 2-Factor Authentication.
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 |
| 0x0208 | 2FA | TWO FACTOR AUNTHENTICATION |