1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints – Merchants
  5. POST /merchants/mcc

POST /merchants/mcc

This endpoint predict 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

How can we help?