Add Beneficary
Add Beneficary
Postman Collection
URL
POST : /v1/service/dmt/beneficiaryHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
outletId (String) Required
Merchant unique ID(You will get outletId from Agent Onboarding API) (Max Length: 10)
Merchant unique ID(You will get outletId from Agent Onboarding API) (Max Length: 10)
remitterMobile (String) Required
Remitter Mobile Number (Max Length: 10)
Remitter Mobile Number (Max Length: 10)
name (String) Required
Full Name of Beneficiary (Max Length: 25)
Full Name of Beneficiary (Max Length: 25)
ifsc (String) Required
Bank IFSC code of Beneficiary (Max Length: 15)
Bank IFSC code of Beneficiary (Max Length: 15)
accountNumber (String) Required
Bank Account Number of Beneficiary (Max Length: 20)
Bank Account Number of Beneficiary (Max Length: 20)
bankId (String) Required
Bank Id of Beneficiary( You will get this from Bank List API) (Max Length: 10)
Bank Id of Beneficiary( You will get this from Bank List API) (Max Length: 10)
Request
Example Request
curl --location --request POST '/v1/service/dmt/beneficiary' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"outletId" : "123456",
"remitterMobile": "9999999999",
"name": "Sujeet Kumar",
"ifsc": "BARB0AANTIY",
"accountNumber" : "1234567890949",
"bankId" : "39287"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Record added successfully.",
"status": "SUCCESS",
"data":{
"id": "7c4cd1ab13de8728b70f3982",
"name": "SUJEETKUMAR",
"account": "1234567890949",
"ifsc": "BARB0AANTIY",
"bank": "BANK OF BARODA",
"verificationDt": "2023-01-24 11:39:47"
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Invalid remitter mobile no"
}
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 |