Skip to main content

Update MATM

Update MATM

Postman Collection

URL

POST : /v1/service/matm/update

Headers

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

Body Params

merchantCode  (String)   Required
Merchant Code (Max Length: 50)
clientRefId  (String)   Required
Client Reference ID (Max Length: 20)
bankmessage  (String)   Required
Bank Message (Max Length: 100)
bankresponsecode  (String)   Required
Bank Response Code (Max Length: 20)
reference  (Object)   Required
Reference (Max Length: 100)
sdkVer  (String)   Required
Route Type (Max Length: 10)
macAddress  (String)   Required
MAC Address (Max Length: 30)
imsi  (String)   Required
IMSI Code (Max Length: 50)

Request

Example Request
    curl --location '/v1/service/matm/update' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantCode": "MID69374****4",
"clientRefId": "CR35****06",
"bankmessage": "User Canceled",
"bankresponsecode": "002",
"reference": "{
"osVersion":"11",
"deviceManufacture":"motorola",
"ipAddress":"192.168.1.15",
"deviceModel":"moto g(10) power",
"osBuildSdk":"30",
"deviceBrand":"motorola",
"deviceInfo":"capri",
"device_version_codename":"REL",
"mac":"00:00:00:00:00:00"
}",
"sdkVer": "1.1.9",
"macAddress": "00:00:00:00:00:00",
"imsi": "220832b61021****"
}'

Response Samples

    {
"code":"0x0200",
"message":"Transaction successful.",
"status":"SUCCESS"
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x0207REVERSEDTRANSACTION REVERSED
0x0209REDIRECTREDIRECT URL