Update Remitter
Update Remitter
Postman Collection
URL
PATCH : /v1/service/dmt/remitterHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
mobile (String) Required
Mobile Number of the Remitter (Max Length: 10)
Mobile Number of the Remitter (Max Length: 10)
firstName (String) Required
First Name of the Remitter (Max Length: 20)
First Name of the Remitter (Max Length: 20)
lastName (String) Required
Last name of the Remitter (Max Length: 20)
Last name of the Remitter (Max Length: 20)
pinCode (String) Required
Pin Code of the Remitter (Max Length: 8)
Pin Code of the Remitter (Max Length: 8)
outletId (String) Required
Merchant unique ID (You will get outletId from Agent Onboarding API) (Max Length: 8)
Merchant unique ID (You will get outletId from Agent Onboarding API) (Max Length: 8)
Request
Example Request
curl --location --request PATCH '/v1/service/dmt/remitter' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"mobile": "9999999999",
"firstName": "Anil",
"lastName": "Kumar",
"pinCode" : "226010",
"outletId": "123456"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Record updated successfully.",
"status": "SUCCESS",
"data":{
"otpReference": "5a435352694b4f54734f2b50446f3453784b7355616b7279484c6130414b66314565736268504171495a35533635677553706e416f7a424f756b685a3844504a4452425a4f4e682b7a4648532f2f654c5353505a38655668595532314e775a746f4731574a4d4d6a6a57642b595832686c564f74486a54705566585278724d4d686244516e5336774c2f5977634a3645786a4238484a3231505333435449384f64644473795050645668796a496f75435a44495a4c786b5371732b7a454257452b5662376137794338626e6e3538352f78794b2b5762417955625348384370784b2b797236776c773772383d"
}
}
{
"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 |