Delete Beneficary
Delete Beneficary
Postman Collection
URL
DELETE : /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)
beneficiaryId (String) Required
You will get beneficiaryId from AddBenificary API (Max Length: 25)
You will get beneficiaryId from AddBenificary API (Max Length: 25)
Request
Example Request
curl --location --request DELETE '/v1/service/dmt/beneficiary' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"outletId" : "123456",
"remitterMobile": "9999999999",
"beneficiaryId" : "7c4cd1ab13de8728b70f3982"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "OTP send successfully.",
"status": "SUCCESS",
"data":{
"otpReference": "48773459616953734c756c4a2f466f4b3361563246765447554e42587268705537666234483666774d6f6549456378383834467569655561696c6778376933504f34587a4a457a4a39522b586362427335625877d"
}
}
{
"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 |