Skip to main content

Cash Withdrawal

Cash Withdrawal

Postman Collection

URL

POST : /v1/service/aeps/withdrawal

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

merchantLoginId  (String)   Required
Merchant unique Code (You will get merchantLoginId from Merchant Onboarding API) (Max Length: 20)
aadhaar  (String)   Required
Customer Aadhaar Number (Max Length: 12)
txnType  (String)   Required
Api Service Type (Max Length: Fixed)
mobile  (String)   Required
Customer Mobile Number (Max Length: 10)
amount  (Number)   Required
Amount to be withdrawn (Max Length: 5)
rdRequest  (String)   Required
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)
latitude  (String)   Required
Current location latitude (Max Length: 20)
longitude  (String)   Required
Current location latitude (Max Length: 20)
pan  (String)   Required
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

    {
"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
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING