{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments/230812596","pull_request_review_id":171634749,"id":230812596,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDgxMjU5Ng==","diff_hunk":"@@ -0,0 +1,80 @@\n+---\n+title: Account structure \n+weight: 55\n+---\n+\n+# Account structure \n+\n+If you have multiple services integrated, you can treat them separately or as\n+a combined single service within GOV.UK and your Payment Service Provider\n+(PSP). This gives 3 possible account configurations.\n+\n+As an example, take 2 services called \"parking permits\" and \"parking fines\": \n+\n+### Type 1 (GOV.UK Pay separate, PSP separate)\n+\n+![Account structures diagram](https://raw.githubusercontent.com/alphagov/pay-tech-docs/account_structure/source/images/accountstructure_1.png)\n+\n+\"Parking permits\" and \"Parking fines\" are considered as separate services in\n+both GOV.UK Pay and the PSP. \n+\n+This is the default configuration for services. ","path":"source/account_structure/index.html.md.erb","position":21,"original_position":21,"commit_id":"be99fb4c42d2262e4a46be9c235ae4df6f9b3d4e","original_commit_id":"be99fb4c42d2262e4a46be9c235ae4df6f9b3d4e","user":{"login":"katiebates","id":32845878,"node_id":"MDQ6VXNlcjMyODQ1ODc4","avatar_url":"https://avatars3.githubusercontent.com/u/32845878?v=4","gravatar_id":"","url":"https://api.github.com/users/katiebates","html_url":"https://github.com/katiebates","followers_url":"https://api.github.com/users/katiebates/followers","following_url":"https://api.github.com/users/katiebates/following{/other_user}","gists_url":"https://api.github.com/users/katiebates/gists{/gist_id}","starred_url":"https://api.github.com/users/katiebates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiebates/subscriptions","organizations_url":"https://api.github.com/users/katiebates/orgs","repos_url":"https://api.github.com/users/katiebates/repos","events_url":"https://api.github.com/users/katiebates/events{/privacy}","received_events_url":"https://api.github.com/users/katiebates/received_events","type":"User","site_admin":false},"body":"not sure about this line","created_at":"2018-11-05T16:17:04Z","updated_at":"2018-11-05T16:17:04Z","html_url":"https://github.com/alphagov/pay-tech-docs/pull/185#discussion_r230812596","pull_request_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments/230812596"},"html":{"href":"https://github.com/alphagov/pay-tech-docs/pull/185#discussion_r230812596"},"pull_request":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185","id":225805468,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODA1NDY4","html_url":"https://github.com/alphagov/pay-tech-docs/pull/185","diff_url":"https://github.com/alphagov/pay-tech-docs/pull/185.diff","patch_url":"https://github.com/alphagov/pay-tech-docs/pull/185.patch","issue_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/185","number":185,"state":"open","locked":false,"title":"Account structure","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\nDraft version of the account structure documentation—subject to change. \r\n\r\n### Changes proposed in this pull request\r\nAdds draft version of account structure docs. Needs Conor to work on a new diagram(?)\r\n\r\n### Guidance to review\r\nTest deployment: https://govukpay-accountstructure.cloudapps.digital/account_structure/#account-structure","created_at":"2018-10-25T15:28:58Z","updated_at":"2018-11-05T16:17:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfe06e357eeb669a9a54bedb50bae101bd3c889f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1112381970,"node_id":"MDU6TGFiZWwxMTEyMzgxOTcw","url":"https://api.github.com/repos/alphagov/pay-tech-docs/labels/needs%20writer%20review","name":"needs writer review","color":"006b75","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185/commits","review_comments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185/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/185/comments","statuses_url":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/be99fb4c42d2262e4a46be9c235ae4df6f9b3d4e","head":{"label":"alphagov:account_structure","ref":"account_structure","sha":"be99fb4c42d2262e4a46be9c235ae4df6f9b3d4e","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-11-05T15:13:20Z","pushed_at":"2018-11-05T15:55:03Z","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":"https://docs.payments.service.gov.uk/","size":6810,"stargazers_count":1,"watchers_count":1,"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":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"c0af76f3cb41dd07897d062710be3763f64107c7","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-11-05T15:13:20Z","pushed_at":"2018-11-05T15:55:03Z","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":"https://docs.payments.service.gov.uk/","size":6810,"stargazers_count":1,"watchers_count":1,"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":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185"},"html":{"href":"https://github.com/alphagov/pay-tech-docs/pull/185"},"issue":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/185"},"comments":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/185/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/185/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/185/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/be99fb4c42d2262e4a46be9c235ae4df6f9b3d4e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"katiebates"}}