{"resource_docs":[{"operation_id":"OBPv3.1.0-createConsentSms","implemented_by":{"version":"OBPv3.1.0","function":"createConsentSms"},"request_verb":"POST","request_url":"/obp/v3.1.0/banks/BANK_ID/my/consents/SMS","summary":"Create Consent (SMS)","description":"<p>This endpoint starts the process of creating a Consent.</p>\n<p>The Consent is created in an INITIATED state.</p>\n<p>A One Time Password (OTP) (AKA security challenge) is sent Out of Band (OOB) to the User via the transport defined in SCA_METHOD<br />\nSCA_METHOD is typically &quot;SMS&quot; or &quot;EMAIL&quot;. &quot;EMAIL&quot; is used for testing purposes.</p>\n<p>When the Consent is created, OBP (or a backend system) stores the challenge so it can be checked later against the value supplied by the User with the Answer Consent Challenge endpoint.</p>\n<p>An OBP Consent allows the holder of the Consent to call one or more endpoints.</p>\n<p>Consents must be created and authorisied using SCA (Strong Customer Authentication).</p>\n<p>That is, Consents can be created by an authorised User via the OBP REST API but they must be confirmed via an out of band (OOB) mechanism such as a code sent to a mobile phone.</p>\n<p>Each Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.</p>\n<p>Each Consent is bound to a consumer i.e. you need to identify yourself over request header value Consumer-Key.<br />\nFor example:<br />\nGET /obp/v4.0.0/users/current HTTP/1.1<br />\nHost: 127.0.0.1:8080<br />\nConsent-JWT: eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOlt7InJvbGVfbmFtZSI6IkNhbkdldEFueVVzZXIiLCJiYW5rX2lkIjoiIn<br />\n1dLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIzNDc1MDEzZi03YmY5LTQyNj<br />\nEtOWUxYy0xZTdlNWZjZTJlN2UiLCJhdWQiOiI4MTVhMGVmMS00YjZhLTQyMDUtYjExMi1lNDVmZDZmNGQzYWQiLCJuYmYiOjE1ODA3NDE2NjcsIml<br />\nzcyI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDgwIiwiZXhwIjoxNTgwNzQ1MjY3LCJpYXQiOjE1ODA3NDE2NjcsImp0aSI6ImJkYzVjZTk5LTE2ZTY<br />\ntNDM4Yi1hNjllLTU3MTAzN2RhMTg3OCIsInZpZXdzIjpbXX0.L3fEEEhdCVr3qnmyRKBBUaIQ7dk1VjiFaEBW8hUNjfg</p>\n<p>Consumer-Key: ejznk505d132ryomnhbx1qmtohurbsbb0kijajsk<br />\ncache-control: no-cache</p>\n<p>Maximum time to live of the token is specified over props value consents.max_time_to_live. In case isn't defined default value is 3600 seconds.</p>\n<p>Example of POST JSON:<br />\n{<br />\n&quot;everything&quot;: false,<br />\n&quot;views&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;account_id&quot;: &quot;8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0&quot;,<br />\n&quot;view_id&quot;: &quot;owner&quot;<br />\n}<br />\n],<br />\n&quot;entitlements&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;role_name&quot;: &quot;CanGetCustomer&quot;<br />\n}<br />\n],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"m&#97;&#105;&#108;&#116;&#x6f;&#x3a;&#101;&#118;&#101;&#x6c;&#x69;&#110;&#x65;&#x40;&#x65;&#x78;&#97;&#x6d;&#x70;&#x6c;&#x65;&#x2e;&#99;&#111;&#x6d;\">e&#118;&#101;&#x6c;&#x69;&#x6e;&#x65;&#x40;&#x65;x&#x61;m&#x70;&#x6c;&#101;&#x2e;&#99;&#111;m</a>&quot;,<br />\n&quot;valid_from&quot;: &quot;2020-02-07T08:43:34Z&quot;,<br />\n&quot;time_to_live&quot;: 3600<br />\n}<br />\nPlease note that only optional fields are: consumer_id, valid_from and time_to_live.<br />\nIn case you omit they the default values are used:<br />\nconsumer_id = consumer of current user<br />\nvalid_from = current time<br />\ntime_to_live = consents.max_time_to_live</p>\n<p>Authentication is Mandatory</p>\n<p>Example 1:<br />\n{<br />\n&quot;everything&quot;: true,<br />\n&quot;views&quot;: [],<br />\n&quot;entitlements&quot;: [],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"&#109;&#97;&#105;&#x6c;&#x74;&#x6f;:&#x65;v&#101;&#x6c;i&#x6e;&#x65;&#64;e&#x78;&#x61;&#109;&#112;l&#x65;&#x2e;c&#111;&#109;\">&#101;&#x76;&#x65;&#108;i&#x6e;&#x65;&#64;&#x65;&#x78;a&#x6d;&#112;l&#x65;&#46;&#x63;&#111;m</a>&quot;<br />\n}</p>\n<p>Please note that consumer_id is optional field<br />\nExample 2:<br />\n{<br />\n&quot;everything&quot;: true,<br />\n&quot;views&quot;: [],<br />\n&quot;entitlements&quot;: [],<br />\n&quot;email&quot;: &quot;<a href=\"&#x6d;&#x61;ilt&#111;&#x3a;&#101;&#118;&#101;&#108;&#105;&#110;&#101;&#64;e&#x78;&#x61;&#109;&#x70;l&#x65;.c&#x6f;&#x6d;\">&#x65;&#118;&#101;li&#x6e;&#101;&#64;&#101;&#120;a&#109;&#112;&#x6c;e&#x2e;&#99;&#x6f;m</a>&quot;<br />\n}</p>\n<p>Please note if everything=false you need to explicitly specify views and entitlements<br />\nExample 3:<br />\n{<br />\n&quot;everything&quot;: false,<br />\n&quot;views&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;account_id&quot;: &quot;8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0&quot;,<br />\n&quot;view_id&quot;: &quot;owner&quot;<br />\n}<br />\n],<br />\n&quot;entitlements&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;role_name&quot;: &quot;CanGetCustomer&quot;<br />\n}<br />\n],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"m&#x61;&#105;l&#116;&#111;&#x3a;e&#118;&#x65;&#x6c;i&#x6e;&#101;&#64;&#x65;&#x78;a&#109;&#112;&#x6c;e&#46;&#99;&#x6f;&#x6d;\">e&#x76;&#x65;l&#105;&#110;&#101;&#64;&#x65;x&#97;&#109;&#112;&#x6c;&#x65;&#x2e;c&#x6f;m</a>&quot;<br />\n}</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#sms\">SMS</a>:</p>\n<p><strong>JSON request body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#entitlements\"><strong>entitlements</strong></a>:</p>\n<p><a href=\"/glossary#everything\"><strong>everything</strong></a>:</p>\n<p><a href=\"/glossary#phone_number\"><strong>phone_number</strong></a>:</p>\n<p><a href=\"/glossary#role_name\"><strong>role_name</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>view_id</strong></a>: owner</p>\n<p><a href=\"/glossary#views\"><strong>views</strong></a>:</p>\n<p><a href=\"/glossary#\">consumer_id</a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#time_to_live\">time_to_live</a>:</p>\n<p><a href=\"/glossary#valid_from\">valid_from</a>: 2020-01-27</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"This endpoint starts the process of creating a Consent.\n\nThe Consent is created in an INITIATED state.\n\nA One Time Password (OTP) (AKA security challenge) is sent Out of Band (OOB) to the User via the transport defined in SCA_METHOD\nSCA_METHOD is typically \"SMS\" or \"EMAIL\". \"EMAIL\" is used for testing purposes.\n\nWhen the Consent is created, OBP (or a backend system) stores the challenge so it can be checked later against the value supplied by the User with the Answer Consent Challenge endpoint.\n\n\n\nAn OBP Consent allows the holder of the Consent to call one or more endpoints.\n\nConsents must be created and authorisied using SCA (Strong Customer Authentication).\n\nThat is, Consents can be created by an authorised User via the OBP REST API but they must be confirmed via an out of band (OOB) mechanism such as a code sent to a mobile phone.\n\nEach Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.\n\nEach Consent is bound to a consumer i.e. you need to identify yourself over request header value Consumer-Key. \nFor example:\nGET /obp/v4.0.0/users/current HTTP/1.1\nHost: 127.0.0.1:8080\nConsent-JWT: eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOlt7InJvbGVfbmFtZSI6IkNhbkdldEFueVVzZXIiLCJiYW5rX2lkIjoiIn\n1dLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIzNDc1MDEzZi03YmY5LTQyNj\nEtOWUxYy0xZTdlNWZjZTJlN2UiLCJhdWQiOiI4MTVhMGVmMS00YjZhLTQyMDUtYjExMi1lNDVmZDZmNGQzYWQiLCJuYmYiOjE1ODA3NDE2NjcsIml\nzcyI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDgwIiwiZXhwIjoxNTgwNzQ1MjY3LCJpYXQiOjE1ODA3NDE2NjcsImp0aSI6ImJkYzVjZTk5LTE2ZTY\ntNDM4Yi1hNjllLTU3MTAzN2RhMTg3OCIsInZpZXdzIjpbXX0.L3fEEEhdCVr3qnmyRKBBUaIQ7dk1VjiFaEBW8hUNjfg\n\nConsumer-Key: ejznk505d132ryomnhbx1qmtohurbsbb0kijajsk\ncache-control: no-cache\n\nMaximum time to live of the token is specified over props value consents.max_time_to_live. In case isn't defined default value is 3600 seconds.\n\nExample of POST JSON:\n{\n  \"everything\": false,\n  \"views\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"account_id\": \"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\",\n      \"view_id\": \"owner\"\n    }\n  ],\n  \"entitlements\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"role_name\": \"CanGetCustomer\"\n    }\n  ],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\",\n  \"valid_from\": \"2020-02-07T08:43:34Z\",\n  \"time_to_live\": 3600\n}\nPlease note that only optional fields are: consumer_id, valid_from and time_to_live. \nIn case you omit they the default values are used:\nconsumer_id = consumer of current user\nvalid_from = current time\ntime_to_live = consents.max_time_to_live\n\n      \n\nAuthentication is Mandatory\n\nExample 1: \n{\n  \"everything\": true,\n  \"views\": [],\n  \"entitlements\": [],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\"\n}\n\nPlease note that consumer_id is optional field\nExample 2:\n{\n  \"everything\": true,\n  \"views\": [],\n  \"entitlements\": [],\n  \"email\": \"eveline@example.com\"\n}\n\nPlease note if everything=false you need to explicitly specify views and entitlements\nExample 3:\n{\n  \"everything\": false,\n  \"views\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"account_id\": \"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\",\n      \"view_id\": \"owner\"\n    }\n  ],\n  \"entitlements\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"role_name\": \"CanGetCustomer\"\n    }\n  ],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\"\n}\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[SMS](/glossary#sms): \n\n\n\n\n\n**JSON request body fields:**\n\n\n\n[**account_id**](/glossary#): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**entitlements**](/glossary#entitlements): \n\n\n\n[**everything**](/glossary#everything): \n\n\n\n[**phone_number**](/glossary#phone_number): \n\n\n\n[**role_name**](/glossary#role_name): \n\n\n\n[**view_id**](/glossary#): owner\n\n\n\n[**views**](/glossary#views): \n\n\n\n[consumer_id](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[time_to_live](/glossary#time_to_live): \n\n\n\n[valid_from](/glossary#valid_from): 2020-01-27\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","example_request_body":{"everything":false,"views":[{"bank_id":"gh.29.uk","account_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","view_id":"owner"}],"entitlements":[{"bank_id":"gh.29.uk","role_name":"CanGetCustomer"}],"consumer_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh","phone_number":"+44 07972 444 876","valid_from":"2026-05-18T00:02:38Z","time_to_live":3600},"success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-35009: Only SMS and EMAIL are supported as SCA methods. ","OBP-35013: Consents can only contain Roles that you already have access to.","OBP-35014: Consents can only contain Views that you already have access to.","OBP-30019: Consumer not found. Please specify a valid value for CONSUMER_ID.","OBP-20058: Consumer is disabled.","OBP-00010: Missing props value at this API instance - ","OBP-35010: SMS server is not working or SMS server can not send the message to the phone number:","OBP-50200: Connector cannot return the data we requested.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_request_body":{"type":"object","properties":{"valid_from":{"type":"string","format":"date-time"},"entitlements":{"type":"array","items":{"type":"object","properties":{"bank_id":{"type":"string"},"role_name":{"type":"string"}}}},"phone_number":{"type":"string"},"everything":{"type":"boolean"},"views":{"type":"array","items":{"type":"object","properties":{"bank_id":{"type":"string"},"view_id":{"type":"string"},"account_id":{"type":"string"}}}},"consumer_id":{"type":"string"},"time_to_live":{"type":"integer"}}},"typed_success_response_body":{"type":"object","properties":{"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/my/consents/SMS","connector_methods":["obp.sendCustomerNotification","obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv5.0.0-getConsentRequest","implemented_by":{"version":"OBPv5.0.0","function":"getConsentRequest"},"request_verb":"GET","request_url":"/obp/v5.0.0/consumer/consent-requests/CONSENT_REQUEST_ID","summary":"Get Consent Request","description":"<p>Authentication is Optional</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#consent_request_id\">CONSENT_REQUEST_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_request_id\"><strong>consent_request_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#\"><strong>consumer_id</strong></a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#payload\"><strong>payload</strong></a>: payload</p>\n","description_markdown":"Authentication is Optional\n\n\n**URL Parameters:**\n\n[CONSENT_REQUEST_ID](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_request_id**](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[**consumer_id**](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[**payload**](/glossary#payload): payload\n\n\n","success_response_body":{"consent_request_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","payload":{"everything":false,"account_access":[{"account_routing":{"scheme":"AccountNumber","address":"4930396"},"view_id":"owner"}],"phone_number":"+44 07972 444 876","valid_from":"2022-06-14T12:42:00Z","time_to_live":3600},"consumer_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"error_response_bodies":["OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-35028: Consent Request not found by CONSENT_REQUEST_ID. ","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"consumer_id":{"type":"string"},"payload":{"type":"object","properties":{"phone_number":{"type":"string"},"everything":{"type":"boolean"},"valid_from":{"type":"string"},"time_to_live":{"type":"integer"},"account_access":{"type":"array","items":{"type":"object","properties":{"account_routing":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}},"view_id":{"type":"string"}}}}}},"consent_request_id":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/consumer/consent-requests/CONSENT_REQUEST_ID","connector_methods":["obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.0.0-getAccountsHeld","implemented_by":{"version":"OBPv3.0.0","function":"getAccountsHeld"},"request_verb":"GET","request_url":"/obp/v3.0.0/banks/BANK_ID/accounts-held","summary":"Get Accounts Held","description":"<p>Get Accounts held by the current User if even the User has not been assigned the owner View yet.</p>\n<p>Can be used to onboard the account to the API - since all other account and transaction endpoints require views to be assigned.</p>\n<p>optional request parameters:</p>\n<ul>\n<li>account_type_filter: one or many accountType value, split by comma</li>\n<li>account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE</li>\n</ul>\n<p>whole url example:<br />\n/banks/BANK_ID/accounts-held?account_type_filter=330,CURRENT+PLUS&amp;account_type_filter_operation=INCLUDE</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#accounts\"><strong>accounts</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#\"><strong>label</strong></a>: My Account</p>\n<p><a href=\"/glossary#number\"><strong>number</strong></a>:</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n","description_markdown":"Get Accounts held by the current User if even the User has not been assigned the owner View yet.\n\nCan be used to onboard the account to the API - since all other account and transaction endpoints require views to be assigned.\n\n\noptional request parameters:\n\n* account_type_filter: one or many accountType value, split by comma\n* account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE\n\nwhole url example:\n/banks/BANK_ID/accounts-held?account_type_filter=330,CURRENT+PLUS&account_type_filter_operation=INCLUDE\n    \n\n\n\n        \n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**accounts**](/glossary#accounts): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**label**](/glossary#): My Account\n\n\n\n[**number**](/glossary#number): \n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n","success_response_body":{"accounts":[{"id":"12314","label":"My Account","bank_id":"123","number":"123","account_routings":[{"scheme":"AccountNumber","address":"4930396"}]}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","View-Custom","PSD2"],"typed_success_response_body":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"label":{"type":"string"},"bank_id":{"type":"string"},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}},"id":{"type":"string"}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/accounts-held","connector_methods":["obp.getCoreBankAccounts","obp.getBankAccountsHeld","obp.getAccountsHeld","obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv5.0.0-createConsentByConsentRequestIdSms","implemented_by":{"version":"OBPv5.0.0","function":"createConsentByConsentRequestIdSms"},"request_verb":"POST","request_url":"/obp/v5.0.0/consumer/consent-requests/CONSENT_REQUEST_ID/SMS/consents","summary":"Create Consent By CONSENT_REQUEST_ID (SMS)","description":"<p>This endpoint continues the process of creating a Consent. It starts the SCA flow which changes the status of the consent from INITIATED to ACCEPTED or REJECTED.<br />\nPlease note that the Consent cannot elevate the privileges logged in user already have.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#consent_request_id\">CONSENT_REQUEST_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#sms\">SMS</a>:</p>\n<p><strong>JSON request body fields:</strong></p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n<p><a href=\"/glossary#consent_request_id\">consent_request_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n","description_markdown":"This endpoint continues the process of creating a Consent. It starts the SCA flow which changes the status of the consent from INITIATED to ACCEPTED or REJECTED.\nPlease note that the Consent cannot elevate the privileges logged in user already have. \n\n\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[CONSENT_REQUEST_ID](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[SMS](/glossary#sms): \n\n\n\n\n\n**JSON request body fields:**\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n\n[consent_request_id](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n","success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED","consent_request_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-35029: The CONSENT_REQUEST_ID is invalid. ","OBP-35009: Only SMS and EMAIL are supported as SCA methods. ","OBP-35013: Consents can only contain Roles that you already have access to.","OBP-35014: Consents can only contain Views that you already have access to.","OBP-30019: Consumer not found. Please specify a valid value for CONSUMER_ID.","OBP-20058: Consumer is disabled.","OBP-00010: Missing props value at this API instance - ","OBP-35010: SMS server is not working or SMS server can not send the message to the phone number:","OBP-50200: Connector cannot return the data we requested.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"consent_request_id":{"type":"string"},"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/consumer/consent-requests/CONSENT_REQUEST_ID/SMS/consents","connector_methods":["obp.getBankAccountByRouting","obp.sendCustomerNotification","obp.getBankAccountsForUser"]},{"operation_id":"OBPv4.0.0-getCoreAccountById","implemented_by":{"version":"OBPv4.0.0","function":"getCoreAccountById"},"request_verb":"GET","request_url":"/obp/v4.0.0/my/banks/BANK_ID/accounts/ACCOUNT_ID/account","summary":"Get Account by Id (Core)","description":"<p>Information returned about the account specified by ACCOUNT_ID:</p>\n<ul>\n<li>Number - The human readable account number given by the bank that identifies the account.</li>\n<li>Label - A label given by the owner of the account</li>\n<li>Owners - Users that own this account</li>\n<li>Type - The type of account</li>\n<li>Balance - Currency and Value</li>\n<li>Account Routings - A list that might include IBAN or national account identifiers</li>\n<li>Account Rules - A list that might include Overdraft and other bank specific rules</li>\n<li>Tags - A list of Tags assigned to this account</li>\n</ul>\n<p>This call returns the owner view and requires access to that view.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>amount</strong></a>: 10.12</p>\n<p><a href=\"/glossary#balance\"><strong>balance</strong></a>: 10</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#\"><strong>currency</strong></a>: EUR</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#\"><strong>label</strong></a>: My Account</p>\n<p><a href=\"/glossary#number\"><strong>number</strong></a>:</p>\n<p><a href=\"/glossary#product_code\"><strong>product_code</strong></a>: 1234BW</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#views_basic\"><strong>views_basic</strong></a>:</p>\n","description_markdown":"Information returned about the account specified by ACCOUNT_ID:\n\n* Number - The human readable account number given by the bank that identifies the account.\n* Label - A label given by the owner of the account\n* Owners - Users that own this account\n* Type - The type of account\n* Balance - Currency and Value\n* Account Routings - A list that might include IBAN or national account identifiers\n* Account Rules - A list that might include Overdraft and other bank specific rules\n* Tags - A list of Tags assigned to this account\n\nThis call returns the owner view and requires access to that view.\n\n\n\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[ACCOUNT_ID](/glossary#Account.account_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**amount**](/glossary#): 10.12\n\n\n\n[**balance**](/glossary#balance): 10\n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**currency**](/glossary#): EUR\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**label**](/glossary#): My Account\n\n\n\n[**number**](/glossary#number): \n\n\n\n[**product_code**](/glossary#product_code): 1234BW\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**views_basic**](/glossary#views_basic): \n\n\n","success_response_body":{"id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","bank_id":"gh.29.uk","label":"My Account","number":"546387432","product_code":"AC","balance":{"currency":"EUR","amount":"0"},"account_routings":[{"scheme":"AccountNumber","address":"4930396"}],"views_basic":["owner"]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30018: Bank Account not found. Please specify valid values for BANK_ID and ACCOUNT_ID. ","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"views_basic":{"type":"array","items":{"type":"string"}},"bank_id":{"type":"string"},"label":{"type":"string"},"balance":{"type":"object","properties":{"currency":{"type":"string"},"amount":{"type":"string"}}},"product_code":{"type":"string"},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}},"id":{"type":"string"},"number":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/my/banks/BANK_ID/accounts/ACCOUNT_ID/account","connector_methods":[]},{"operation_id":"OBPv4.0.0-getBankAccountsBalances","implemented_by":{"version":"OBPv4.0.0","function":"getBankAccountsBalances"},"request_verb":"GET","request_url":"/obp/v4.0.0/banks/BANK_ID/balances","summary":"Get Accounts Balances","description":"<p>Get the Balances for the Accounts of the current User at one bank.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#accounts\"><strong>accounts</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>amount</strong></a>: 10.12</p>\n<p><a href=\"/glossary#\"><strong>balances</strong></a>: balances</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#\"><strong>currency</strong></a>: EUR</p>\n<p><a href=\"/glossary#\"><strong>label</strong></a>: My Account</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#type\"><strong>type</strong></a>:</p>\n","description_markdown":"Get the Balances for the Accounts of the current User at one bank.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**account_id**](/glossary#): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**accounts**](/glossary#accounts): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**amount**](/glossary#): 10.12\n\n\n\n[**balances**](/glossary#): balances\n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**currency**](/glossary#): EUR\n\n\n\n[**label**](/glossary#): My Account\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**type**](/glossary#type): \n\n\n","success_response_body":{"accounts":[{"account_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","bank_id":"gh.29.uk","account_routings":[{"scheme":"accountNumber","address":"123456"}],"label":"My Account","balances":[{"type":"","currency":"EUR","amount":"10"}]}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","properties":{"bank_id":{"type":"string"},"label":{"type":"string"},"balances":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"}}}},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}},"account_id":{"type":"string"}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/balances","connector_methods":["obp.getBankAccountsBalances"]},{"operation_id":"OBPv5.0.0-createConsentByConsentRequestIdEmail","implemented_by":{"version":"OBPv5.0.0","function":"createConsentByConsentRequestIdEmail"},"request_verb":"POST","request_url":"/obp/v5.0.0/consumer/consent-requests/CONSENT_REQUEST_ID/EMAIL/consents","summary":"Create Consent By CONSENT_REQUEST_ID (EMAIL)","description":"<p>This endpoint continues the process of creating a Consent. It starts the SCA flow which changes the status of the consent from INITIATED to ACCEPTED or REJECTED.<br />\nPlease note that the Consent cannot elevate the privileges logged in user already have.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#consent_request_id\">CONSENT_REQUEST_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#\">EMAIL</a>: <a href=\"&#109;&#97;&#x69;&#x6c;&#116;o&#x3a;&#102;e&#108;&#x69;&#x78;s&#109;&#105;&#116;&#104;&#64;&#101;&#x78;&#x61;&#x6d;&#112;l&#x65;.&#x63;&#x6f;&#x6d;\">&#102;&#101;li&#x78;&#x73;&#x6d;&#x69;&#116;&#104;@&#101;&#120;&#97;&#109;&#112;l&#101;&#x2e;&#x63;&#111;&#109;</a></p>\n<p><strong>JSON request body fields:</strong></p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n<p><a href=\"/glossary#consent_request_id\">consent_request_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n","description_markdown":"This endpoint continues the process of creating a Consent. It starts the SCA flow which changes the status of the consent from INITIATED to ACCEPTED or REJECTED.\nPlease note that the Consent cannot elevate the privileges logged in user already have.\n\n\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[CONSENT_REQUEST_ID](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[EMAIL](/glossary#): felixsmith@example.com\n\n\n\n\n\n**JSON request body fields:**\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n\n[consent_request_id](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n","success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED","consent_request_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-35009: Only SMS and EMAIL are supported as SCA methods. ","OBP-35013: Consents can only contain Roles that you already have access to.","OBP-35014: Consents can only contain Views that you already have access to.","OBP-30019: Consumer not found. Please specify a valid value for CONSUMER_ID.","OBP-20058: Consumer is disabled.","OBP-50200: Connector cannot return the data we requested.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"consent_request_id":{"type":"string"},"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/consumer/consent-requests/CONSENT_REQUEST_ID/EMAIL/consents","connector_methods":["obp.getBankAccountByRouting","obp.sendCustomerNotification","obp.getBankAccountsForUser"]},{"operation_id":"OBPv5.0.0-createConsentRequest","implemented_by":{"version":"OBPv5.0.0","function":"createConsentRequest"},"request_verb":"POST","request_url":"/obp/v5.0.0/consumer/consent-requests","summary":"Create Consent Request","description":"<p>Client Authentication (mandatory)</p>\n<p>It is used when applications request an access token to access their own resources, not on behalf of a user.</p>\n<p>The client needs to authenticate themselves for this request.<br />\nIn case of public client we use client_id and private kew to obtain access token, otherwise we use client_id and client_secret.<br />\nThe obtained access token is used in the HTTP Bearer auth header of our request.</p>\n<p>Example:<br />\nAuthorization: Bearer eXtneO-THbQtn3zvK_kQtXXfvOZyZFdBCItlPDbR2Bk.dOWqtXCtFX-tqGTVR0YrIjvAolPIVg7GZ-jz83y6nA0</p>\n<p>Authentication is Optional</p>\n<p><strong>JSON request body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>account_access</strong></a>: account_access</p>\n<p><a href=\"/glossary#account_routing\"><strong>account_routing</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#everything\"><strong>everything</strong></a>:</p>\n<p><a href=\"/glossary#role_name\"><strong>role_name</strong></a>:</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#\"><strong>view_id</strong></a>: owner</p>\n<p><a href=\"/glossary#\">consumer_id</a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#\">email</a>: <a href=\"&#109;&#97;&#x69;&#108;&#116;&#x6f;&#x3a;&#102;&#101;&#x6c;ix&#115;m&#x69;&#116;&#104;&#64;&#101;x&#x61;&#x6d;p&#x6c;&#101;&#x2e;&#99;&#x6f;&#109;\">&#102;&#x65;&#108;&#x69;&#120;&#x73;&#x6d;&#105;t&#104;&#x40;exa&#x6d;&#112;l&#101;&#x2e;c&#x6f;&#x6d;</a></p>\n<p><a href=\"/glossary#entitlements\">entitlements</a>:</p>\n<p><a href=\"/glossary#phone_number\">phone_number</a>:</p>\n<p><a href=\"/glossary#time_to_live\">time_to_live</a>:</p>\n<p><a href=\"/glossary#valid_from\">valid_from</a>: 2020-01-27</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_request_id\"><strong>consent_request_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#\"><strong>consumer_id</strong></a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#payload\"><strong>payload</strong></a>: payload</p>\n","description_markdown":"Client Authentication (mandatory)\n\nIt is used when applications request an access token to access their own resources, not on behalf of a user.\n\nThe client needs to authenticate themselves for this request.\nIn case of public client we use client_id and private kew to obtain access token, otherwise we use client_id and client_secret.\nThe obtained access token is used in the HTTP Bearer auth header of our request.\n\nExample:\nAuthorization: Bearer eXtneO-THbQtn3zvK_kQtXXfvOZyZFdBCItlPDbR2Bk.dOWqtXCtFX-tqGTVR0YrIjvAolPIVg7GZ-jz83y6nA0\n\n\n\nAuthentication is Optional\n\n\n**JSON request body fields:**\n\n\n\n[**account_access**](/glossary#): account_access\n\n\n\n[**account_routing**](/glossary#account_routing): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**everything**](/glossary#everything): \n\n\n\n[**role_name**](/glossary#role_name): \n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**view_id**](/glossary#): owner\n\n\n\n[consumer_id](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[email](/glossary#): felixsmith@example.com\n\n\n\n[entitlements](/glossary#entitlements): \n\n\n\n[phone_number](/glossary#phone_number): \n\n\n\n[time_to_live](/glossary#time_to_live): \n\n\n\n[valid_from](/glossary#valid_from): 2020-01-27\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_request_id**](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[**consumer_id**](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[**payload**](/glossary#payload): payload\n\n\n","example_request_body":{"everything":false,"account_access":[{"account_routing":{"scheme":"AccountNumber","address":"4930396"},"view_id":"owner"}],"entitlements":[{"bank_id":"gh.29.uk","role_name":"CanGetCustomer"}],"consumer_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh","email":"felixsmith@example.com","phone_number":"+44 07972 444 876","valid_from":"2026-05-18T00:02:38Z","time_to_live":3600},"success_response_body":{"consent_request_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","payload":{"everything":false,"account_access":[{"account_routing":{"scheme":"AccountNumber","address":"4930396"},"view_id":"owner"}],"phone_number":"+44 07972 444 876","valid_from":"2022-06-14T12:42:00Z","time_to_live":3600},"consumer_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"error_response_bodies":["OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-35020: You exceeded max value of time to live of consents.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_request_body":{"type":"object","properties":{"valid_from":{"type":"string","format":"date-time"},"account_access":{"type":"array","items":{"type":"object","properties":{"view_id":{"type":"string"},"account_routing":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}}}},"everything":{"type":"boolean"},"phone_number":{"type":"string"},"email":{"type":"string"},"consumer_id":{"type":"string"},"time_to_live":{"type":"integer"},"entitlements":{"type":"array","items":{"type":"object","properties":{"bank_id":{"type":"string"},"role_name":{"type":"string"}}}}}},"typed_success_response_body":{"type":"object","properties":{"consumer_id":{"type":"string"},"payload":{"type":"object","properties":{"phone_number":{"type":"string"},"everything":{"type":"boolean"},"valid_from":{"type":"string"},"time_to_live":{"type":"integer"},"account_access":{"type":"array","items":{"type":"object","properties":{"account_routing":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}},"view_id":{"type":"string"}}}}}},"consent_request_id":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/consumer/consent-requests","connector_methods":["obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.0.0-privateAccountsAtOneBank","implemented_by":{"version":"OBPv3.0.0","function":"privateAccountsAtOneBank"},"request_verb":"GET","request_url":"/obp/v3.0.0/banks/BANK_ID/accounts/private","summary":"Get Accounts at Bank (Minimal)","description":"<p>Returns the minimal list of private accounts at BANK_ID that the user has access to.<br />\nFor each account, the API returns the ID, routing addresses and the views available to the current user.</p>\n<p>If you want to see more information on the Views, use the Account Detail call.</p>\n<p>optional request parameters:</p>\n<ul>\n<li>account_type_filter: one or many accountType value, split by comma</li>\n<li>account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE</li>\n</ul>\n<p>whole url example:<br />\n/banks/BANK_ID/accounts/private?account_type_filter=330,CURRENT+PLUS&amp;account_type_filter_operation=INCLUDE</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>account_type</strong></a>: AC</p>\n<p><a href=\"/glossary#accounts\"><strong>accounts</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#description\"><strong>description</strong></a>: This an optional field. Maximum length is 2000. It can be any characters here.</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#is_public\"><strong>is_public</strong></a>: true</p>\n<p><a href=\"/glossary#\"><strong>label</strong></a>: My Account</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#short_name\"><strong>short_name</strong></a>:</p>\n<p><a href=\"/glossary#views\"><strong>views</strong></a>:</p>\n","description_markdown":"Returns the minimal list of private accounts at BANK_ID that the user has access to.\nFor each account, the API returns the ID, routing addresses and the views available to the current user.\n\nIf you want to see more information on the Views, use the Account Detail call.\n\n\noptional request parameters:\n\n* account_type_filter: one or many accountType value, split by comma\n* account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE\n\nwhole url example:\n/banks/BANK_ID/accounts/private?account_type_filter=330,CURRENT+PLUS&account_type_filter_operation=INCLUDE\n    \n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**account_type**](/glossary#): AC\n\n\n\n[**accounts**](/glossary#accounts): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**description**](/glossary#description): This an optional field. Maximum length is 2000. It can be any characters here.\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**is_public**](/glossary#is_public): true\n\n\n\n[**label**](/glossary#): My Account\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**short_name**](/glossary#short_name): \n\n\n\n[**views**](/glossary#views): \n\n\n","success_response_body":{"accounts":[{"id":"5995d6a2-01b3-423c-a173-5481df49bdaf","label":"String","bank_id":"gh.29.uk","account_type":"330","account_routings":[{"scheme":"AccountNumber","address":"4930396"}],"views":[{"id":"owner","short_name":"Owner","description":"This view is for the owner for the account.","is_public":false}]}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","properties":{"views":{"type":"array","items":{"type":"object","properties":{"short_name":{"type":"string"},"description":{"type":"string"},"is_public":{"type":"boolean"},"id":{"type":"string"}}}},"account_type":{"type":"string"},"bank_id":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/accounts/private","connector_methods":["obp.getCoreBankAccounts","obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv5.1.0-selfRevokeConsent","implemented_by":{"version":"OBPv5.1.0","function":"selfRevokeConsent"},"request_verb":"DELETE","request_url":"/obp/v5.1.0/my/consent/current","summary":"Revoke Consent used in the Current Call","description":"<p>Revoke Consent specified by Consent-Id at Request Header</p>\n<p>There are a few reasons you might need to revoke an application’s access to a user’s account:<br />\n- The user explicitly wishes to revoke the application’s access<br />\n- You as the service provider have determined an application is compromised or malicious, and want to disable it<br />\n- etc.</p>\n<p>OBP as a resource server stores access tokens in a database, then it is relatively easy to revoke some token that belongs to a particular user.<br />\nThe status of the token is changed to &quot;REVOKED&quot; so the next time the revoked client makes a request, their token will fail to validate.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"Revoke Consent specified by Consent-Id at Request Header\n\nThere are a few reasons you might need to revoke an application’s access to a user’s account:\n  - The user explicitly wishes to revoke the application’s access\n  - You as the service provider have determined an application is compromised or malicious, and want to disable it\n  - etc.\n\nOBP as a resource server stores access tokens in a database, then it is relatively easy to revoke some token that belongs to a particular user.\nThe status of the token is changed to \"REVOKED\" so the next time the revoked client makes a request, their token will fail to validate.\n\nAuthentication is Mandatory\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"REJECTED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"status":{"type":"string"},"consent_id":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/my/consent/current","connector_methods":["obp.getBankAccountsForUser"]},{"operation_id":"OBPv4.0.0-addConsentUser","implemented_by":{"version":"OBPv4.0.0","function":"addConsentUser"},"request_verb":"PUT","request_url":"/obp/v4.0.0/banks/BANK_ID/consents/CONSENT_ID/user-update-request","summary":"Add User to a Consent","description":"<p>This endpoint is used to add the User of Consent.</p>\n<p>Each Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#consent_id\">CONSENT_ID</a>:</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"This endpoint is used to add the User of Consent.\n\nEach Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[CONSENT_ID](/glossary#consent_id): \n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","example_request_body":{"user_id":"ed7a7c01-db37-45cc-ba12-0ae8891c195c"},"success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"AUTHORISED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-20057: User not found by userId.","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-35024: The Consent's User is already added.","OBP-10001: Incorrect json format.","OBP-35001: Consent not found by CONSENT_ID. ","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)"],"typed_request_body":{"type":"object","properties":{"user_id":{"type":"string"}}},"typed_success_response_body":{"type":"object","properties":{"status":{"type":"string"},"consent_id":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/consents/CONSENT_ID/user-update-request","connector_methods":[]},{"operation_id":"OBPv5.1.0-revokeConsentAtBank","implemented_by":{"version":"OBPv5.1.0","function":"revokeConsentAtBank"},"request_verb":"DELETE","request_url":"/obp/v5.1.0/banks/BANK_ID/consents/CONSENT_ID","summary":"Revoke Consent at Bank","description":"<p>Revoke Consent specified by CONSENT_ID</p>\n<p>There are a few reasons you might need to revoke an application’s access to a user’s account:<br />\n- The user explicitly wishes to revoke the application’s access<br />\n- You as the service provider have determined an application is compromised or malicious, and want to disable it<br />\n- etc.</p>\n<p>OBP as a resource server stores access tokens in a database, then it is relatively easy to revoke some token that belongs to a particular user.<br />\nThe status of the token is changed to &quot;REVOKED&quot; so the next time the revoked client makes a request, their token will fail to validate.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#consent_id\">CONSENT_ID</a>:</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"Revoke Consent specified by CONSENT_ID\n\nThere are a few reasons you might need to revoke an application’s access to a user’s account:\n  - The user explicitly wishes to revoke the application’s access\n  - You as the service provider have determined an application is compromised or malicious, and want to disable it\n  - etc.\n\nOBP as a resource server stores access tokens in a database, then it is relatively easy to revoke some token that belongs to a particular user.\nThe status of the token is changed to \"REVOKED\" so the next time the revoked client makes a request, their token will fail to validate.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[CONSENT_ID](/glossary#consent_id): \n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"REJECTED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error.","OBP-20006: User is missing one or more roles: "],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"status":{"type":"string"},"consent_id":{"type":"string"},"jwt":{"type":"string"}}},"roles":[{"role":"CanRevokeConsentAtBank","requires_bank_id":true}],"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/consents/CONSENT_ID","connector_methods":["obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv4.0.0-getBankAccountBalances","implemented_by":{"version":"OBPv4.0.0","function":"getBankAccountBalances"},"request_verb":"GET","request_url":"/obp/v4.0.0/banks/BANK_ID/accounts/ACCOUNT_ID/balances","summary":"Get Account Balances","description":"<p>Get the Balances for one Account of the current User at one bank.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>amount</strong></a>: 10.12</p>\n<p><a href=\"/glossary#\"><strong>balances</strong></a>: balances</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#\"><strong>currency</strong></a>: EUR</p>\n<p><a href=\"/glossary#\"><strong>label</strong></a>: My Account</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#type\"><strong>type</strong></a>:</p>\n","description_markdown":"Get the Balances for one Account of the current User at one bank.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[ACCOUNT_ID](/glossary#Account.account_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**account_id**](/glossary#): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**amount**](/glossary#): 10.12\n\n\n\n[**balances**](/glossary#): balances\n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**currency**](/glossary#): EUR\n\n\n\n[**label**](/glossary#): My Account\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**type**](/glossary#type): \n\n\n","success_response_body":{"account_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","bank_id":"gh.29.uk","account_routings":[{"scheme":"accountNumber","address":"123456"}],"label":"My Account","balances":[{"type":"","currency":"EUR","amount":"10"}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-30065: Cannot find account access.","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"bank_id":{"type":"string"},"label":{"type":"string"},"balances":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"}}}},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}},"account_id":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/accounts/ACCOUNT_ID/balances","connector_methods":["obp.getBankAccountBalances"]},{"operation_id":"OBPv4.0.0-getConsentInfos","implemented_by":{"version":"OBPv4.0.0","function":"getConsentInfos"},"request_verb":"GET","request_url":"/obp/v4.0.0/banks/BANK_ID/my/consent-infos","summary":"Get Consents Info","description":"<p>This endpoint gets the Consents that the current User created.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>api_standard</strong></a>: api_standard</p>\n<p><a href=\"/glossary#api_version\"><strong>api_version</strong></a>:</p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#consents\"><strong>consents</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>consumer_id</strong></a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#created_by_user_id\"><strong>created_by_user_id</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>last_action_date</strong></a>: last_action_date</p>\n<p><a href=\"/glossary#\"><strong>last_usage_date</strong></a>: last_usage_date</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"This endpoint gets the Consents that the current User created.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**api_standard**](/glossary#): api_standard\n\n\n\n[**api_version**](/glossary#api_version): \n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**consents**](/glossary#consents): \n\n\n\n[**consumer_id**](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[**created_by_user_id**](/glossary#created_by_user_id): \n\n\n\n[**last_action_date**](/glossary#): last_action_date\n\n\n\n[**last_usage_date**](/glossary#): last_usage_date\n\n\n\n[**status**](/glossary#status): \n\n\n","success_response_body":{"consents":[{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","consumer_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh","created_by_user_id":"9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1","last_action_date":"2020-01-27","last_usage_date":"2021-04-08T09:12:27Z","status":"INITIATED","api_standard":"Berlin Group","api_version":"v1.3"}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"consents":{"type":"array","items":{"type":"object","properties":{"created_by_user_id":{"type":"string"},"api_standard":{"type":"string"},"consumer_id":{"type":"string"},"last_usage_date":{"type":"string","format":"date-time"},"last_action_date":{"type":"string","format":"date-time"},"consent_id":{"type":"string"},"status":{"type":"string"},"api_version":{"type":"string"}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/my/consent-infos","connector_methods":[]},{"operation_id":"OBPv3.0.0-getCoreTransactionsForBankAccount","implemented_by":{"version":"OBPv3.0.0","function":"getCoreTransactionsForBankAccount"},"request_verb":"GET","request_url":"/obp/v3.0.0/my/banks/BANK_ID/accounts/ACCOUNT_ID/transactions","summary":"Get Transactions for Account (Core)","description":"<p>Returns transactions list (Core info) of the account specified by ACCOUNT_ID.</p>\n<p>Authentication is Mandatory</p>\n<p>Possible custom url parameters for pagination:</p>\n<ul>\n<li>limit=NUMBER ==&gt; default value: 50</li>\n<li>offset=NUMBER ==&gt; default value: 0</li>\n</ul>\n<p>eg1:?limit=100&amp;offset=0</p>\n<ul>\n<li>sort_direction=ASC/DESC ==&gt; default value: DESC.</li>\n</ul>\n<p>eg2:?limit=100&amp;offset=0&amp;sort_direction=ASC</p>\n<ul>\n<li>from_date=DATE =&gt; example value: 1970-01-01T00:00:00.000Z. NOTE! The default value is one year ago (1970-01-01T00:00:00.000Z).</li>\n<li>to_date=DATE =&gt; example value: 2026-05-18T00:02:45.521Z. NOTE! The default value is now (2026-05-18T00:02:45.521Z).</li>\n</ul>\n<p>Date format parameter: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'(1100-01-01T01:01:01.000Z) ==&gt; time zone is UTC.</p>\n<p>eg3:?sort_direction=ASC&amp;limit=100&amp;offset=0&amp;from_date=1100-01-01T01:01:01.000Z&amp;to_date=1100-01-01T01:01:01.000Z</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Account.account_id\">ACCOUNT_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>amount</strong></a>: 10.12</p>\n<p><a href=\"/glossary#bank_routing\"><strong>bank_routing</strong></a>:</p>\n<p><a href=\"/glossary#completed\"><strong>completed</strong></a>: 2020-01-27</p>\n<p><a href=\"/glossary#\"><strong>currency</strong></a>: EUR</p>\n<p><a href=\"/glossary#description\"><strong>description</strong></a>: This an optional field. Maximum length is 2000. It can be any characters here.</p>\n<p><a href=\"/glossary#details\"><strong>details</strong></a>:</p>\n<p><a href=\"/glossary#holder\"><strong>holder</strong></a>:</p>\n<p><a href=\"/glossary#holders\"><strong>holders</strong></a>:</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#is_alias\"><strong>is_alias</strong></a>:</p>\n<p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p>\n<p><a href=\"/glossary#new_balance\"><strong>new_balance</strong></a>: 20</p>\n<p><a href=\"/glossary#other_account\"><strong>other_account</strong></a>:</p>\n<p><a href=\"/glossary#posted\"><strong>posted</strong></a>: 2020-01-27</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#this_account\"><strong>this_account</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>transaction_attribute_id</strong></a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#transaction_attributes\"><strong>transaction_attributes</strong></a>:</p>\n<p><a href=\"/glossary#transactions\"><strong>transactions</strong></a>:</p>\n<p><a href=\"/glossary#type\"><strong>type</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>value</strong></a>: 5987953</p>\n","description_markdown":"Returns transactions list (Core info) of the account specified by ACCOUNT_ID.\n\nAuthentication is Mandatory\n\n\n\nPossible custom url parameters for pagination:\n\n* limit=NUMBER ==> default value: 50\n* offset=NUMBER ==> default value: 0\n\neg1:?limit=100&offset=0\n\n\n* sort_direction=ASC/DESC ==> default value: DESC.\n\neg2:?limit=100&offset=0&sort_direction=ASC\n\n\n\n* from_date=DATE => example value: 1970-01-01T00:00:00.000Z. NOTE! The default value is one year ago (1970-01-01T00:00:00.000Z).\n* to_date=DATE => example value: 2026-05-18T00:02:45.521Z. NOTE! The default value is now (2026-05-18T00:02:45.521Z).\n\nDate format parameter: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'(1100-01-01T01:01:01.000Z) ==> time zone is UTC.\n\neg3:?sort_direction=ASC&limit=100&offset=0&from_date=1100-01-01T01:01:01.000Z&to_date=1100-01-01T01:01:01.000Z\n\n\n**URL Parameters:**\n\n[ACCOUNT_ID](/glossary#Account.account_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**amount**](/glossary#): 10.12\n\n\n\n[**bank_routing**](/glossary#bank_routing): \n\n\n\n[**completed**](/glossary#completed): 2020-01-27\n\n\n\n[**currency**](/glossary#): EUR\n\n\n\n[**description**](/glossary#description): This an optional field. Maximum length is 2000. It can be any characters here.\n\n\n\n[**details**](/glossary#details): \n\n\n\n[**holder**](/glossary#holder): \n\n\n\n[**holders**](/glossary#holders): \n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**is_alias**](/glossary#is_alias): \n\n\n\n[**name**](/glossary#name): ACCOUNT_MANAGEMENT_FEE\n\n\n\n[**new_balance**](/glossary#new_balance): 20\n\n\n\n[**other_account**](/glossary#other_account): \n\n\n\n[**posted**](/glossary#posted): 2020-01-27\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**this_account**](/glossary#this_account): \n\n\n\n[**transaction_attribute_id**](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[**transaction_attributes**](/glossary#transaction_attributes): \n\n\n\n[**transactions**](/glossary#transactions): \n\n\n\n[**type**](/glossary#type): \n\n\n\n[**value**](/glossary#): 5987953\n\n\n","success_response_body":{"transactions":[{"id":"5995d6a2-01b3-423c-a173-5481df49bdaf","this_account":{"id":"String","bank_routing":{"scheme":"scheme value","address":""},"account_routings":[{"scheme":"AccountNumber","address":"4930396"}],"holders":[{"name":"OBP","is_alias":true}]},"other_account":{"id":"5995d6a2-01b3-423c-a173-5481df49bdaf","holder":{"name":"OBP","is_alias":true},"bank_routing":{"scheme":"scheme value","address":""},"account_routings":[{"scheme":"AccountNumber","address":"4930396"}]},"details":{"type":"AC","description":"OBP","posted":"1100-01-01T00:00:00Z","completed":"1100-01-01T00:00:00Z","new_balance":{"currency":"EUR","amount":"0"},"value":{"currency":"EUR","amount":"0"}},"transaction_attributes":[{"transaction_attribute_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh","name":"HOUSE_RENT","type":"DATE_WITH_DAY","value":"123456789"}]}]},"error_response_bodies":["OBP-10023: obp_sort_direction parameter can only take two values: DESC or ASC!","OBP-10024: wrong value for obp_offset parameter. Please send a positive integer (=>0)!","OBP-10025: wrong value for obp_limit parameter. Please send a positive integer (=>1)!","OBP-10026: Failed to parse date string. Please use this format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'!","OBP-20001: User not logged in. Authentication is required!","OBP-30018: Bank Account not found. Please specify valid values for BANK_ID and ACCOUNT_ID. ","OBP-30005: View not found for Account. Please specify a valid value for VIEW_ID","OBP-50000: Unknown Error."],"tags":["Transaction","Account Information Service (AIS)","Account","PSD2"],"typed_success_response_body":{"type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"details":{"type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"posted":{"type":"string","format":"date-time"},"new_balance":{"type":"object","properties":{"currency":{"type":"string"},"amount":{"type":"string"}}},"completed":{"type":"string","format":"date-time"},"value":{"type":"object","properties":{"currency":{"type":"string"},"amount":{"type":"string"}}}}},"other_account":{"type":"object","properties":{"bank_routing":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}},"holder":{"type":"object","properties":{"is_alias":{"type":"boolean"},"name":{"type":"string"}}},"id":{"type":"string"},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}}}},"id":{"type":"string"},"transaction_attributes":{"type":"array","items":{"type":"object","properties":{"transaction_attribute_id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"}}}},"this_account":{"type":"object","properties":{"bank_routing":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}},"holders":{"type":"array","items":{"type":"object","properties":{"is_alias":{"type":"boolean"},"name":{"type":"string"}}}},"id":{"type":"string"},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}}}}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/my/banks/BANK_ID/accounts/ACCOUNT_ID/transactions","connector_methods":["obp.getTransactionAttributes","obp.getTransactionsCore","obp.checkBankAccountExists","obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv5.0.0-getBank","implemented_by":{"version":"OBPv5.0.0","function":"getBank"},"request_verb":"GET","request_url":"/obp/v5.0.0/banks/BANK_ID","summary":"Get Bank","description":"<p>Get the bank specified by BANK_ID<br />\nReturns information about a single bank specified by BANK_ID including:</p>\n<ul>\n<li>Bank code and full name of bank</li>\n<li>Logo URL</li>\n<li>Website</li>\n</ul>\n<p>Authentication is Optional</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#bank_code\"><strong>bank_code</strong></a>: CGHZ</p>\n<p><a href=\"/glossary#bank_routings\"><strong>bank_routings</strong></a>: bank routing in form of (scheme, address)</p>\n<p><a href=\"/glossary#full_name\"><strong>full_name</strong></a>: full name string</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#logo\"><strong>logo</strong></a>: logo url</p>\n<p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#\"><strong>value</strong></a>: 5987953</p>\n<p><a href=\"/glossary#website\"><strong>website</strong></a>: <a href=\"http://www.openbankproject.com\">www.openbankproject.com</a></p>\n<p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p>\n","description_markdown":"Get the bank specified by BANK_ID\nReturns information about a single bank specified by BANK_ID including:\n\n* Bank code and full name of bank\n* Logo URL\n* Website\n\nAuthentication is Optional\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**address**](/glossary#address): \n\n\n\n[**bank_code**](/glossary#bank_code): CGHZ\n\n\n\n[**bank_routings**](/glossary#bank_routings): bank routing in form of (scheme, address)\n\n\n\n[**full_name**](/glossary#full_name): full name string\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**logo**](/glossary#logo): logo url\n\n\n\n[**name**](/glossary#name): ACCOUNT_MANAGEMENT_FEE\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**value**](/glossary#): 5987953\n\n\n\n[**website**](/glossary#website): www.openbankproject.com\n\n\n\n[attributes](/glossary#attributes): attribute value in form of (name, value)\n\n\n","success_response_body":{"id":"gh.29.uk","bank_code":"CGHZ","full_name":"bank fullName string","logo":"bank logoUrl string","website":"bank logoUrl string","bank_routings":[{"scheme":"scheme value","address":""}],"attributes":[{"name":"ACCOUNT_MANAGEMENT_FEE","value":"5987953"}]},"error_response_bodies":["OBP-50000: Unknown Error.","OBP-30001: Bank not found. Please specify a valid value for BANK_ID."],"tags":["Bank","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"website":{"type":"string"},"attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}}},"bank_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}},"logo":{"type":"string"},"bank_code":{"type":"string"},"full_name":{"type":"string"},"id":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID","connector_methods":["obp.getBankAttributesByBank","obp.getBank"]},{"operation_id":"OBPv5.0.0-getConsentByConsentRequestId","implemented_by":{"version":"OBPv5.0.0","function":"getConsentByConsentRequestId"},"request_verb":"GET","request_url":"/obp/v5.0.0/consumer/consent-requests/CONSENT_REQUEST_ID/consents","summary":"Get Consent By Consent Request Id","description":"<p>This endpoint gets the Consent By consent request id.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#consent_request_id\">CONSENT_REQUEST_ID</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n<p><a href=\"/glossary#consent_request_id\">consent_request_id</a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n","description_markdown":"This endpoint gets the Consent By consent request id.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[CONSENT_REQUEST_ID](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n\n[consent_request_id](/glossary#consent_request_id): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n","success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED","consent_request_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"consent_request_id":{"type":"string"},"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/consumer/consent-requests/CONSENT_REQUEST_ID/consents","connector_methods":["obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.0.0-corePrivateAccountsAllBanks","implemented_by":{"version":"OBPv3.0.0","function":"corePrivateAccountsAllBanks"},"request_verb":"GET","request_url":"/obp/v3.0.0/my/accounts","summary":"Get Accounts at all Banks (private)","description":"<p>Returns the list of accounts containing private views for the user.<br />\nEach account lists the views available to the user.</p>\n<p>optional request parameters:</p>\n<ul>\n<li>account_type_filter: one or many accountType value, split by comma</li>\n<li>account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE</li>\n</ul>\n<p>whole url example:<br />\n/my/accounts?account_type_filter=330,CURRENT+PLUS&amp;account_type_filter_operation=INCLUDE</p>\n<p>Authentication is Mandatory</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#account_routings\"><strong>account_routings</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>account_type</strong></a>: AC</p>\n<p><a href=\"/glossary#accounts\"><strong>accounts</strong></a>:</p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#description\"><strong>description</strong></a>: This an optional field. Maximum length is 2000. It can be any characters here.</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#is_public\"><strong>is_public</strong></a>: true</p>\n<p><a href=\"/glossary#\"><strong>label</strong></a>: My Account</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#short_name\"><strong>short_name</strong></a>:</p>\n<p><a href=\"/glossary#views\"><strong>views</strong></a>:</p>\n","description_markdown":"Returns the list of accounts containing private views for the user.\nEach account lists the views available to the user.\n\n\noptional request parameters:\n\n* account_type_filter: one or many accountType value, split by comma\n* account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE\n\nwhole url example:\n/my/accounts?account_type_filter=330,CURRENT+PLUS&account_type_filter_operation=INCLUDE\n    \n\nAuthentication is Mandatory\n\n\n**JSON response body fields:**\n\n\n\n[**account_routings**](/glossary#account_routings): \n\n\n\n[**account_type**](/glossary#): AC\n\n\n\n[**accounts**](/glossary#accounts): \n\n\n\n[**address**](/glossary#address): \n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**description**](/glossary#description): This an optional field. Maximum length is 2000. It can be any characters here.\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**is_public**](/glossary#is_public): true\n\n\n\n[**label**](/glossary#): My Account\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**short_name**](/glossary#short_name): \n\n\n\n[**views**](/glossary#views): \n\n\n","success_response_body":{"accounts":[{"id":"5995d6a2-01b3-423c-a173-5481df49bdaf","label":"String","bank_id":"gh.29.uk","account_type":"330","account_routings":[{"scheme":"AccountNumber","address":"4930396"}],"views":[{"id":"owner","short_name":"Owner","description":"This view is for the owner for the account.","is_public":false}]}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","PrivateData","PSD2"],"typed_success_response_body":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","properties":{"views":{"type":"array","items":{"type":"object","properties":{"short_name":{"type":"string"},"description":{"type":"string"},"is_public":{"type":"boolean"},"id":{"type":"string"}}}},"account_type":{"type":"string"},"bank_id":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"account_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/my/accounts","connector_methods":["obp.getCoreBankAccounts","obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.1.0-getServerJWK","implemented_by":{"version":"OBPv3.1.0","function":"getServerJWK"},"request_verb":"GET","request_url":"/obp/v3.1.0/certs","summary":"Get JSON Web Key (JWK)","description":"<p>Get the server's public JSON Web Key (JWK) set and certificate chain.<br />\nIt is required by client applications to validate ID tokens, self-contained access tokens and other issued objects.</p>\n<p>Authentication is Optional</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#e\"><strong>e</strong></a>:</p>\n<p><a href=\"/glossary#kid\"><strong>kid</strong></a>:</p>\n<p><a href=\"/glossary#kty\"><strong>kty</strong></a>:</p>\n<p><a href=\"/glossary#n\"><strong>n</strong></a>:</p>\n<p><a href=\"/glossary#use\"><strong>use</strong></a>:</p>\n","description_markdown":"Get the server's public JSON Web Key (JWK) set and certificate chain.\n It is required by client applications to validate ID tokens, self-contained access tokens and other issued objects.\n\n      \n\nAuthentication is Optional\n\n\n**JSON response body fields:**\n\n\n\n[**e**](/glossary#e): \n\n\n\n[**kid**](/glossary#kid): \n\n\n\n[**kty**](/glossary#kty): \n\n\n\n[**n**](/glossary#n): \n\n\n\n[**use**](/glossary#use): \n\n\n","success_response_body":{"kty":"RSA","e":"AQAB","use":"sig","kid":"fr6-BxXH5gikFeZ2O6rGk0LUmJpukeswASN_TMW8U_s","n":"hrB0OWqg6AeNU3WCnhheG18R5EbQtdNYGOaSeylTjkj2lZr0_vkhNVYvase-CroxO4HOT06InxTYwLnmJiyv2cZxReuoVjTlk--olGu-9MZooiFiqWez0JzndyKxQ27OiAjFsMh0P04kaUXeHKhXRfiU7K2FqBshR1UlnWe7iHLkq2p9rrGjxQc7ff0w-Uc0f-8PWg36Y2Od7s65493iVQwnI13egqMaSvgB1s8_dgm08noEjhr8C5m1aKmr5oipWEPNi-SBV2VNuiCLR1IEPuXq0tOwwZfv31t34KPO-2H2bbaWmzGJy9mMOGqoNrbXyGiUZoyeHRELaNtm1GilyQ"},"error_response_bodies":["OBP-50000: Unknown Error."],"tags":["API","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"kid":{"type":"string"},"use":{"type":"string"},"n":{"type":"string"},"e":{"type":"string"},"kty":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/certs","connector_methods":["obp.getBankAccountsForUser"]},{"operation_id":"OBPv4.0.0-getBanks","implemented_by":{"version":"OBPv4.0.0","function":"getBanks"},"request_verb":"GET","request_url":"/obp/v4.0.0/banks","summary":"Get Banks","description":"<p>Get banks on this API instance<br />\nReturns a list of banks supported on this server:</p>\n<ul>\n<li>ID used as parameter in URLs</li>\n<li>Short and full name of bank</li>\n<li>Logo URL</li>\n<li>Website</li>\n</ul>\n<p>Authentication is Optional</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#address\"><strong>address</strong></a>:</p>\n<p><a href=\"/glossary#bank_routings\"><strong>bank_routings</strong></a>: bank routing in form of (scheme, address)</p>\n<p><a href=\"/glossary#banks\"><strong>banks</strong></a>:</p>\n<p><a href=\"/glossary#full_name\"><strong>full_name</strong></a>: full name string</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#logo\"><strong>logo</strong></a>: logo url</p>\n<p><a href=\"/glossary#name\"><strong>name</strong></a>: ACCOUNT_MANAGEMENT_FEE</p>\n<p><a href=\"/glossary#scheme\"><strong>scheme</strong></a>: scheme value</p>\n<p><a href=\"/glossary#short_name\"><strong>short_name</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>value</strong></a>: 5987953</p>\n<p><a href=\"/glossary#website\"><strong>website</strong></a>: <a href=\"http://www.openbankproject.com\">www.openbankproject.com</a></p>\n<p><a href=\"/glossary#attributes\">attributes</a>: attribute value in form of (name, value)</p>\n","description_markdown":"Get banks on this API instance\nReturns a list of banks supported on this server:\n\n* ID used as parameter in URLs\n* Short and full name of bank\n* Logo URL\n* Website\n\nAuthentication is Optional\n\n\n**JSON response body fields:**\n\n\n\n[**address**](/glossary#address): \n\n\n\n[**bank_routings**](/glossary#bank_routings): bank routing in form of (scheme, address)\n\n\n\n[**banks**](/glossary#banks): \n\n\n\n[**full_name**](/glossary#full_name): full name string\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**logo**](/glossary#logo): logo url\n\n\n\n[**name**](/glossary#name): ACCOUNT_MANAGEMENT_FEE\n\n\n\n[**scheme**](/glossary#scheme): scheme value\n\n\n\n[**short_name**](/glossary#short_name): \n\n\n\n[**value**](/glossary#): 5987953\n\n\n\n[**website**](/glossary#website): www.openbankproject.com\n\n\n\n[attributes](/glossary#attributes): attribute value in form of (name, value)\n\n\n","success_response_body":{"banks":[{"id":"gh.29.uk","short_name":"short_name ","full_name":"full_name","logo":"logo","website":"www.openbankproject.com","bank_routings":[{"scheme":"scheme value","address":""}],"attributes":[{"name":"ACCOUNT_MANAGEMENT_FEE","value":"5987953"}]}]},"error_response_bodies":["OBP-50000: Unknown Error."],"tags":["Bank","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"banks":{"type":"array","items":{"type":"object","properties":{"website":{"type":"string"},"logo":{"type":"string"},"attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}}},"short_name":{"type":"string"},"bank_routings":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"address":{"type":"string"}}}},"id":{"type":"string"},"full_name":{"type":"string"}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks","connector_methods":["obp.getBanks"]},{"operation_id":"OBPv3.1.0-revokeConsent","implemented_by":{"version":"OBPv3.1.0","function":"revokeConsent"},"request_verb":"GET","request_url":"/obp/v3.1.0/banks/BANK_ID/my/consents/CONSENT_ID/revoke","summary":"Revoke Consent","description":"<p>Revoke Consent for current user specified by CONSENT_ID</p>\n<p>There are a few reasons you might need to revoke an application’s access to a user’s account:<br />\n- The user explicitly wishes to revoke the application’s access<br />\n- You as the service provider have determined an application is compromised or malicious, and want to disable it<br />\n- etc.</p>\n<p>Please note that this endpoint only supports the case:: &quot;The user explicitly wishes to revoke the application’s access&quot;</p>\n<p>OBP as a resource server stores access tokens in a database, then it is relatively easy to revoke some token that belongs to a particular user.<br />\nThe status of the token is changed to &quot;REVOKED&quot; so the next time the revoked client makes a request, their token will fail to validate.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#consent_id\">CONSENT_ID</a>:</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"Revoke Consent for current user specified by CONSENT_ID\n\nThere are a few reasons you might need to revoke an application’s access to a user’s account:\n  - The user explicitly wishes to revoke the application’s access\n  - You as the service provider have determined an application is compromised or malicious, and want to disable it\n  - etc.\n\nPlease note that this endpoint only supports the case:: \"The user explicitly wishes to revoke the application’s access\"\n\nOBP as a resource server stores access tokens in a database, then it is relatively easy to revoke some token that belongs to a particular user.\nThe status of the token is changed to \"REVOKED\" so the next time the revoked client makes a request, their token will fail to validate.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[CONSENT_ID](/glossary#consent_id): \n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"REJECTED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"status":{"type":"string"},"consent_id":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/my/consents/CONSENT_ID/revoke","connector_methods":["obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv4.0.0-getConsents","implemented_by":{"version":"OBPv4.0.0","function":"getConsents"},"request_verb":"GET","request_url":"/obp/v4.0.0/banks/BANK_ID/my/consents","summary":"Get Consents","description":"<p>This endpoint gets the Consents that the current User created.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>api_standard</strong></a>: api_standard</p>\n<p><a href=\"/glossary#api_version\"><strong>api_version</strong></a>:</p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#consents\"><strong>consents</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"This endpoint gets the Consents that the current User created.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**api_standard**](/glossary#): api_standard\n\n\n\n[**api_version**](/glossary#api_version): \n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**consents**](/glossary#consents): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","success_response_body":{"consents":[{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED","api_standard":"Berlin Group","api_version":"v1.3"}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"consents":{"type":"array","items":{"type":"object","properties":{"api_standard":{"type":"string"},"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"},"api_version":{"type":"string"}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/my/consents","connector_methods":[]},{"operation_id":"OBPv5.1.0-mtlsClientCertificateInfo","implemented_by":{"version":"OBPv5.1.0","function":"mtlsClientCertificateInfo"},"request_verb":"GET","request_url":"/obp/v5.1.0/my/mtls/certificate/current","summary":"Provide client's certificate info of a current call","description":"<p>Provide client's certificate info of a current call specified by PSD2-CERT value at Request Header</p>\n<p>Authentication is Mandatory</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>issuer_domain_name</strong></a>: issuer_domain_name</p>\n<p><a href=\"/glossary#\"><strong>not_after</strong></a>: not_after</p>\n<p><a href=\"/glossary#\"><strong>not_before</strong></a>: not_before</p>\n<p><a href=\"/glossary#\"><strong>subject_domain_name</strong></a>: subject_domain_name</p>\n<p><a href=\"/glossary#roles\">roles</a>: CanCreateMyUser</p>\n<p><a href=\"/glossary#\">roles_info</a>: roles_info</p>\n","description_markdown":"Provide client's certificate info of a current call specified by PSD2-CERT value at Request Header\n\nAuthentication is Mandatory\n\n\n**JSON response body fields:**\n\n\n\n[**issuer_domain_name**](/glossary#): issuer_domain_name\n\n\n\n[**not_after**](/glossary#): not_after\n\n\n\n[**not_before**](/glossary#): not_before\n\n\n\n[**subject_domain_name**](/glossary#): subject_domain_name\n\n\n\n[roles](/glossary#roles): CanCreateMyUser\n\n\n\n[roles_info](/glossary#): roles_info\n\n\n","success_response_body":{"subject_domain_name":"OID.2.5.4.41=VPN, EMAILADDRESS=admin@tesobe.com, CN=TESOBE CA, OU=TESOBE Operations, O=TESOBE, L=Berlin, ST=Berlin, C=DE","issuer_domain_name":"CN=localhost, O=TESOBE GmbH, ST=Berlin, C=DE","not_before":"2022-04-01T10:13:00.000Z","not_after":"2032-04-01T10:13:00.000Z","roles_info":"PEM Encoded Certificate does not contain PSD2 roles."},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"roles_info":{"type":"string"},"subject_domain_name":{"type":"string"},"not_before":{"type":"string"},"issuer_domain_name":{"type":"string"},"not_after":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/my/mtls/certificate/current","connector_methods":["obp.getBankAccountsForUser"]},{"operation_id":"OBPv4.0.0-updateConsentStatus","implemented_by":{"version":"OBPv4.0.0","function":"updateConsentStatus"},"request_verb":"PUT","request_url":"/obp/v4.0.0/banks/BANK_ID/consents/CONSENT_ID","summary":"Update Consent Status","description":"<p>This endpoint is used to update the Status of Consent.</p>\n<p>Each Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#consent_id\">CONSENT_ID</a>:</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"This endpoint is used to update the Status of Consent.\n\nEach Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[CONSENT_ID](/glossary#consent_id): \n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","example_request_body":{"status":"AUTHORISED"},"success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"AUTHORISED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-50200: Connector cannot return the data we requested.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)"],"typed_request_body":{"type":"object","properties":{"status":{"type":"string"}}},"typed_success_response_body":{"type":"object","properties":{"status":{"type":"string"},"consent_id":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/consents/CONSENT_ID","connector_methods":[]},{"operation_id":"OBPv2.0.0-getTransactionTypes","implemented_by":{"version":"OBPv2.0.0","function":"getTransactionTypes"},"request_verb":"GET","request_url":"/obp/v2.0.0/banks/BANK_ID/transaction-types","summary":"Get Transaction Types at Bank","description":"<p>Get Transaction Types for the bank specified by BANK_ID:</p>\n<p>Lists the possible Transaction Types available at the bank (as opposed to Transaction Request Types which are the possible ways Transactions can be created by this API Server).</p>\n<ul>\n<li>id : Unique transaction type id across the API instance. SHOULD be a UUID. MUST be unique.</li>\n<li>bank_id : The bank that supports this TransactionType</li>\n<li>short_code : A short code (SHOULD have no-spaces) which MUST be unique across the bank. May be stored with Transactions to link here</li>\n<li>summary : A succinct summary</li>\n<li>description : A longer description</li>\n<li>charge : The charge to the customer for each one of these</li>\n</ul>\n<p>Authentication is Optional</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>amount</strong></a>: 10.12</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#charge\"><strong>charge</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>currency</strong></a>: EUR</p>\n<p><a href=\"/glossary#description\"><strong>description</strong></a>: This an optional field. Maximum length is 2000. It can be any characters here.</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n<p><a href=\"/glossary#short_code\"><strong>short_code</strong></a>:</p>\n<p><a href=\"/glossary#summary\"><strong>summary</strong></a>:</p>\n<p><a href=\"/glossary#transaction_types\"><strong>transaction_types</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>value</strong></a>: 5987953</p>\n","description_markdown":"Get Transaction Types for the bank specified by BANK_ID:\n\nLists the possible Transaction Types available at the bank (as opposed to Transaction Request Types which are the possible ways Transactions can be created by this API Server).\n\n  * id : Unique transaction type id across the API instance. SHOULD be a UUID. MUST be unique.\n  * bank_id : The bank that supports this TransactionType\n  * short_code : A short code (SHOULD have no-spaces) which MUST be unique across the bank. May be stored with Transactions to link here\n  * summary : A succinct summary\n  * description : A longer description\n  * charge : The charge to the customer for each one of these\n\nAuthentication is Optional\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**amount**](/glossary#): 10.12\n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**charge**](/glossary#charge): \n\n\n\n[**currency**](/glossary#): EUR\n\n\n\n[**description**](/glossary#description): This an optional field. Maximum length is 2000. It can be any characters here.\n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n\n[**short_code**](/glossary#short_code): \n\n\n\n[**summary**](/glossary#summary): \n\n\n\n[**transaction_types**](/glossary#transaction_types): \n\n\n\n[**value**](/glossary#): 5987953\n\n\n","example_request_body":{"jsonString":"{}"},"success_response_body":{"transaction_types":[{"id":{"value":"123"},"bank_id":"gh.29.uk","short_code":"PlaceholderString","summary":"PlaceholderString","description":"PlaceholderString","charge":{"currency":"EUR","amount":"0"}}]},"error_response_bodies":["OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Bank","Account Information Service (AIS)","PSD2"],"typed_request_body":{"type":"object","properties":{"jsonString":{"type":"string"}}},"typed_success_response_body":{"type":"object","properties":{"transaction_types":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"short_code":{"type":"string"},"bank_id":{"type":"string"},"summary":{"type":"string"},"charge":{"type":"object","properties":{"currency":{"type":"string"},"amount":{"type":"string"}}},"id":{"type":"object","properties":{"value":{"type":"string"}}}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/transaction-types","connector_methods":["obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.1.0-answerConsentChallenge","implemented_by":{"version":"OBPv3.1.0","function":"answerConsentChallenge"},"request_verb":"POST","request_url":"/obp/v3.1.0/banks/BANK_ID/consents/CONSENT_ID/challenge","summary":"Answer Consent Challenge","description":"<p>An OBP Consent allows the holder of the Consent to call one or more endpoints.</p>\n<p>Consents must be created and authorisied using SCA (Strong Customer Authentication).</p>\n<p>That is, Consents can be created by an authorised User via the OBP REST API but they must be confirmed via an out of band (OOB) mechanism such as a code sent to a mobile phone.</p>\n<p>Each Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.</p>\n<p>Each Consent is bound to a consumer i.e. you need to identify yourself over request header value Consumer-Key.<br />\nFor example:<br />\nGET /obp/v4.0.0/users/current HTTP/1.1<br />\nHost: 127.0.0.1:8080<br />\nConsent-JWT: eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOlt7InJvbGVfbmFtZSI6IkNhbkdldEFueVVzZXIiLCJiYW5rX2lkIjoiIn<br />\n1dLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIzNDc1MDEzZi03YmY5LTQyNj<br />\nEtOWUxYy0xZTdlNWZjZTJlN2UiLCJhdWQiOiI4MTVhMGVmMS00YjZhLTQyMDUtYjExMi1lNDVmZDZmNGQzYWQiLCJuYmYiOjE1ODA3NDE2NjcsIml<br />\nzcyI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDgwIiwiZXhwIjoxNTgwNzQ1MjY3LCJpYXQiOjE1ODA3NDE2NjcsImp0aSI6ImJkYzVjZTk5LTE2ZTY<br />\ntNDM4Yi1hNjllLTU3MTAzN2RhMTg3OCIsInZpZXdzIjpbXX0.L3fEEEhdCVr3qnmyRKBBUaIQ7dk1VjiFaEBW8hUNjfg</p>\n<p>Consumer-Key: ejznk505d132ryomnhbx1qmtohurbsbb0kijajsk<br />\ncache-control: no-cache</p>\n<p>Maximum time to live of the token is specified over props value consents.max_time_to_live. In case isn't defined default value is 3600 seconds.</p>\n<p>Example of POST JSON:<br />\n{<br />\n&quot;everything&quot;: false,<br />\n&quot;views&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;account_id&quot;: &quot;8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0&quot;,<br />\n&quot;view_id&quot;: &quot;owner&quot;<br />\n}<br />\n],<br />\n&quot;entitlements&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;role_name&quot;: &quot;CanGetCustomer&quot;<br />\n}<br />\n],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"&#109;&#x61;&#105;&#108;&#116;&#x6f;&#x3a;&#101;&#x76;&#x65;&#x6c;&#105;&#x6e;&#x65;@&#x65;&#x78;a&#109;&#x70;&#x6c;&#x65;.co&#x6d;\">&#101;&#x76;e&#108;&#105;&#110;&#101;&#x40;&#101;&#x78;a&#x6d;&#x70;&#108;&#x65;&#46;&#x63;&#x6f;&#x6d;</a>&quot;,<br />\n&quot;valid_from&quot;: &quot;2020-02-07T08:43:34Z&quot;,<br />\n&quot;time_to_live&quot;: 3600<br />\n}<br />\nPlease note that only optional fields are: consumer_id, valid_from and time_to_live.<br />\nIn case you omit they the default values are used:<br />\nconsumer_id = consumer of current user<br />\nvalid_from = current time<br />\ntime_to_live = consents.max_time_to_live</p>\n<p>This endpoint is used to confirm a Consent previously created.</p>\n<p>The User must supply a code that was sent out of band (OOB) for example via an SMS.</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#consent_id\">CONSENT_ID</a>:</p>\n<p><strong>JSON request body fields:</strong></p>\n<p><a href=\"/glossary#answer\"><strong>answer</strong></a>:</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"An OBP Consent allows the holder of the Consent to call one or more endpoints.\n\nConsents must be created and authorisied using SCA (Strong Customer Authentication).\n\nThat is, Consents can be created by an authorised User via the OBP REST API but they must be confirmed via an out of band (OOB) mechanism such as a code sent to a mobile phone.\n\nEach Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.\n\nEach Consent is bound to a consumer i.e. you need to identify yourself over request header value Consumer-Key. \nFor example:\nGET /obp/v4.0.0/users/current HTTP/1.1\nHost: 127.0.0.1:8080\nConsent-JWT: eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOlt7InJvbGVfbmFtZSI6IkNhbkdldEFueVVzZXIiLCJiYW5rX2lkIjoiIn\n1dLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIzNDc1MDEzZi03YmY5LTQyNj\nEtOWUxYy0xZTdlNWZjZTJlN2UiLCJhdWQiOiI4MTVhMGVmMS00YjZhLTQyMDUtYjExMi1lNDVmZDZmNGQzYWQiLCJuYmYiOjE1ODA3NDE2NjcsIml\nzcyI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDgwIiwiZXhwIjoxNTgwNzQ1MjY3LCJpYXQiOjE1ODA3NDE2NjcsImp0aSI6ImJkYzVjZTk5LTE2ZTY\ntNDM4Yi1hNjllLTU3MTAzN2RhMTg3OCIsInZpZXdzIjpbXX0.L3fEEEhdCVr3qnmyRKBBUaIQ7dk1VjiFaEBW8hUNjfg\n\nConsumer-Key: ejznk505d132ryomnhbx1qmtohurbsbb0kijajsk\ncache-control: no-cache\n\nMaximum time to live of the token is specified over props value consents.max_time_to_live. In case isn't defined default value is 3600 seconds.\n\nExample of POST JSON:\n{\n  \"everything\": false,\n  \"views\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"account_id\": \"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\",\n      \"view_id\": \"owner\"\n    }\n  ],\n  \"entitlements\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"role_name\": \"CanGetCustomer\"\n    }\n  ],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\",\n  \"valid_from\": \"2020-02-07T08:43:34Z\",\n  \"time_to_live\": 3600\n}\nPlease note that only optional fields are: consumer_id, valid_from and time_to_live. \nIn case you omit they the default values are used:\nconsumer_id = consumer of current user\nvalid_from = current time\ntime_to_live = consents.max_time_to_live\n\n      \n\n\nThis endpoint is used to confirm a Consent previously created.\n\nThe User must supply a code that was sent out of band (OOB) for example via an SMS.\n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[CONSENT_ID](/glossary#consent_id): \n\n\n\n\n\n**JSON request body fields:**\n\n\n\n[**answer**](/glossary#answer): \n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","example_request_body":{"answer":"12345678"},"success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-50200: Connector cannot return the data we requested.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_request_body":{"type":"object","properties":{"answer":{"type":"string"}}},"typed_success_response_body":{"type":"object","properties":{"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/consents/CONSENT_ID/challenge","connector_methods":["obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.1.0-createConsentEmail","implemented_by":{"version":"OBPv3.1.0","function":"createConsentEmail"},"request_verb":"POST","request_url":"/obp/v3.1.0/banks/BANK_ID/my/consents/EMAIL","summary":"Create Consent (EMAIL)","description":"<p>This endpoint starts the process of creating a Consent.</p>\n<p>The Consent is created in an INITIATED state.</p>\n<p>A One Time Password (OTP) (AKA security challenge) is sent Out of band (OOB) to the User via the transport defined in SCA_METHOD<br />\nSCA_METHOD is typically &quot;SMS&quot; or &quot;EMAIL&quot;. &quot;EMAIL&quot; is used for testing purposes.</p>\n<p>When the Consent is created, OBP (or a backend system) stores the challenge so it can be checked later against the value supplied by the User with the Answer Consent Challenge endpoint.</p>\n<p>An OBP Consent allows the holder of the Consent to call one or more endpoints.</p>\n<p>Consents must be created and authorisied using SCA (Strong Customer Authentication).</p>\n<p>That is, Consents can be created by an authorised User via the OBP REST API but they must be confirmed via an out of band (OOB) mechanism such as a code sent to a mobile phone.</p>\n<p>Each Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.</p>\n<p>Each Consent is bound to a consumer i.e. you need to identify yourself over request header value Consumer-Key.<br />\nFor example:<br />\nGET /obp/v4.0.0/users/current HTTP/1.1<br />\nHost: 127.0.0.1:8080<br />\nConsent-JWT: eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOlt7InJvbGVfbmFtZSI6IkNhbkdldEFueVVzZXIiLCJiYW5rX2lkIjoiIn<br />\n1dLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIzNDc1MDEzZi03YmY5LTQyNj<br />\nEtOWUxYy0xZTdlNWZjZTJlN2UiLCJhdWQiOiI4MTVhMGVmMS00YjZhLTQyMDUtYjExMi1lNDVmZDZmNGQzYWQiLCJuYmYiOjE1ODA3NDE2NjcsIml<br />\nzcyI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDgwIiwiZXhwIjoxNTgwNzQ1MjY3LCJpYXQiOjE1ODA3NDE2NjcsImp0aSI6ImJkYzVjZTk5LTE2ZTY<br />\ntNDM4Yi1hNjllLTU3MTAzN2RhMTg3OCIsInZpZXdzIjpbXX0.L3fEEEhdCVr3qnmyRKBBUaIQ7dk1VjiFaEBW8hUNjfg</p>\n<p>Consumer-Key: ejznk505d132ryomnhbx1qmtohurbsbb0kijajsk<br />\ncache-control: no-cache</p>\n<p>Maximum time to live of the token is specified over props value consents.max_time_to_live. In case isn't defined default value is 3600 seconds.</p>\n<p>Example of POST JSON:<br />\n{<br />\n&quot;everything&quot;: false,<br />\n&quot;views&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;account_id&quot;: &quot;8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0&quot;,<br />\n&quot;view_id&quot;: &quot;owner&quot;<br />\n}<br />\n],<br />\n&quot;entitlements&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;role_name&quot;: &quot;CanGetCustomer&quot;<br />\n}<br />\n],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"&#109;a&#105;l&#116;&#111;:&#x65;&#118;e&#108;&#105;n&#x65;&#64;&#101;&#x78;&#x61;&#x6d;&#112;&#x6c;&#x65;.co&#x6d;\">&#x65;&#x76;&#x65;&#x6c;&#105;&#110;&#101;&#x40;&#x65;&#120;a&#109;&#112;&#108;&#x65;&#46;&#x63;&#111;&#109;</a>&quot;,<br />\n&quot;valid_from&quot;: &quot;2020-02-07T08:43:34Z&quot;,<br />\n&quot;time_to_live&quot;: 3600<br />\n}<br />\nPlease note that only optional fields are: consumer_id, valid_from and time_to_live.<br />\nIn case you omit they the default values are used:<br />\nconsumer_id = consumer of current user<br />\nvalid_from = current time<br />\ntime_to_live = consents.max_time_to_live</p>\n<p>Authentication is Mandatory</p>\n<p>Example 1:<br />\n{<br />\n&quot;everything&quot;: true,<br />\n&quot;views&quot;: [],<br />\n&quot;entitlements&quot;: [],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"&#109;&#x61;&#105;&#108;t&#x6f;&#x3a;&#x65;&#118;&#101;&#x6c;i&#110;&#101;@e&#120;&#97;&#109;&#x70;&#108;&#x65;&#46;&#x63;&#x6f;&#x6d;\">&#x65;v&#x65;&#x6c;i&#x6e;&#x65;&#x40;&#101;&#120;&#97;&#x6d;&#112;&#x6c;&#x65;&#x2e;&#99;&#111;&#x6d;</a>&quot;<br />\n}</p>\n<p>Please note that consumer_id is optional field<br />\nExample 2:<br />\n{<br />\n&quot;everything&quot;: true,<br />\n&quot;views&quot;: [],<br />\n&quot;entitlements&quot;: [],<br />\n&quot;email&quot;: &quot;<a href=\"&#x6d;&#97;i&#x6c;&#116;o&#x3a;eve&#108;i&#110;&#101;@e&#x78;&#97;&#x6d;&#112;&#x6c;e&#46;&#99;&#111;&#x6d;\">&#x65;&#118;&#x65;&#108;&#x69;&#110;&#101;&#64;&#x65;x&#97;&#109;p&#108;&#x65;&#x2e;&#99;&#111;m</a>&quot;<br />\n}</p>\n<p>Please note if everything=false you need to explicitly specify views and entitlements<br />\nExample 3:<br />\n{<br />\n&quot;everything&quot;: false,<br />\n&quot;views&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;account_id&quot;: &quot;8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0&quot;,<br />\n&quot;view_id&quot;: &quot;owner&quot;<br />\n}<br />\n],<br />\n&quot;entitlements&quot;: [<br />\n{<br />\n&quot;bank_id&quot;: &quot;GENODEM1GLS&quot;,<br />\n&quot;role_name&quot;: &quot;CanGetCustomer&quot;<br />\n}<br />\n],<br />\n&quot;consumer_id&quot;: &quot;7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh&quot;,<br />\n&quot;email&quot;: &quot;<a href=\"&#x6d;&#97;&#x69;&#x6c;&#116;&#x6f;&#58;&#101;&#x76;&#x65;&#x6c;&#x69;&#110;&#x65;@&#101;&#x78;&#x61;m&#112;l&#101;&#x2e;&#x63;o&#109;\">&#101;&#x76;&#101;l&#x69;&#x6e;&#101;&#x40;&#x65;&#120;&#x61;&#x6d;&#x70;&#x6c;e&#x2e;&#x63;om</a>&quot;<br />\n}</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><a href=\"/glossary#\">EMAIL</a>: <a href=\"&#109;&#x61;&#x69;&#108;&#x74;o:&#102;&#x65;&#108;&#105;&#x78;&#115;&#x6d;&#x69;&#x74;&#x68;&#64;&#101;&#x78;&#97;&#x6d;&#112;&#108;e&#x2e;&#x63;&#x6f;&#109;\">f&#101;&#x6c;&#105;x&#x73;&#x6d;&#x69;&#x74;&#x68;&#x40;e&#x78;&#97;&#109;&#112;&#108;e&#46;c&#x6f;m</a></p>\n<p><strong>JSON request body fields:</strong></p>\n<p><a href=\"/glossary#\"><strong>account_id</strong></a>: 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0</p>\n<p><a href=\"/glossary#\"><strong>bank_id</strong></a>: gh.29.uk</p>\n<p><a href=\"/glossary#\"><strong>email</strong></a>: <a href=\"&#109;&#x61;&#x69;&#108;&#116;&#111;&#x3a;&#x66;&#x65;&#108;&#105;&#120;&#115;&#x6d;&#x69;&#x74;&#x68;&#x40;e&#120;&#x61;&#x6d;&#x70;&#x6c;&#x65;&#46;&#x63;o&#x6d;\">&#x66;e&#108;&#x69;&#x78;s&#x6d;&#105;&#116;&#x68;&#x40;&#101;&#120;&#97;m&#112;&#108;&#x65;&#46;&#99;om</a></p>\n<p><a href=\"/glossary#entitlements\"><strong>entitlements</strong></a>:</p>\n<p><a href=\"/glossary#everything\"><strong>everything</strong></a>:</p>\n<p><a href=\"/glossary#role_name\"><strong>role_name</strong></a>:</p>\n<p><a href=\"/glossary#\"><strong>view_id</strong></a>: owner</p>\n<p><a href=\"/glossary#views\"><strong>views</strong></a>:</p>\n<p><a href=\"/glossary#\">consumer_id</a>: 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh</p>\n<p><a href=\"/glossary#time_to_live\">time_to_live</a>:</p>\n<p><a href=\"/glossary#valid_from\">valid_from</a>: 2020-01-27</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#consent_id\"><strong>consent_id</strong></a>:</p>\n<p><a href=\"/glossary#jwt\"><strong>jwt</strong></a>:</p>\n<p><a href=\"/glossary#status\"><strong>status</strong></a>:</p>\n","description_markdown":"This endpoint starts the process of creating a Consent.\n\nThe Consent is created in an INITIATED state.\n\nA One Time Password (OTP) (AKA security challenge) is sent Out of band (OOB) to the User via the transport defined in SCA_METHOD\nSCA_METHOD is typically \"SMS\" or \"EMAIL\". \"EMAIL\" is used for testing purposes.\n\nWhen the Consent is created, OBP (or a backend system) stores the challenge so it can be checked later against the value supplied by the User with the Answer Consent Challenge endpoint.\n\n\n\nAn OBP Consent allows the holder of the Consent to call one or more endpoints.\n\nConsents must be created and authorisied using SCA (Strong Customer Authentication).\n\nThat is, Consents can be created by an authorised User via the OBP REST API but they must be confirmed via an out of band (OOB) mechanism such as a code sent to a mobile phone.\n\nEach Consent has one of the following states: INITIATED, ACCEPTED, REJECTED, REVOKED, RECEIVED, VALID, REVOKEDBYPSU, EXPIRED, TERMINATEDBYTPP, AUTHORISED, AWAITINGAUTHORISATION.\n\nEach Consent is bound to a consumer i.e. you need to identify yourself over request header value Consumer-Key. \nFor example:\nGET /obp/v4.0.0/users/current HTTP/1.1\nHost: 127.0.0.1:8080\nConsent-JWT: eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOlt7InJvbGVfbmFtZSI6IkNhbkdldEFueVVzZXIiLCJiYW5rX2lkIjoiIn\n1dLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIzNDc1MDEzZi03YmY5LTQyNj\nEtOWUxYy0xZTdlNWZjZTJlN2UiLCJhdWQiOiI4MTVhMGVmMS00YjZhLTQyMDUtYjExMi1lNDVmZDZmNGQzYWQiLCJuYmYiOjE1ODA3NDE2NjcsIml\nzcyI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDgwIiwiZXhwIjoxNTgwNzQ1MjY3LCJpYXQiOjE1ODA3NDE2NjcsImp0aSI6ImJkYzVjZTk5LTE2ZTY\ntNDM4Yi1hNjllLTU3MTAzN2RhMTg3OCIsInZpZXdzIjpbXX0.L3fEEEhdCVr3qnmyRKBBUaIQ7dk1VjiFaEBW8hUNjfg\n\nConsumer-Key: ejznk505d132ryomnhbx1qmtohurbsbb0kijajsk\ncache-control: no-cache\n\nMaximum time to live of the token is specified over props value consents.max_time_to_live. In case isn't defined default value is 3600 seconds.\n\nExample of POST JSON:\n{\n  \"everything\": false,\n  \"views\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"account_id\": \"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\",\n      \"view_id\": \"owner\"\n    }\n  ],\n  \"entitlements\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"role_name\": \"CanGetCustomer\"\n    }\n  ],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\",\n  \"valid_from\": \"2020-02-07T08:43:34Z\",\n  \"time_to_live\": 3600\n}\nPlease note that only optional fields are: consumer_id, valid_from and time_to_live. \nIn case you omit they the default values are used:\nconsumer_id = consumer of current user\nvalid_from = current time\ntime_to_live = consents.max_time_to_live\n\n      \n\nAuthentication is Mandatory\n\nExample 1: \n{\n  \"everything\": true,\n  \"views\": [],\n  \"entitlements\": [],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\"\n}\n\nPlease note that consumer_id is optional field\nExample 2:\n{\n  \"everything\": true,\n  \"views\": [],\n  \"entitlements\": [],\n  \"email\": \"eveline@example.com\"\n}\n\nPlease note if everything=false you need to explicitly specify views and entitlements\nExample 3:\n{\n  \"everything\": false,\n  \"views\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"account_id\": \"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\",\n      \"view_id\": \"owner\"\n    }\n  ],\n  \"entitlements\": [\n    {\n      \"bank_id\": \"GENODEM1GLS\",\n      \"role_name\": \"CanGetCustomer\"\n    }\n  ],\n  \"consumer_id\": \"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\",\n  \"email\": \"eveline@example.com\"\n}\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n[EMAIL](/glossary#): felixsmith@example.com\n\n\n\n\n\n**JSON request body fields:**\n\n\n\n[**account_id**](/glossary#): 8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0\n\n\n\n[**bank_id**](/glossary#): gh.29.uk\n\n\n\n[**email**](/glossary#): felixsmith@example.com\n\n\n\n[**entitlements**](/glossary#entitlements): \n\n\n\n[**everything**](/glossary#everything): \n\n\n\n[**role_name**](/glossary#role_name): \n\n\n\n[**view_id**](/glossary#): owner\n\n\n\n[**views**](/glossary#views): \n\n\n\n[consumer_id](/glossary#): 7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh\n\n\n\n[time_to_live](/glossary#time_to_live): \n\n\n\n[valid_from](/glossary#valid_from): 2020-01-27\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**consent_id**](/glossary#consent_id): \n\n\n\n[**jwt**](/glossary#jwt): \n\n\n\n[**status**](/glossary#status): \n\n\n","example_request_body":{"everything":false,"views":[{"bank_id":"gh.29.uk","account_id":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0","view_id":"owner"}],"entitlements":[{"bank_id":"gh.29.uk","role_name":"CanGetCustomer"}],"consumer_id":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh","email":"felixsmith@example.com","valid_from":"2026-05-18T00:02:38Z","time_to_live":3600},"success_response_body":{"consent_id":"9d429899-24f5-42c8-8565-943ffa6a7945","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1MzlhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJlanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5iYW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMWZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19.8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","status":"INITIATED"},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-10001: Incorrect json format.","OBP-35009: Only SMS and EMAIL are supported as SCA methods. ","OBP-35013: Consents can only contain Roles that you already have access to.","OBP-35014: Consents can only contain Views that you already have access to.","OBP-30019: Consumer not found. Please specify a valid value for CONSUMER_ID.","OBP-20058: Consumer is disabled.","OBP-50200: Connector cannot return the data we requested.","OBP-50000: Unknown Error."],"tags":["Consent","Account Information Service (AIS)","PSD2"],"typed_request_body":{"type":"object","properties":{"valid_from":{"type":"string","format":"date-time"},"email":{"type":"string"},"entitlements":{"type":"array","items":{"type":"object","properties":{"bank_id":{"type":"string"},"role_name":{"type":"string"}}}},"everything":{"type":"boolean"},"views":{"type":"array","items":{"type":"object","properties":{"bank_id":{"type":"string"},"view_id":{"type":"string"},"account_id":{"type":"string"}}}},"consumer_id":{"type":"string"},"time_to_live":{"type":"integer"}}},"typed_success_response_body":{"type":"object","properties":{"consent_id":{"type":"string"},"status":{"type":"string"},"jwt":{"type":"string"}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/my/consents/EMAIL","connector_methods":["obp.sendCustomerNotification","obp.getBank","obp.getBankAccountsForUser"]},{"operation_id":"OBPv3.0.0-getPrivateAccountIdsbyBankId","implemented_by":{"version":"OBPv3.0.0","function":"getPrivateAccountIdsbyBankId"},"request_verb":"GET","request_url":"/obp/v3.0.0/banks/BANK_ID/accounts/account_ids/private","summary":"Get Accounts at Bank (IDs only)","description":"<p>Returns only the list of accounts ids at BANK_ID that the user has access to.</p>\n<p>Each account must have at least one private View.</p>\n<p>For each account the API returns its account ID.</p>\n<p>If you want to see more information on the Views, use the Account Detail call.</p>\n<p>optional request parameters:</p>\n<ul>\n<li>account_type_filter: one or many accountType value, split by comma</li>\n<li>account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE</li>\n</ul>\n<p>whole url example:<br />\n/banks/BANK_ID/accounts/account_ids/private?account_type_filter=330,CURRENT+PLUS&amp;account_type_filter_operation=INCLUDE</p>\n<p>Authentication is Mandatory</p>\n<p><strong>URL Parameters:</strong></p>\n<p><a href=\"/glossary#Bank.bank_id\">BANK_ID</a>: gh.29.uk</p>\n<p><strong>JSON response body fields:</strong></p>\n<p><a href=\"/glossary#accounts\"><strong>accounts</strong></a>:</p>\n<p><a href=\"/glossary#id\"><strong>id</strong></a>: d8839721-ad8f-45dd-9f78-2080414b93f9</p>\n","description_markdown":"Returns only the list of accounts ids at BANK_ID that the user has access to.\n\nEach account must have at least one private View.\n\nFor each account the API returns its account ID.\n\nIf you want to see more information on the Views, use the Account Detail call.\n\n\noptional request parameters:\n\n* account_type_filter: one or many accountType value, split by comma\n* account_type_filter_operation: the filter type of account_type_filter, value must be INCLUDE or EXCLUDE\n\nwhole url example:\n/banks/BANK_ID/accounts/account_ids/private?account_type_filter=330,CURRENT+PLUS&account_type_filter_operation=INCLUDE\n    \n\nAuthentication is Mandatory\n\n\n**URL Parameters:**\n\n[BANK_ID](/glossary#Bank.bank_id): gh.29.uk\n\n\n\n\n\n**JSON response body fields:**\n\n\n\n[**accounts**](/glossary#accounts): \n\n\n\n[**id**](/glossary#id): d8839721-ad8f-45dd-9f78-2080414b93f9\n\n\n","success_response_body":{"accounts":[{"id":"5995d6a2-01b3-423c-a173-5481df49bdaf"}]},"error_response_bodies":["OBP-20001: User not logged in. Authentication is required!","OBP-30001: Bank not found. Please specify a valid value for BANK_ID.","OBP-50000: Unknown Error."],"tags":["Account","Account Information Service (AIS)","PSD2"],"typed_success_response_body":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}}}}}},"is_featured":false,"special_instructions":"","specified_url":"/obp/v5.1.0/banks/BANK_ID/accounts/account_ids/private","connector_methods":["obp.getCoreBankAccounts","obp.getBank","obp.getBankAccountsForUser"]}]}