Skip to main content

Update Remitter

Update Remitter

Postman Collection

URL

PATCH : /v1/service/dmt/remitter

Headers

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

Body Params

mobile  (String)   Required
Mobile Number of the Remitter (Max Length: 10)
firstName  (String)   Required
First Name of the Remitter (Max Length: 20)
lastName  (String)   Required
Last name of the Remitter (Max Length: 20)
pinCode  (String)   Required
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)

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

{
"code": "0x0200",
"message": "Record updated successfully.",
"status": "SUCCESS",
"data":{
"otpReference": "5a435352694b4f54734f2b50446f3453784b7355616b7279484c6130414b66314565736268504171495a35533635677553706e416f7a424f756b685a3844504a4452425a4f4e682b7a4648532f2f654c5353505a38655668595532314e775a746f4731574a4d4d6a6a57642b595832686c564f74486a54705566585278724d4d686244516e5336774c2f5977634a3645786a4238484a3231505333435449384f64644473795050645668796a496f75435a44495a4c786b5371732b7a454257452b5662376137794338626e6e3538352f78794b2b5762417955625348384370784b2b797236776c773772383d"
}
}

Response Code

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