Skip to content

Search for merchant category info with Merchant Category Codes (MCCs).

License

Notifications You must be signed in to change notification settings

beek-dev/merchant_codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merchant Codes

Search for merchant category info with Merchant Category Codes (MCCs).

Built by Beek Technologies 🕊

Installation

If available in Hex, the package can be installed by adding merchant_codes to your list of dependencies in mix.exs:

def deps do
  [
    {:merchant_codes, "~> 0.1.0"}
  ]
end

Usage

To return a map of MCC info, simply run:

iex> MerchantCodes.get("3072")
%{
  combined_description: "Agricultural Co-operatives",
  edited_description: "Agricultural Co-operatives",
  id: 1,
  irs_description: "Agricultural Cooperative",
  irs_reportable: "Yes",
  mcc: "0763",
  usda_description: "Agricultural Co-operatives"
}

If you're just looking for a category using a code:

iex> MerchantCodes.category("3072")
"Agricultural Cooperative"

Additional links

About

Search for merchant category info with Merchant Category Codes (MCCs).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages