{"action":"opened","issue":{"url":"https://api.github.com/repos/code-corps/code-corps-api/issues/587","repository_url":"https://api.github.com/repos/code-corps/code-corps-api","labels_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/587/comments","events_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/587/events","html_url":"https://github.com/code-corps/code-corps-api/issues/587","id":196926330,"number":587,"title":"Add legal_entity fields to StripeConnectAccount","user":{"login":"begedin","id":1925540,"avatar_url":"https://avatars.githubusercontent.com/u/1925540?v=3","gravatar_id":"","url":"https://api.github.com/users/begedin","html_url":"https://github.com/begedin","followers_url":"https://api.github.com/users/begedin/followers","following_url":"https://api.github.com/users/begedin/following{/other_user}","gists_url":"https://api.github.com/users/begedin/gists{/gist_id}","starred_url":"https://api.github.com/users/begedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begedin/subscriptions","organizations_url":"https://api.github.com/users/begedin/orgs","repos_url":"https://api.github.com/users/begedin/repos","events_url":"https://api.github.com/users/begedin/events{/privacy}","received_events_url":"https://api.github.com/users/begedin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/code-corps/code-corps-api/milestones/4","html_url":"https://github.com/code-corps/code-corps-api/milestone/4","labels_url":"https://api.github.com/repos/code-corps/code-corps-api/milestones/4/labels","id":2180516,"number":4,"title":"Launch Donations","description":"","creator":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":22,"state":"open","created_at":"2016-12-07T07:13:49Z","updated_at":"2016-12-21T12:55:36Z","due_on":"2016-12-21T08:00:00Z","closed_at":null},"comments":0,"created_at":"2016-12-21T12:55:36Z","updated_at":"2016-12-21T12:55:36Z","closed_at":null,"body":"# Problem\r\n\r\nTo avoid potential issues with account setup/verification in the future, we should store `Stripe.Account.legal_entity` fields s part of our `StripeConnectAccount` record.\r\n\r\nThe nested fields should map into a flattened structure, so for example, `legal_entity.dob.month` becomes `legal_entity_dob_month`, etc.\r\n\r\n"}}
{"actor":{"display_login":"begedin"}}