API Explorer

BAHRAIN-OBFv1.0.0 (58 APIs)

Bank
Accounts
Views
Counterparties
Transactions

Create Account Access Consents

NOTE: This endpoint currently only returns example data.

Authentication is Mandatory

JSON request body fields:

JSON response body fields:

Typical Successful Response

								
									
{ "Meta":{ "FirstAvailableDateTime":{ }, "TotalPages":0 }, "Links":{ "Last":"http://example.com/aeiou", "Prev":"http://example.com/aeiou", "Next":"http://example.com/aeiou", "First":"http://example.com/aeiou", "Self":"http://example.com/aeiou" }, "Data":{ "Status":"Authorised", "StatusUpdateDateTime":{ }, "CreationDateTime":{ }, "TransactionToDateTime":"2000-01-23T04:56:07.000+00:00", "Permissions":["ReadAccountsBasic","ReadAccountsBasic"], "ConsentId":"ConsentId", "TransactionFromDateTime":"2000-01-23T04:56:07.000+00:00" } }
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Connector Methods:
Version: BAHRAIN-OBFv1.0.0, function_name: by accountAccessConsentsPost, operation_id: BAHRAIN-OBFv1.0.0-accountAccessConsentsPost Tags: Account Access Consents, Mocked-Data,

Get Account Access Consents by ConsentId

NOTE: This endpoint currently only returns example data.

Authentication is Mandatory

URL Parameters:

JSON response body fields:

Typical Successful Response

								
									
{ "Meta":{ "FirstAvailableDateTime":{ }, "TotalPages":0 }, "Links":{ "Last":"http://example.com/aeiou", "Prev":"http://example.com/aeiou", "Next":"http://example.com/aeiou", "First":"http://example.com/aeiou", "Self":"http://example.com/aeiou" }, "Data":{ "Status":"Authorised", "StatusUpdateDateTime":{ }, "CreationDateTime":{ }, "TransactionToDateTime":"2000-01-23T04:56:07.000+00:00", "Permissions":["ReadAccountsBasic","ReadAccountsBasic"], "ConsentId":"ConsentId", "TransactionFromDateTime":"2000-01-23T04:56:07.000+00:00" } }
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Connector Methods:
Version: BAHRAIN-OBFv1.0.0, function_name: by accountAccessConsentsConsentIdGet, operation_id: BAHRAIN-OBFv1.0.0-accountAccessConsentsConsentIdGet Tags: Account Access Consents, Mocked-Data,

Update Account Access Consent Status by ConsentId

NOTE: This endpoint currently only returns example data.

Authentication is Mandatory

URL Parameters:

JSON response body fields:

Typical Successful Response

								
									
{ "Meta":{ "FirstAvailableDateTime":{ }, "TotalPages":0 }, "Links":{ "Last":"http://example.com/aeiou", "Prev":"http://example.com/aeiou", "Next":"http://example.com/aeiou", "First":"http://example.com/aeiou", "Self":"http://example.com/aeiou" }, "Data":{ "Status":"Authorised", "StatusUpdateDateTime":{ }, "CreationDateTime":{ }, "TransactionToDateTime":"2000-01-23T04:56:07.000+00:00", "Permissions":["ReadAccountsBasic","ReadAccountsBasic"], "ConsentId":"ConsentId", "TransactionFromDateTime":"2000-01-23T04:56:07.000+00:00" } }
Validations:
  • Required JSON Validation: No
  • Allowed Authentication Types: Not set
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Connector Methods:
Version: BAHRAIN-OBFv1.0.0, function_name: by accountAccessConsentsConsentIdPatch, operation_id: BAHRAIN-OBFv1.0.0-accountAccessConsentsConsentIdPatch Tags: Account Access Consents, Mocked-Data,