{"action":"created","issue":{"url":"https://api.github.com/repos/stripe/stripe-ruby/issues/418","repository_url":"https://api.github.com/repos/stripe/stripe-ruby","labels_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/418/comments","events_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/418/events","html_url":"https://github.com/stripe/stripe-ruby/pull/418","id":155037105,"number":418,"title":"Support AlipayAccount retrieval and deletion","user":{"login":"remistr","id":9683352,"avatar_url":"https://avatars.githubusercontent.com/u/9683352?v=3","gravatar_id":"","url":"https://api.github.com/users/remistr","html_url":"https://github.com/remistr","followers_url":"https://api.github.com/users/remistr/followers","following_url":"https://api.github.com/users/remistr/following{/other_user}","gists_url":"https://api.github.com/users/remistr/gists{/gist_id}","starred_url":"https://api.github.com/users/remistr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remistr/subscriptions","organizations_url":"https://api.github.com/users/remistr/orgs","repos_url":"https://api.github.com/users/remistr/repos","events_url":"https://api.github.com/users/remistr/events{/privacy}","received_events_url":"https://api.github.com/users/remistr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-16T14:09:27Z","updated_at":"2016-05-17T21:53:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stripe/stripe-ruby/pulls/418","html_url":"https://github.com/stripe/stripe-ruby/pull/418","diff_url":"https://github.com/stripe/stripe-ruby/pull/418.diff","patch_url":"https://github.com/stripe/stripe-ruby/pull/418.patch"},"body":"This adds the ability to retrieve an Alipay account properly and delete it\r\n\r\nr? @stripe/api-libraries "},"comment":{"url":"https://api.github.com/repos/stripe/stripe-ruby/issues/comments/219865821","html_url":"https://github.com/stripe/stripe-ruby/pull/418#issuecomment-219865821","issue_url":"https://api.github.com/repos/stripe/stripe-ruby/issues/418","id":219865821,"user":{"login":"remistr","id":9683352,"avatar_url":"https://avatars.githubusercontent.com/u/9683352?v=3","gravatar_id":"","url":"https://api.github.com/users/remistr","html_url":"https://github.com/remistr","followers_url":"https://api.github.com/users/remistr/followers","following_url":"https://api.github.com/users/remistr/following{/other_user}","gists_url":"https://api.github.com/users/remistr/gists{/gist_id}","starred_url":"https://api.github.com/users/remistr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remistr/subscriptions","organizations_url":"https://api.github.com/users/remistr/orgs","repos_url":"https://api.github.com/users/remistr/repos","events_url":"https://api.github.com/users/remistr/events{/privacy}","received_events_url":"https://api.github.com/users/remistr/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T21:53:07Z","updated_at":"2016-05-17T21:53:07Z","body":"@brandur: I went for solution #1. As far as I know the API doesn't support retrieving a source directly by id (for example if it's a one-time charge without a customer saved). Some of the bindings allow you to cast it to a source but then deletion is completely broken (and doesn't really make sense) so it sounded like the better solution."}}