{"action":"closed","number":180,"pull_request":{"url":"https://api.github.com/repos/stripe/stripe-node/pulls/180","id":37327778,"html_url":"https://github.com/stripe/stripe-node/pull/180","diff_url":"https://github.com/stripe/stripe-node/pull/180.diff","patch_url":"https://github.com/stripe/stripe-node/pull/180.patch","issue_url":"https://api.github.com/repos/stripe/stripe-node/issues/180","number":180,"state":"closed","locked":false,"title":"Allow an options hash to be passed in to Upcoming Invoice API","user":{"login":"matthewarkin","id":1103529,"avatar_url":"https://avatars.githubusercontent.com/u/1103529?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewarkin","html_url":"https://github.com/matthewarkin","followers_url":"https://api.github.com/users/matthewarkin/followers","following_url":"https://api.github.com/users/matthewarkin/following{/other_user}","gists_url":"https://api.github.com/users/matthewarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewarkin/subscriptions","organizations_url":"https://api.github.com/users/matthewarkin/orgs","repos_url":"https://api.github.com/users/matthewarkin/repos","events_url":"https://api.github.com/users/matthewarkin/events{/privacy}","received_events_url":"https://api.github.com/users/matthewarkin/received_events","type":"User","site_admin":false},"body":"The Upcoming Invoice API now supports a ton of cool optional params\r\nto help calculate prorations.\r\n\r\nSince the customer ID is still required, and the subscription id is\r\noptional, the second parameter to the retrieveUpcoming endpoint\r\ncan be an options object or a string (string must be the subscription\r\nid for legacy compatibility).\r\n\r\nFixes #176","created_at":"2015-06-10T06:27:27Z","updated_at":"2015-06-12T04:59:41Z","closed_at":"2015-06-12T04:59:41Z","merged_at":"2015-06-12T04:59:41Z","merge_commit_sha":"a02c4d51babbe5128ebf4bf01f98690e53426750","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stripe/stripe-node/pulls/180/commits","review_comments_url":"https://api.github.com/repos/stripe/stripe-node/pulls/180/comments","review_comment_url":"https://api.github.com/repos/stripe/stripe-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stripe/stripe-node/issues/180/comments","statuses_url":"https://api.github.com/repos/stripe/stripe-node/statuses/8452b1b8801f4c283310ee0501f7845f4d02f043","head":{"label":"matthewarkin:issues/176","ref":"issues/176","sha":"8452b1b8801f4c283310ee0501f7845f4d02f043","user":{"login":"matthewarkin","id":1103529,"avatar_url":"https://avatars.githubusercontent.com/u/1103529?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewarkin","html_url":"https://github.com/matthewarkin","followers_url":"https://api.github.com/users/matthewarkin/followers","following_url":"https://api.github.com/users/matthewarkin/following{/other_user}","gists_url":"https://api.github.com/users/matthewarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewarkin/subscriptions","organizations_url":"https://api.github.com/users/matthewarkin/orgs","repos_url":"https://api.github.com/users/matthewarkin/repos","events_url":"https://api.github.com/users/matthewarkin/events{/privacy}","received_events_url":"https://api.github.com/users/matthewarkin/received_events","type":"User","site_admin":false},"repo":{"id":27357095,"name":"stripe-node","full_name":"matthewarkin/stripe-node","owner":{"login":"matthewarkin","id":1103529,"avatar_url":"https://avatars.githubusercontent.com/u/1103529?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewarkin","html_url":"https://github.com/matthewarkin","followers_url":"https://api.github.com/users/matthewarkin/followers","following_url":"https://api.github.com/users/matthewarkin/following{/other_user}","gists_url":"https://api.github.com/users/matthewarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewarkin/subscriptions","organizations_url":"https://api.github.com/users/matthewarkin/orgs","repos_url":"https://api.github.com/users/matthewarkin/repos","events_url":"https://api.github.com/users/matthewarkin/events{/privacy}","received_events_url":"https://api.github.com/users/matthewarkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthewarkin/stripe-node","description":"Stripe API for node.js","fork":true,"url":"https://api.github.com/repos/matthewarkin/stripe-node","forks_url":"https://api.github.com/repos/matthewarkin/stripe-node/forks","keys_url":"https://api.github.com/repos/matthewarkin/stripe-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthewarkin/stripe-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthewarkin/stripe-node/teams","hooks_url":"https://api.github.com/repos/matthewarkin/stripe-node/hooks","issue_events_url":"https://api.github.com/repos/matthewarkin/stripe-node/issues/events{/number}","events_url":"https://api.github.com/repos/matthewarkin/stripe-node/events","assignees_url":"https://api.github.com/repos/matthewarkin/stripe-node/assignees{/user}","branches_url":"https://api.github.com/repos/matthewarkin/stripe-node/branches{/branch}","tags_url":"https://api.github.com/repos/matthewarkin/stripe-node/tags","blobs_url":"https://api.github.com/repos/matthewarkin/stripe-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthewarkin/stripe-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthewarkin/stripe-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthewarkin/stripe-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthewarkin/stripe-node/statuses/{sha}","languages_url":"https://api.github.com/repos/matthewarkin/stripe-node/languages","stargazers_url":"https://api.github.com/repos/matthewarkin/stripe-node/stargazers","contributors_url":"https://api.github.com/repos/matthewarkin/stripe-node/contributors","subscribers_url":"https://api.github.com/repos/matthewarkin/stripe-node/subscribers","subscription_url":"https://api.github.com/repos/matthewarkin/stripe-node/subscription","commits_url":"https://api.github.com/repos/matthewarkin/stripe-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthewarkin/stripe-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthewarkin/stripe-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthewarkin/stripe-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthewarkin/stripe-node/contents/{+path}","compare_url":"https://api.github.com/repos/matthewarkin/stripe-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthewarkin/stripe-node/merges","archive_url":"https://api.github.com/repos/matthewarkin/stripe-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthewarkin/stripe-node/downloads","issues_url":"https://api.github.com/repos/matthewarkin/stripe-node/issues{/number}","pulls_url":"https://api.github.com/repos/matthewarkin/stripe-node/pulls{/number}","milestones_url":"https://api.github.com/repos/matthewarkin/stripe-node/milestones{/number}","notifications_url":"https://api.github.com/repos/matthewarkin/stripe-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthewarkin/stripe-node/labels{/name}","releases_url":"https://api.github.com/repos/matthewarkin/stripe-node/releases{/id}","created_at":"2014-12-01T01:25:42Z","updated_at":"2015-03-20T18:48:30Z","pushed_at":"2015-06-12T04:52:38Z","git_url":"git://github.com/matthewarkin/stripe-node.git","ssh_url":"git@github.com:matthewarkin/stripe-node.git","clone_url":"https://github.com/matthewarkin/stripe-node.git","svn_url":"https://github.com/matthewarkin/stripe-node","homepage":"https://stripe.com/docs/api/node","size":454,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stripe:master","ref":"master","sha":"ac74567fc7535ee7b4bf3697db9b1c131e1be725","user":{"login":"stripe","id":856813,"avatar_url":"https://avatars.githubusercontent.com/u/856813?v=3","gravatar_id":"","url":"https://api.github.com/users/stripe","html_url":"https://github.com/stripe","followers_url":"https://api.github.com/users/stripe/followers","following_url":"https://api.github.com/users/stripe/following{/other_user}","gists_url":"https://api.github.com/users/stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stripe/subscriptions","organizations_url":"https://api.github.com/users/stripe/orgs","repos_url":"https://api.github.com/users/stripe/repos","events_url":"https://api.github.com/users/stripe/events{/privacy}","received_events_url":"https://api.github.com/users/stripe/received_events","type":"Organization","site_admin":false},"repo":{"id":2471804,"name":"stripe-node","full_name":"stripe/stripe-node","owner":{"login":"stripe","id":856813,"avatar_url":"https://avatars.githubusercontent.com/u/856813?v=3","gravatar_id":"","url":"https://api.github.com/users/stripe","html_url":"https://github.com/stripe","followers_url":"https://api.github.com/users/stripe/followers","following_url":"https://api.github.com/users/stripe/following{/other_user}","gists_url":"https://api.github.com/users/stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stripe/subscriptions","organizations_url":"https://api.github.com/users/stripe/orgs","repos_url":"https://api.github.com/users/stripe/repos","events_url":"https://api.github.com/users/stripe/events{/privacy}","received_events_url":"https://api.github.com/users/stripe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stripe/stripe-node","description":"Stripe API for node.js","fork":false,"url":"https://api.github.com/repos/stripe/stripe-node","forks_url":"https://api.github.com/repos/stripe/stripe-node/forks","keys_url":"https://api.github.com/repos/stripe/stripe-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stripe/stripe-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stripe/stripe-node/teams","hooks_url":"https://api.github.com/repos/stripe/stripe-node/hooks","issue_events_url":"https://api.github.com/repos/stripe/stripe-node/issues/events{/number}","events_url":"https://api.github.com/repos/stripe/stripe-node/events","assignees_url":"https://api.github.com/repos/stripe/stripe-node/assignees{/user}","branches_url":"https://api.github.com/repos/stripe/stripe-node/branches{/branch}","tags_url":"https://api.github.com/repos/stripe/stripe-node/tags","blobs_url":"https://api.github.com/repos/stripe/stripe-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stripe/stripe-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stripe/stripe-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/stripe/stripe-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stripe/stripe-node/statuses/{sha}","languages_url":"https://api.github.com/repos/stripe/stripe-node/languages","stargazers_url":"https://api.github.com/repos/stripe/stripe-node/stargazers","contributors_url":"https://api.github.com/repos/stripe/stripe-node/contributors","subscribers_url":"https://api.github.com/repos/stripe/stripe-node/subscribers","subscription_url":"https://api.github.com/repos/stripe/stripe-node/subscription","commits_url":"https://api.github.com/repos/stripe/stripe-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/stripe/stripe-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/stripe/stripe-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/stripe/stripe-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/stripe/stripe-node/contents/{+path}","compare_url":"https://api.github.com/repos/stripe/stripe-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stripe/stripe-node/merges","archive_url":"https://api.github.com/repos/stripe/stripe-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stripe/stripe-node/downloads","issues_url":"https://api.github.com/repos/stripe/stripe-node/issues{/number}","pulls_url":"https://api.github.com/repos/stripe/stripe-node/pulls{/number}","milestones_url":"https://api.github.com/repos/stripe/stripe-node/milestones{/number}","notifications_url":"https://api.github.com/repos/stripe/stripe-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stripe/stripe-node/labels{/name}","releases_url":"https://api.github.com/repos/stripe/stripe-node/releases{/id}","created_at":"2011-09-28T00:28:33Z","updated_at":"2015-06-10T15:45:31Z","pushed_at":"2015-06-12T04:59:41Z","git_url":"git://github.com/stripe/stripe-node.git","ssh_url":"git@github.com:stripe/stripe-node.git","clone_url":"https://github.com/stripe/stripe-node.git","svn_url":"https://github.com/stripe/stripe-node","homepage":"https://stripe.com/docs/api/node","size":2303,"stargazers_count":711,"watchers_count":711,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":134,"mirror_url":null,"open_issues_count":17,"forks":134,"open_issues":17,"watchers":711,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stripe/stripe-node/pulls/180"},"html":{"href":"https://github.com/stripe/stripe-node/pull/180"},"issue":{"href":"https://api.github.com/repos/stripe/stripe-node/issues/180"},"comments":{"href":"https://api.github.com/repos/stripe/stripe-node/issues/180/comments"},"review_comments":{"href":"https://api.github.com/repos/stripe/stripe-node/pulls/180/comments"},"review_comment":{"href":"https://api.github.com/repos/stripe/stripe-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stripe/stripe-node/pulls/180/commits"},"statuses":{"href":"https://api.github.com/repos/stripe/stripe-node/statuses/8452b1b8801f4c283310ee0501f7845f4d02f043"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"michelle","id":928757,"avatar_url":"https://avatars.githubusercontent.com/u/928757?v=3","gravatar_id":"","url":"https://api.github.com/users/michelle","html_url":"https://github.com/michelle","followers_url":"https://api.github.com/users/michelle/followers","following_url":"https://api.github.com/users/michelle/following{/other_user}","gists_url":"https://api.github.com/users/michelle/gists{/gist_id}","starred_url":"https://api.github.com/users/michelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelle/subscriptions","organizations_url":"https://api.github.com/users/michelle/orgs","repos_url":"https://api.github.com/users/michelle/repos","events_url":"https://api.github.com/users/michelle/events{/privacy}","received_events_url":"https://api.github.com/users/michelle/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":1,"additions":23,"deletions":4,"changed_files":3}}