{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments/223675360","pull_request_review_id":162857075,"id":223675360,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzY3NTM2MA==","diff_hunk":"@@ -64,17 +64,15 @@ For example:\n + **description**: a human-readable description of the payment. This will be shown to the end user on the payment pages and to your staff on the GOV.UK Pay admin site (maximum 255 characters, and must not contain URLs)\n + **return_url**: an HTTPS URL on your site that the user will be sent back to once they have completed their payment attempt on GOV.UK Pay (this should not be JSON-encoded as backslashes will not be accepted)\n \n-The **Create new payment** API call that the service will receive will be of the form:\n-\n-Example request:\n+In the example, the **Create new payment** API call the service receives would give the following response header:","path":"source/payment_flow_overview/index.html.md.erb","position":7,"original_position":7,"commit_id":"2d89f2a926ead63f3e9bd8cacb65b7021165d727","original_commit_id":"2d89f2a926ead63f3e9bd8cacb65b7021165d727","user":{"login":"bahmady","id":32935794,"node_id":"MDQ6VXNlcjMyOTM1Nzk0","avatar_url":"https://avatars0.githubusercontent.com/u/32935794?v=4","gravatar_id":"","url":"https://api.github.com/users/bahmady","html_url":"https://github.com/bahmady","followers_url":"https://api.github.com/users/bahmady/followers","following_url":"https://api.github.com/users/bahmady/following{/other_user}","gists_url":"https://api.github.com/users/bahmady/gists{/gist_id}","starred_url":"https://api.github.com/users/bahmady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bahmady/subscriptions","organizations_url":"https://api.github.com/users/bahmady/orgs","repos_url":"https://api.github.com/users/bahmady/repos","events_url":"https://api.github.com/users/bahmady/events{/privacy}","received_events_url":"https://api.github.com/users/bahmady/received_events","type":"User","site_admin":false},"body":"Makes sense, thanks 👍 : do we really need the response header or just the body? ","created_at":"2018-10-09T12:18:37Z","updated_at":"2018-10-09T12:18:37Z","html_url":"https://github.com/alphagov/pay-tech-docs/pull/171#discussion_r223675360","pull_request_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments/223675360"},"html":{"href":"https://github.com/alphagov/pay-tech-docs/pull/171#discussion_r223675360"},"pull_request":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171"}},"in_reply_to_id":223672935},"pull_request":{"url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171","id":221155735,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMTU1NzM1","html_url":"https://github.com/alphagov/pay-tech-docs/pull/171","diff_url":"https://github.com/alphagov/pay-tech-docs/pull/171.diff","patch_url":"https://github.com/alphagov/pay-tech-docs/pull/171.patch","issue_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/171","number":171,"state":"open","locked":false,"title":"Fix language (request/response)","user":{"login":"bahmady","id":32935794,"node_id":"MDQ6VXNlcjMyOTM1Nzk0","avatar_url":"https://avatars0.githubusercontent.com/u/32935794?v=4","gravatar_id":"","url":"https://api.github.com/users/bahmady","html_url":"https://github.com/bahmady","followers_url":"https://api.github.com/users/bahmady/followers","following_url":"https://api.github.com/users/bahmady/following{/other_user}","gists_url":"https://api.github.com/users/bahmady/gists{/gist_id}","starred_url":"https://api.github.com/users/bahmady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bahmady/subscriptions","organizations_url":"https://api.github.com/users/bahmady/orgs","repos_url":"https://api.github.com/users/bahmady/repos","events_url":"https://api.github.com/users/bahmady/events{/privacy}","received_events_url":"https://api.github.com/users/bahmady/received_events","type":"User","site_admin":false},"body":"### Context\r\nThe current content erroneously references an HTTP response header as a a request.\r\n\r\n### Changes proposed in this pull request\r\nAn attempt to fix ☝️ , though it may be slightly clunky and need checking/improving/correcting by an expert.\r\n","created_at":"2018-10-08T15:20:16Z","updated_at":"2018-10-09T12:18:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de9dd1a0d300afe5fe039d5c070f783a1bf19191","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171/commits","review_comments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171/comments","review_comment_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/171/comments","statuses_url":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/2d89f2a926ead63f3e9bd8cacb65b7021165d727","head":{"label":"alphagov:fix-response-language","ref":"fix-response-language","sha":"2d89f2a926ead63f3e9bd8cacb65b7021165d727","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":76550775,"node_id":"MDEwOlJlcG9zaXRvcnk3NjU1MDc3NQ==","name":"pay-tech-docs","full_name":"alphagov/pay-tech-docs","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/pay-tech-docs","description":"Technical documentation for GOV.UK Pay","fork":false,"url":"https://api.github.com/repos/alphagov/pay-tech-docs","forks_url":"https://api.github.com/repos/alphagov/pay-tech-docs/forks","keys_url":"https://api.github.com/repos/alphagov/pay-tech-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/pay-tech-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/pay-tech-docs/teams","hooks_url":"https://api.github.com/repos/alphagov/pay-tech-docs/hooks","issue_events_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/pay-tech-docs/events","assignees_url":"https://api.github.com/repos/alphagov/pay-tech-docs/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/pay-tech-docs/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/pay-tech-docs/tags","blobs_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/pay-tech-docs/languages","stargazers_url":"https://api.github.com/repos/alphagov/pay-tech-docs/stargazers","contributors_url":"https://api.github.com/repos/alphagov/pay-tech-docs/contributors","subscribers_url":"https://api.github.com/repos/alphagov/pay-tech-docs/subscribers","subscription_url":"https://api.github.com/repos/alphagov/pay-tech-docs/subscription","commits_url":"https://api.github.com/repos/alphagov/pay-tech-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/pay-tech-docs/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/pay-tech-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/pay-tech-docs/merges","archive_url":"https://api.github.com/repos/alphagov/pay-tech-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/pay-tech-docs/downloads","issues_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/pay-tech-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/pay-tech-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/pay-tech-docs/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/pay-tech-docs/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/deployments","created_at":"2016-12-15T10:41:07Z","updated_at":"2018-10-08T20:27:47Z","pushed_at":"2018-10-09T10:42:12Z","git_url":"git://github.com/alphagov/pay-tech-docs.git","ssh_url":"git@github.com:alphagov/pay-tech-docs.git","clone_url":"https://github.com/alphagov/pay-tech-docs.git","svn_url":"https://github.com/alphagov/pay-tech-docs","homepage":"","size":6550,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"555e1750626300e9c9cfb3fef87176b9828f1ea2","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":76550775,"node_id":"MDEwOlJlcG9zaXRvcnk3NjU1MDc3NQ==","name":"pay-tech-docs","full_name":"alphagov/pay-tech-docs","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/pay-tech-docs","description":"Technical documentation for GOV.UK Pay","fork":false,"url":"https://api.github.com/repos/alphagov/pay-tech-docs","forks_url":"https://api.github.com/repos/alphagov/pay-tech-docs/forks","keys_url":"https://api.github.com/repos/alphagov/pay-tech-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/pay-tech-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/pay-tech-docs/teams","hooks_url":"https://api.github.com/repos/alphagov/pay-tech-docs/hooks","issue_events_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/pay-tech-docs/events","assignees_url":"https://api.github.com/repos/alphagov/pay-tech-docs/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/pay-tech-docs/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/pay-tech-docs/tags","blobs_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/pay-tech-docs/languages","stargazers_url":"https://api.github.com/repos/alphagov/pay-tech-docs/stargazers","contributors_url":"https://api.github.com/repos/alphagov/pay-tech-docs/contributors","subscribers_url":"https://api.github.com/repos/alphagov/pay-tech-docs/subscribers","subscription_url":"https://api.github.com/repos/alphagov/pay-tech-docs/subscription","commits_url":"https://api.github.com/repos/alphagov/pay-tech-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/pay-tech-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/pay-tech-docs/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/pay-tech-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/pay-tech-docs/merges","archive_url":"https://api.github.com/repos/alphagov/pay-tech-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/pay-tech-docs/downloads","issues_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/pay-tech-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/pay-tech-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/pay-tech-docs/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/pay-tech-docs/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/deployments","created_at":"2016-12-15T10:41:07Z","updated_at":"2018-10-08T20:27:47Z","pushed_at":"2018-10-09T10:42:12Z","git_url":"git://github.com/alphagov/pay-tech-docs.git","ssh_url":"git@github.com:alphagov/pay-tech-docs.git","clone_url":"https://github.com/alphagov/pay-tech-docs.git","svn_url":"https://github.com/alphagov/pay-tech-docs","homepage":"","size":6550,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171"},"html":{"href":"https://github.com/alphagov/pay-tech-docs/pull/171"},"issue":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/171"},"comments":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/2d89f2a926ead63f3e9bd8cacb65b7021165d727"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bahmady"}}