Skip to main content

Verify Agent

Verify Agent

Postman Collection

URL

POST : /v1/service/dmt/agent/verify

Headers

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

Body Params

mobile  (String)   Required
Merchant Mobile Number (Max Length: 10)
otp  (String)   Required
OTP received on Merchant Mobile Number (Max Length: 8)
otpReference  (String)   Required
Same as received in Add Agent API response (Max Length: 50)
hash  (String)   Required
Same as received in Add Agent API response (Max Length: --)

Request

Example Request
    curl --location --request POST '/v1/service/dmt/agent/verify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"mobile": "9999999999",
"otp": "123456",
"otpReference": "OGVmOTE3dhxmnckvkhgkdkjdwhdsjhjhdI0NmRhYzM4",
"hash": "fgBVHnqXWsBw+AAdPVk+MSL4jOdqxiKl2uM+fHYOwBjYQ+J3YuC8O0FcDqoMoY2xawmPvzDZU5lGXYP/O08tdn7CTSEtsjjUDOAn6a3jVzncRff"
}
}'

Response Samples

{
"code": "0x0200",
"message": "OTP verify successfully.",
"status": "SUCCESS",
"data":{
"outletId": 249385,
"name": "SWAPNIL KUMAR",
"dateOfBirth": "09-10-1989",
"gender": "M",
"pincode": "400050",
"state": "Maharashtra",
"districtName": "Mumbai",
"address": "28/6, Bandra, , SV Road, ",
"profilePic": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEwBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wByMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADIAKADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEECAwQFBgcICQoL"
}
}

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