{"action":"created","comment":{"url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/comments/45869525","id":45869525,"diff_hunk":"@@ -111,4 +111,9 @@ public function loadFromQueue($paymentId, $params = [])\n     {\n         return $this->client()->get('queue/payments/{paymentId}', ['paymentId' => $paymentId] + (array) $params);\n     }\n+\n+    public function cancel($paymentId, $data = [])","path":"src/Services/PaymentService.php","position":5,"original_position":5,"commit_id":"ddf7db41b9616eeeaa1dc15e8377f727ecdab994","original_commit_id":"ddf7db41b9616eeeaa1dc15e8377f727ecdab994","user":{"login":"slavcodev","id":757721,"avatar_url":"https://avatars.githubusercontent.com/u/757721?v=3","gravatar_id":"","url":"https://api.github.com/users/slavcodev","html_url":"https://github.com/slavcodev","followers_url":"https://api.github.com/users/slavcodev/followers","following_url":"https://api.github.com/users/slavcodev/following{/other_user}","gists_url":"https://api.github.com/users/slavcodev/gists{/gist_id}","starred_url":"https://api.github.com/users/slavcodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavcodev/subscriptions","organizations_url":"https://api.github.com/users/slavcodev/orgs","repos_url":"https://api.github.com/users/slavcodev/repos","events_url":"https://api.github.com/users/slavcodev/events{/privacy}","received_events_url":"https://api.github.com/users/slavcodev/received_events","type":"User","site_admin":false},"body":"DocBlock missed. Also I'm not sure what `$data` meaning?","created_at":"2015-11-25T14:05:44Z","updated_at":"2015-11-25T14:05:44Z","html_url":"https://github.com/Rebilly/rebilly-php/pull/106#discussion_r45869525","pull_request_url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106","_links":{"self":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/comments/45869525"},"html":{"href":"https://github.com/Rebilly/rebilly-php/pull/106#discussion_r45869525"},"pull_request":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106"}}},"pull_request":{"url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106","id":51785631,"html_url":"https://github.com/Rebilly/rebilly-php/pull/106","diff_url":"https://github.com/Rebilly/rebilly-php/pull/106.diff","patch_url":"https://github.com/Rebilly/rebilly-php/pull/106.patch","issue_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues/106","number":106,"state":"open","locked":false,"title":"Payment Cancel","user":{"login":"XaosSintez","id":1369946,"avatar_url":"https://avatars.githubusercontent.com/u/1369946?v=3","gravatar_id":"","url":"https://api.github.com/users/XaosSintez","html_url":"https://github.com/XaosSintez","followers_url":"https://api.github.com/users/XaosSintez/followers","following_url":"https://api.github.com/users/XaosSintez/following{/other_user}","gists_url":"https://api.github.com/users/XaosSintez/gists{/gist_id}","starred_url":"https://api.github.com/users/XaosSintez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XaosSintez/subscriptions","organizations_url":"https://api.github.com/users/XaosSintez/orgs","repos_url":"https://api.github.com/users/XaosSintez/repos","events_url":"https://api.github.com/users/XaosSintez/events{/privacy}","received_events_url":"https://api.github.com/users/XaosSintez/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T12:02:58Z","updated_at":"2015-11-25T14:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c115468fccdfbf6bd4c89895ccafd0534b18c9d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106/commits","review_comments_url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106/comments","review_comment_url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues/106/comments","statuses_url":"https://api.github.com/repos/Rebilly/rebilly-php/statuses/ddf7db41b9616eeeaa1dc15e8377f727ecdab994","head":{"label":"Rebilly:payment-cancel","ref":"payment-cancel","sha":"ddf7db41b9616eeeaa1dc15e8377f727ecdab994","user":{"login":"Rebilly","id":6365848,"avatar_url":"https://avatars.githubusercontent.com/u/6365848?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"repo":{"id":15825817,"name":"rebilly-php","full_name":"Rebilly/rebilly-php","owner":{"login":"Rebilly","id":6365848,"avatar_url":"https://avatars.githubusercontent.com/u/6365848?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebilly/rebilly-php","description":"https://www.rebilly.com SDK for PHP","fork":false,"url":"https://api.github.com/repos/Rebilly/rebilly-php","forks_url":"https://api.github.com/repos/Rebilly/rebilly-php/forks","keys_url":"https://api.github.com/repos/Rebilly/rebilly-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebilly/rebilly-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebilly/rebilly-php/teams","hooks_url":"https://api.github.com/repos/Rebilly/rebilly-php/hooks","issue_events_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues/events{/number}","events_url":"https://api.github.com/repos/Rebilly/rebilly-php/events","assignees_url":"https://api.github.com/repos/Rebilly/rebilly-php/assignees{/user}","branches_url":"https://api.github.com/repos/Rebilly/rebilly-php/branches{/branch}","tags_url":"https://api.github.com/repos/Rebilly/rebilly-php/tags","blobs_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebilly/rebilly-php/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebilly/rebilly-php/languages","stargazers_url":"https://api.github.com/repos/Rebilly/rebilly-php/stargazers","contributors_url":"https://api.github.com/repos/Rebilly/rebilly-php/contributors","subscribers_url":"https://api.github.com/repos/Rebilly/rebilly-php/subscribers","subscription_url":"https://api.github.com/repos/Rebilly/rebilly-php/subscription","commits_url":"https://api.github.com/repos/Rebilly/rebilly-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebilly/rebilly-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebilly/rebilly-php/contents/{+path}","compare_url":"https://api.github.com/repos/Rebilly/rebilly-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebilly/rebilly-php/merges","archive_url":"https://api.github.com/repos/Rebilly/rebilly-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebilly/rebilly-php/downloads","issues_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues{/number}","pulls_url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebilly/rebilly-php/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebilly/rebilly-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebilly/rebilly-php/labels{/name}","releases_url":"https://api.github.com/repos/Rebilly/rebilly-php/releases{/id}","created_at":"2014-01-11T16:27:59Z","updated_at":"2015-11-25T07:34:27Z","pushed_at":"2015-11-25T12:02:59Z","git_url":"git://github.com/Rebilly/rebilly-php.git","ssh_url":"git@github.com:Rebilly/rebilly-php.git","clone_url":"https://github.com/Rebilly/rebilly-php.git","svn_url":"https://github.com/Rebilly/rebilly-php","homepage":"","size":406,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":9,"default_branch":"master"}},"base":{"label":"Rebilly:master","ref":"master","sha":"85a0727c5180b77426c1dc83861b6d6efa511d81","user":{"login":"Rebilly","id":6365848,"avatar_url":"https://avatars.githubusercontent.com/u/6365848?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"repo":{"id":15825817,"name":"rebilly-php","full_name":"Rebilly/rebilly-php","owner":{"login":"Rebilly","id":6365848,"avatar_url":"https://avatars.githubusercontent.com/u/6365848?v=3","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebilly/rebilly-php","description":"https://www.rebilly.com SDK for PHP","fork":false,"url":"https://api.github.com/repos/Rebilly/rebilly-php","forks_url":"https://api.github.com/repos/Rebilly/rebilly-php/forks","keys_url":"https://api.github.com/repos/Rebilly/rebilly-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebilly/rebilly-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebilly/rebilly-php/teams","hooks_url":"https://api.github.com/repos/Rebilly/rebilly-php/hooks","issue_events_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues/events{/number}","events_url":"https://api.github.com/repos/Rebilly/rebilly-php/events","assignees_url":"https://api.github.com/repos/Rebilly/rebilly-php/assignees{/user}","branches_url":"https://api.github.com/repos/Rebilly/rebilly-php/branches{/branch}","tags_url":"https://api.github.com/repos/Rebilly/rebilly-php/tags","blobs_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebilly/rebilly-php/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebilly/rebilly-php/languages","stargazers_url":"https://api.github.com/repos/Rebilly/rebilly-php/stargazers","contributors_url":"https://api.github.com/repos/Rebilly/rebilly-php/contributors","subscribers_url":"https://api.github.com/repos/Rebilly/rebilly-php/subscribers","subscription_url":"https://api.github.com/repos/Rebilly/rebilly-php/subscription","commits_url":"https://api.github.com/repos/Rebilly/rebilly-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebilly/rebilly-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebilly/rebilly-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebilly/rebilly-php/contents/{+path}","compare_url":"https://api.github.com/repos/Rebilly/rebilly-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebilly/rebilly-php/merges","archive_url":"https://api.github.com/repos/Rebilly/rebilly-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebilly/rebilly-php/downloads","issues_url":"https://api.github.com/repos/Rebilly/rebilly-php/issues{/number}","pulls_url":"https://api.github.com/repos/Rebilly/rebilly-php/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebilly/rebilly-php/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebilly/rebilly-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebilly/rebilly-php/labels{/name}","releases_url":"https://api.github.com/repos/Rebilly/rebilly-php/releases{/id}","created_at":"2014-01-11T16:27:59Z","updated_at":"2015-11-25T07:34:27Z","pushed_at":"2015-11-25T12:02:59Z","git_url":"git://github.com/Rebilly/rebilly-php.git","ssh_url":"git@github.com:Rebilly/rebilly-php.git","clone_url":"https://github.com/Rebilly/rebilly-php.git","svn_url":"https://github.com/Rebilly/rebilly-php","homepage":"","size":406,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106"},"html":{"href":"https://github.com/Rebilly/rebilly-php/pull/106"},"issue":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/issues/106"},"comments":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/Rebilly/rebilly-php/statuses/ddf7db41b9616eeeaa1dc15e8377f727ecdab994"}}}}