{"action":"created","issue":{"url":"https://api.github.com/repos/stripe/stripe-android/issues/52","labels_url":"https://api.github.com/repos/stripe/stripe-android/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-android/issues/52/comments","events_url":"https://api.github.com/repos/stripe/stripe-android/issues/52/events","html_url":"https://github.com/stripe/stripe-android/pull/52","id":123039289,"number":52,"title":"Add support for passing currency when creating tokens","user":{"login":"dlambeth","id":1276026,"avatar_url":"https://avatars.githubusercontent.com/u/1276026?v=3","gravatar_id":"","url":"https://api.github.com/users/dlambeth","html_url":"https://github.com/dlambeth","followers_url":"https://api.github.com/users/dlambeth/followers","following_url":"https://api.github.com/users/dlambeth/following{/other_user}","gists_url":"https://api.github.com/users/dlambeth/gists{/gist_id}","starred_url":"https://api.github.com/users/dlambeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlambeth/subscriptions","organizations_url":"https://api.github.com/users/dlambeth/orgs","repos_url":"https://api.github.com/users/dlambeth/repos","events_url":"https://api.github.com/users/dlambeth/events{/privacy}","received_events_url":"https://api.github.com/users/dlambeth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-18T22:49:56Z","updated_at":"2015-12-21T21:05:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stripe/stripe-android/pulls/52","html_url":"https://github.com/stripe/stripe-android/pull/52","diff_url":"https://github.com/stripe/stripe-android/pull/52.diff","patch_url":"https://github.com/stripe/stripe-android/pull/52.patch"},"body":"This would allow users to create tokens for debit cards, which they can then use to attach to external accounts. \r\n\r\n- added currency parameter to Card.java and support to passing it in the token call to Stripe.java\r\n- added optional currency parameter to payment form in the example project\r\n- tweaked example/build.gradle so that Android Studio didn't complain about ambiguous imports\r\n- bumped version number"},"comment":{"url":"https://api.github.com/repos/stripe/stripe-android/issues/comments/166420355","html_url":"https://github.com/stripe/stripe-android/pull/52#issuecomment-166420355","issue_url":"https://api.github.com/repos/stripe/stripe-android/issues/52","id":166420355,"user":{"login":"dlambeth","id":1276026,"avatar_url":"https://avatars.githubusercontent.com/u/1276026?v=3","gravatar_id":"","url":"https://api.github.com/users/dlambeth","html_url":"https://github.com/dlambeth","followers_url":"https://api.github.com/users/dlambeth/followers","following_url":"https://api.github.com/users/dlambeth/following{/other_user}","gists_url":"https://api.github.com/users/dlambeth/gists{/gist_id}","starred_url":"https://api.github.com/users/dlambeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlambeth/subscriptions","organizations_url":"https://api.github.com/users/dlambeth/orgs","repos_url":"https://api.github.com/users/dlambeth/repos","events_url":"https://api.github.com/users/dlambeth/events{/privacy}","received_events_url":"https://api.github.com/users/dlambeth/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T21:05:14Z","updated_at":"2015-12-21T21:05:14Z","body":"Here the form when the it first opens:\r\n<img width=\"487\" alt=\"screenshot 2015-12-21 13 00 45\" src=\"https://cloud.githubusercontent.com/assets/1276026/11941291/4725e932-a7e3-11e5-8f46-d6ec94ba5259.png\">\r\n\r\n\r\nHere's the form when you click the Currency slider. If you skip it no currency param is passed: \r\n\r\n<img width=\"491\" alt=\"screenshot 2015-12-21 13 00 59\" src=\"https://cloud.githubusercontent.com/assets/1276026/11941312/63ff4ad0-a7e3-11e5-85de-5135fc806bb5.png\">\r\n\r\n\r\n"}}