{"action":"opened","issue":{"url":"https://api.github.com/repos/ramoona/banks-db/issues/104","repository_url":"https://api.github.com/repos/ramoona/banks-db","labels_url":"https://api.github.com/repos/ramoona/banks-db/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/ramoona/banks-db/issues/104/comments","events_url":"https://api.github.com/repos/ramoona/banks-db/issues/104/events","html_url":"https://github.com/ramoona/banks-db/issues/104","id":166474370,"number":104,"title":"Suggest the card type within the card number prefix data.","user":{"login":"hotoo","id":143572,"avatar_url":"https://avatars.githubusercontent.com/u/143572?v=3","gravatar_id":"","url":"https://api.github.com/users/hotoo","html_url":"https://github.com/hotoo","followers_url":"https://api.github.com/users/hotoo/followers","following_url":"https://api.github.com/users/hotoo/following{/other_user}","gists_url":"https://api.github.com/users/hotoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hotoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotoo/subscriptions","organizations_url":"https://api.github.com/users/hotoo/orgs","repos_url":"https://api.github.com/users/hotoo/repos","events_url":"https://api.github.com/users/hotoo/events{/privacy}","received_events_url":"https://api.github.com/users/hotoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T01:22:34Z","updated_at":"2016-07-20T01:22:34Z","closed_at":null,"body":"I have a China Merchants Bank - Dual-Currency Credit Card, prefix is `5187 10`,  the card type is UnionPay AND MasterCard.\r\n\r\nI find the code, types rule is write in type.js, and one card number just have one type.\r\n\r\nSo, I suggest the card type write in the card number prefix data, like:\r\n\r\nbanks/%country%/bankName.json\r\n\r\n```json\r\n{\r\n  ...,\r\n  \"prefixes\": {\r\n    \"518710\": {\r\n      \"types\": [\"UnionPay\", \"MasterCard\"]\r\n    },\r\n    \"622609\": {\r\n      \"types\": \"UnionPay\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n## Credit Card, Savings Deposit Card, Prepaid card ...\r\n\r\nHow about to detect this?"}}
{"actor":{"display_login":"hotoo"}}