Cash Withdrawal
Cash Withdrawal
Postman Collection
URL
POST : /v1/service/aeps/withdrawalHeaders
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)
aadhaar (String) Required
Customer Aadhaar Number (Max Length: 12)
Customer Aadhaar Number (Max Length: 12)
txnType (String) Required
Api Service Type (Max Length: Fixed)
Api Service Type (Max Length: Fixed)
mobile (String) Required
Customer Mobile Number (Max Length: 10)
Customer Mobile Number (Max Length: 10)
amount (Number) Required
Amount to be withdrawn (Max Length: 5)
Amount to be withdrawn (Max Length: 5)
rdRequest (String) Required
Biometric data details (Max Length: Pid Data)
Biometric data details (Max Length: Pid Data)
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)
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)
pan (String) Required
Merchant Pan Address (Max Length: 10)
Merchant Pan Address (Max Length: 10)
Request
Example Request
curl --location '/v1/service/aeps/withdrawal' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantLoginId" : "MID69374XXXXX",
"aadhaar": "4340005XXXXX",
"txnType": "cw",
"mobile": "96518XXXXX",
"amount" : "50",
"rdRequest": "<?xml version=\"1.0\"?>\n<PidData>\n <Resp errCode=\"0\" errInfo=\"Success.\" fCount=\"1\" fType=\"2\" nmPoints=\"33\" qScore=\"69\" \/>\n <DeviceInfo dpId=\"MANTRA.MSIPL\" rdsId=\"MANTRA.WIN.001\" rdsVer=\"1.0.8\" mi=\"MFS100\" mc=\"MIIEGgpiV9yV\/FE4is3GSDMp3HCMe\/oJPAJ1HdGoDZipUYum6s6HqZnz3P3Spe03jNnw7596nfkQmIf\/TP1CUyhA==<\/Data>\n<\/PidData>",
"bankiin": "990309",
"latitude": "26.600000",
"longitude": "82.133904",
"pan": "ENGXXXXX6A"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Transaction Successfully.",
"status": "SUCCESS",
"data": {
"orderRefId": "CWBT577031XXXXX23153105235I",
"clientRefId": "ACW195894XXXXX807476BBD",
"bankName": null,
"accountNumber": null,
"ipaymentId": "CWBT577031XXXXX23153105235I",
"transactionMode": null,
"payableValue": 50,
"transactionValue": 50,
"bankAccountBalance": 13.06
}
}
{
"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 |