Update MATM
Update MATM
Postman Collection
URL
POST : /v1/service/matm/updateHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
merchantCode (String) Required
Merchant Code (Max Length: 50)
Merchant Code (Max Length: 50)
clientRefId (String) Required
Client Reference ID (Max Length: 20)
Client Reference ID (Max Length: 20)
bankmessage (String) Required
Bank Message (Max Length: 100)
Bank Message (Max Length: 100)
bankresponsecode (String) Required
Bank Response Code (Max Length: 20)
Bank Response Code (Max Length: 20)
reference (Object) Required
Reference (Max Length: 100)
Reference (Max Length: 100)
sdkVer (String) Required
Route Type (Max Length: 10)
Route Type (Max Length: 10)
macAddress (String) Required
MAC Address (Max Length: 30)
MAC Address (Max Length: 30)
imsi (String) Required
IMSI Code (Max Length: 50)
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
- SUCCESS
- FAILED
{
"code":"0x0200",
"message":"Transaction successful.",
"status":"SUCCESS"
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Error, MATM not Update",
}
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 |
0x0207 | REVERSED | TRANSACTION REVERSED |
0x0209 | REDIRECT | REDIRECT URL |