Skip to content

Commit

Permalink
Changes generated by 83f7938a80591140543756193baf40dffee3e5be
Browse files Browse the repository at this point in the history
  • Loading branch information
gocardless-robot committed Jul 26, 2023
1 parent 5e14962 commit 300d86e
Show file tree
Hide file tree
Showing 18 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/bank_authorisations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"method": "POST",
"path_template": "/bank_authorisations",
"url_params": [],
"body": {"bank_authorisations":{"authorisation_type":"example authorisation_type 8081","authorised_at":"2020-01-01T12:00:00.000Z","created_at":"2023-07-18T12:57:56.354Z","expires_at":"2023-07-18T12:57:56.354Z","id":"BAU123","last_visited_at":"2020-01-01T12:00:00.000Z","links":{"billing_request":"BRQ123","institution":"monzo"},"qr_code_url":"https://pay.gocardless.com/obauth/BAU123/qr_code","redirect_uri":"https://my-website.com/abc/callback","url":"https://pay.gocardless.com/obauth/BAU123"}}
"body": {"bank_authorisations":{"authorisation_type":"example authorisation_type 8081","authorised_at":"2020-01-01T12:00:00.000Z","created_at":"2023-07-26T14:10:02.510Z","expires_at":"2023-07-26T14:10:02.510Z","id":"BAU123","last_visited_at":"2020-01-01T12:00:00.000Z","links":{"billing_request":"BRQ123","institution":"monzo"},"qr_code_url":"https://pay.gocardless.com/obauth/BAU123/qr_code","redirect_uri":"https://my-website.com/abc/callback","url":"https://pay.gocardless.com/obauth/BAU123"}}
},
"get": {
"method": "GET",
"path_template": "/bank_authorisations/:identity",
"url_params": ["BAU123"],
"body": {"bank_authorisations":{"authorisation_type":"example authorisation_type 7887","authorised_at":"2020-01-01T12:00:00.000Z","created_at":"2023-07-18T12:57:56.354Z","expires_at":"2023-07-18T12:57:56.354Z","id":"BAU123","last_visited_at":"2020-01-01T12:00:00.000Z","links":{"billing_request":"BRQ123","institution":"monzo"},"qr_code_url":"https://pay.gocardless.com/obauth/BAU123/qr_code","redirect_uri":"https://my-website.com/abc/callback","url":"https://pay.gocardless.com/obauth/BAU123"}}
"body": {"bank_authorisations":{"authorisation_type":"example authorisation_type 7887","authorised_at":"2020-01-01T12:00:00.000Z","created_at":"2023-07-26T14:10:02.510Z","expires_at":"2023-07-26T14:10:02.510Z","id":"BAU123","last_visited_at":"2020-01-01T12:00:00.000Z","links":{"billing_request":"BRQ123","institution":"monzo"},"qr_code_url":"https://pay.gocardless.com/obauth/BAU123/qr_code","redirect_uri":"https://my-website.com/abc/callback","url":"https://pay.gocardless.com/obauth/BAU123"}}
}
}
4 changes: 2 additions & 2 deletions tests/fixtures/billing_request_flows.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"method": "POST",
"path_template": "/billing_request_flows",
"url_params": [],
"body": {"billing_request_flows":{"authorisation_url":"https://monzo.com/abc-123-things","auto_fulfil":false,"created_at":"2023-07-18T12:57:56.358Z","exit_uri":"https://my-website.com/abc/callback","expires_at":"2023-07-18T12:57:56.358Z","id":"BRF123","language":"en","links":{"billing_request":"BRQ123"},"lock_bank_account":false,"lock_currency":true,"lock_customer_details":true,"prefilled_bank_account":{"account_type":"savings"},"prefilled_customer":{"address_line1":"221B Baker Street","address_line2":"Marylebone","address_line3":"City of Westminster","city":"London","company_name":"Hamilton Trading Ltd.","country_code":"GB","danish_identity_number":"220550-6218","email":"[email protected]","family_name":"Osborne","given_name":"Frank","postal_code":"NW1 6XE","region":"Greater London","swedish_identity_number":"556564-5404"},"redirect_uri":"https://my-website.com/abc/callback","session_token":"sesh_123","show_redirect_buttons":false,"show_success_redirect_button":false}}
"body": {"billing_request_flows":{"authorisation_url":"https://monzo.com/abc-123-things","auto_fulfil":false,"created_at":"2023-07-26T14:10:02.516Z","exit_uri":"https://my-website.com/abc/callback","expires_at":"2023-07-26T14:10:02.516Z","id":"BRF123","language":"en","links":{"billing_request":"BRQ123"},"lock_bank_account":true,"lock_currency":false,"lock_customer_details":false,"prefilled_bank_account":{"account_type":"savings"},"prefilled_customer":{"address_line1":"221B Baker Street","address_line2":"Marylebone","address_line3":"City of Westminster","city":"London","company_name":"Hamilton Trading Ltd.","country_code":"GB","danish_identity_number":"220550-6218","email":"[email protected]","family_name":"Osborne","given_name":"Frank","postal_code":"NW1 6XE","region":"Greater London","swedish_identity_number":"556564-5404"},"redirect_uri":"https://my-website.com/abc/callback","session_token":"sesh_123","show_redirect_buttons":false,"show_success_redirect_button":true}}
},
"initialise": {
"method": "POST",
"path_template": "/billing_request_flows/:identity/actions/initialise",
"url_params": ["BRF123"],
"body": {"billing_request_flows":{"authorisation_url":"https://monzo.com/abc-123-things","auto_fulfil":false,"created_at":"2023-07-18T12:57:56.358Z","exit_uri":"https://my-website.com/abc/callback","expires_at":"2023-07-18T12:57:56.358Z","id":"BRF123","language":"en","links":{"billing_request":"BRQ123"},"lock_bank_account":false,"lock_currency":false,"lock_customer_details":true,"prefilled_bank_account":{"account_type":"savings"},"prefilled_customer":{"address_line1":"221B Baker Street","address_line2":"Marylebone","address_line3":"City of Westminster","city":"London","company_name":"Hamilton Trading Ltd.","country_code":"GB","danish_identity_number":"220550-6218","email":"[email protected]","family_name":"Osborne","given_name":"Frank","postal_code":"NW1 6XE","region":"Greater London","swedish_identity_number":"556564-5404"},"redirect_uri":"https://my-website.com/abc/callback","session_token":"sesh_123","show_redirect_buttons":true,"show_success_redirect_button":true}}
"body": {"billing_request_flows":{"authorisation_url":"https://monzo.com/abc-123-things","auto_fulfil":true,"created_at":"2023-07-26T14:10:02.516Z","exit_uri":"https://my-website.com/abc/callback","expires_at":"2023-07-26T14:10:02.516Z","id":"BRF123","language":"en","links":{"billing_request":"BRQ123"},"lock_bank_account":false,"lock_currency":true,"lock_customer_details":false,"prefilled_bank_account":{"account_type":"savings"},"prefilled_customer":{"address_line1":"221B Baker Street","address_line2":"Marylebone","address_line3":"City of Westminster","city":"London","company_name":"Hamilton Trading Ltd.","country_code":"GB","danish_identity_number":"220550-6218","email":"[email protected]","family_name":"Osborne","given_name":"Frank","postal_code":"NW1 6XE","region":"Greater London","swedish_identity_number":"556564-5404"},"redirect_uri":"https://my-website.com/abc/callback","session_token":"sesh_123","show_redirect_buttons":false,"show_success_redirect_button":true}}
}
}
24 changes: 12 additions & 12 deletions tests/fixtures/billing_requests.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tests/fixtures/blocks.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"method": "GET",
"path_template": "/blocks",
"url_params": [],
"body": {"blocks":[{"active":true,"block_type":"example block_type 1874","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 2375","reason_type":"example reason_type 8284","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"},{"active":true,"block_type":"example block_type 106","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 2286","reason_type":"example reason_type 6537","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"}],"meta":{"cursors":{"after":"example after 3653","before":"example before 6774"},"limit":50}}
"body": {"blocks":[{"active":true,"block_type":"example block_type 3653","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 8284","reason_type":"example reason_type 6774","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"},{"active":true,"block_type":"example block_type 1874","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 2375","reason_type":"example reason_type 106","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"}],"meta":{"cursors":{"after":"example after 2286","before":"example before 6537"},"limit":50}}
},
"disable": {
"method": "POST",
"path_template": "/blocks/:identity/actions/disable",
"url_params": ["BLC123"],
"body": {"blocks":{"active":true,"block_type":"example block_type 4658","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 6114","reason_type":"example reason_type 4467","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"}}
"body": {"blocks":{"active":true,"block_type":"example block_type 4467","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 4658","reason_type":"example reason_type 6114","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"}}
},
"enable": {
"method": "POST",
"path_template": "/blocks/:identity/actions/enable",
"url_params": ["BLC123"],
"body": {"blocks":{"active":true,"block_type":"example block_type 259","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 9723","reason_type":"example reason_type 3546","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"}}
"body": {"blocks":{"active":true,"block_type":"example block_type 3546","created_at":"2014-01-01T12:00:00.000Z","id":"BLC123","reason_description":"example reason_description 259","reason_type":"example reason_type 9723","resource_reference":"[email protected]","updated_at":"2014-01-01T12:00:00.000Z"}}
},
"block_by_ref": {
"method": "POST",
Expand Down
Loading

0 comments on commit 300d86e

Please sign in to comment.