CompanyOperations - Get Main MCCs
When should this function be used?
This function is intended for dealers or suppliers who want to retrieve the MCCs of the merchants associated with them.
Below is a link to the function in JSON.
Request method: GET.
Get Main MCCs
https://secure.cardcom.solutions/api/v11/CompanyOperations/GetMainMCCs
Below are the parameters that must be passed to the function.
Legend:
Red parameter – required
Bold parameter – recommended
Parameter that is neither red nor bold – optional
|
No. |
Parameter | Example Values | Description |
| 1 | SupplierUserName | (String) | The supplier's username. |
| 2 | Secret | (String) | Secret |
Get Main MCCs Response
|
No. |
Parameter | Example Values | Description |
| 1 | MCC_Code_MainClassification | 7458 | MCC for the main classification |
| 2 | MCC_Description_MainClassification | (String) | MCC description for the main classification |
Below is sample code for the function, together with the response.
Request example:
{
"SupplierUserName":"fhjk",
"secret":"asdfh"
}
Example response:
[
{
"MCC_Code_MainClassification": 0,
"MCC_Description_MainClassification": "string"
}
]