Node module to get Merchant Category Codes (MCC)
![MIT License](https://camo.githubusercontent.com/3a9b2e85d3254df03e3d87a2fb6b7bf9e3bba914c2f411534486a7613d901240/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f6d63632e7376673f7374796c653d666c61742d737175617265)
var api = require('mcc');
api.get("0742"); // api.get("742") & api.get(742) also works
/*
{
mcc: '0742',
edited_description: 'Veterinary Services',
combined_description: 'Veterinary Services',
usda_description: 'Veterinary Services',
irs_description: 'Veterinary Services',
irs_reportable: 'Yes',
id: 0
}
*/
api.all;
// returns array of all merchant category codes
// returns all mcc ids for given emoji
api.getByEmoji('๐');
/*
[ 7941, 7997, 7999, 5655, 5941 ]
*/
- Derived MCC - mcc
- edited_description - manually edited, modern text
- combined_description - uses either USDA or IRS
- usda_description - Description from the USDA
- irs_description - Description from IRS
- irs_reportable - Reportable under 6041/6041A and Authority for Exception