{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments/244745419","pull_request_review_id":188689438,"id":244745419,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDc0NTQxOQ==","diff_hunk":"@@ -0,0 +1,218 @@\n+---\n+title: Direct Debit\n+weight: 75\n+---\n+\n+# GOV.UK Pay Variable Direct Debit\n+\n+Before reading this section, you should be familiar with the\n+[__Making payments__ section](/payment_flow_overview/#payment-flow).\n+\n+If you have already [integrated with the GOV.UK Pay\n+API](/integrate_with_govuk_pay/#how-to-integrate-with-the-gov-uk-pay-api), you\n+can start using Direct Debit quickly. You should:\n+\n+* request a GOV.UK Pay Direct Debit test account [from our\n+support team](/support_contact_and_more_information/#contact-us).\n+* add support for the Direct Debit endpoints to your existing GOV.UK Pay\n+integration\n+* sign in to your GOV.UK Pay Direct Debit account and follow the instructions\n+to set up an account with our Direct Debit supplier\n+\n+## GOV.UK Pay ‘agreements’\n+\n+In order to support Direct Debit, GOV.UK Pay now uses ‘agreements’. An\n+agreement represents an individual payer’s consent for future payments using a\n+particular funding source.\n+\n+For Direct Debit transactions, GOV.UK Pay fulfils an agreement by registering\n+a Direct Debit mandate with the payer’s bank. \n+\n+## Synchronous and asynchronous payment methods","path":"source/direct_debit/index.html.md.erb","position":31,"original_position":31,"commit_id":"2e1df68d6c2737de248244e48d23c473d645d504","original_commit_id":"e493baad198b31ddb1e59253c8086942f0dc078f","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":"I'm not sure if I follow. It might be me having made edits to the original content and forgetting, honestly (if so, apologies), or my lack of understanding, but as things stand I don't see how this reinforces \"agreement\" vs \"mandate\". ","created_at":"2019-01-02T14:13:32Z","updated_at":"2019-01-02T14:13:32Z","html_url":"https://github.com/alphagov/pay-tech-docs/pull/202#discussion_r244745419","pull_request_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/202","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/comments/244745419"},"html":{"href":"https://github.com/alphagov/pay-tech-docs/pull/202#discussion_r244745419"},"pull_request":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/202"}},"in_reply_to_id":243567180},"pull_request":{"url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/202","id":229117382,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MTE3Mzgy","html_url":"https://github.com/alphagov/pay-tech-docs/pull/202","diff_url":"https://github.com/alphagov/pay-tech-docs/pull/202.diff","patch_url":"https://github.com/alphagov/pay-tech-docs/pull/202.patch","issue_url":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/202","number":202,"state":"open","locked":false,"title":"Direct Debit documentation","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\nDirect Debit documentation, to be introduced in stages for review ","created_at":"2018-11-07T17:59:07Z","updated_at":"2019-01-02T14:13:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e192aa99169f7e195c5733f3dac6c42b359cad80","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1168967089,"node_id":"MDU6TGFiZWwxMTY4OTY3MDg5","url":"https://api.github.com/repos/alphagov/pay-tech-docs/labels/DRAFT","name":"DRAFT","color":"7e83e5","default":false},{"id":1093228669,"node_id":"MDU6TGFiZWwxMDkzMjI4NjY5","url":"https://api.github.com/repos/alphagov/pay-tech-docs/labels/do%20not%20merge","name":"do not merge","color":"c0e88d","default":false},{"id":1148902179,"node_id":"MDU6TGFiZWwxMTQ4OTAyMTc5","url":"https://api.github.com/repos/alphagov/pay-tech-docs/labels/needs%20SME%20review","name":"needs SME review","color":"7c34db","default":false},{"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/202/commits","review_comments_url":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/202/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/202/comments","statuses_url":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/2e1df68d6c2737de248244e48d23c473d645d504","head":{"label":"alphagov:direct_debit","ref":"direct_debit","sha":"2e1df68d6c2737de248244e48d23c473d645d504","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":"2019-01-02T10:38:32Z","pushed_at":"2019-01-02T10:38:34Z","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":6487,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"306170b14fbe050b6f27e0883defed188c5f76a5","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":"2019-01-02T10:38:32Z","pushed_at":"2019-01-02T10:38:34Z","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":6487,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/202"},"html":{"href":"https://github.com/alphagov/pay-tech-docs/pull/202"},"issue":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/202"},"comments":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/issues/202/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/pulls/202/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/202/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/pay-tech-docs/statuses/2e1df68d6c2737de248244e48d23c473d645d504"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bahmady"}}