API Documentation
POST /merchants/mcc
This endpoint predicts the MCC (Merchant Category Code) given information about a transaction record.
Headers
NAME |
VALUE |
Content-Type |
application/json |
Authorization |
Bearer {JWT} |
Request
KEY |
REQUIRED |
COMMENT |
merchantText |
Yes |
string. The text string found on the card statement. |
tnxAmount |
No |
float. The transaction amount. |
postalCode |
No |
string. Card holder postal code. |
Response
NAME |
VALUE |
mcc |
JSON object. |
mcc["1"] |
The most likely MCC. |
mcc["1"]["code"] |
The merchant category code. |
mcc["1"]["category"] |
The merchant category in text form. |
mcc["2"] |
The second most likely MCC. |
mcc["2"]["code"] |
The merchant category code. |
mcc["2"]["category"] |
The merchant category in text form. |
mcc["3"] |
The third most likely MCC. |
mcc["3"]["code"] |
The merchant category code. |
mcc["3"]["category"] |
The merchant category in text form. |