Skip to content

Another source of CSVs #21

@jleclanche

Description

@jleclanche

Hi, thanks for your work on this repo!

I recently had to deal with MCCs from Python and decided to publish a python package for iso18245.

I got curious about pulling the data from first-party sources; I also needed range data, not just the list of MCCs, so I worked on generating new CSVs.

I grabbed the official ISO 18245 PDF, as well as the most recent Visa list, the USDA list, and even Stripe Issuing's list. I used Tabula to extract the data, and had to do some extra manual + scripted clean up (especially with Visa's PDF; the rest was pretty clean).

Wanted to share it here in case it's useful for someone:

Specifically, I needed to match cut text descriptions to the original MCCs:
image

It's a wonder why this was standardized on 4-digit codes at all if banking APIs are just going to use mangled english descriptions… but whatever. The python library itself exposes all that data. I've attached all the combined MCCs as JSON here if anyone needs them:

mccs.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions