/
Ozone Connect Test Cases

Ozone Connect Test Cases

The tests are in alignment with API Hub Documentation

Master Test Case List

Bank Data Sharing

GET /accounts

Test Scenario ID

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

Test Scenario ID

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACC_010_001

Ensure that the API successfully retrieves account details for a valid accountId with the status 'Active', accountType 'Retail', and accountSubType 'CurrentAccount'. The test should confirm that the response includes the correct account information and returns a status code of 200, indicating successful retrieval.

 

AIS_A001

accountToTest : Retail_CurrentAccount_Active

"Happy Path - Succeeds with status-Active, accountType-Retail and accountSubType-CurrentAccount fields are populated for valid accountId as query parameter (accountToTest : Retail_CurrentAccount_Active)"

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'Retail' and account sub type 'CurrentAccount', for a retail user with status 'Active'"

AIS_A002

accountToTest : Corporate_Savings_Inactive

"Happy Path - Succeeds with status-Inactive, accountType-Corporate and accountSubType-Savings fields are populated for valid accountId as query parameter (accountToTest : Corporate_Savings_Inactive)"

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'Corporate' and account sub type 'Savings', for a retail user with status 'Inactive'"

AIS_A003

accountToTest : Corporate_CurrentAccount_Active

"Happy Path - Succeeds with status-Active, accountType-Corporate and accountSubType-CurrentAccount fields are populated for valid accountId as query parameter (accountToTest : Corporate_CurrentAccount_Active)"

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'Corporate' and account sub type 'CurrentAccount', for a retail user with status 'Active'"

AIS_A004

accountToTest : Retail_Savings_Inactive

"Happy Path - Succeeds with status-Inactive, accountType-Retail and accountSubType-Savings fields are populated for valid accountId as query parameter (accountToTest : Retail_Savings_Inactive)"

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'Retail' and account sub type 'Savings', for a retail user with status 'Inactive'"

AIS_A005

accountToTest: Valid_Invalid_AccountIds

Happy Path - Succeeds with combination of valid and invalid accountIds (accountToTest: Valid_Invalid_AccountIds)

200

Returns a 200 if all headers are valid and returns a record for each valid accountId when both valid and invalid accountIds are specified (accountToTest : Valid_Invalid_AccountId)

AIS_A006

accountToTest: Good_And_Badly_Formatted_AccountIds

Happy Path - Succeeds with mix of valid and invalid accountIds (accountToTest: Good_And_Badly_Formatted_AccountIds)

200

Returns a 200 if all headers are valid and returns a record for each valid accountId when both valid and invalid accountIds are specified (accountToTest : Good_And_Badly_Formatted_AccountIds)

AIS_A007

accountToTest: AccountsWithNoCommas

Happy Path - Succeeds with non-comma-separated accountIds (accountToTest: AccountsWithNoCommas)

200

Returns a 200 if all headers are valid and returns an empty array when non-comma-separated accountIds are specified (accountToTest : AccountsWithNoCommas)

 

ACC_010_002

Ensure that the API correctly handles the scenario where the accountIds query parameter is missing/invalid returning an appropriate error response.

 

AIS_A008

accountToTest : NoAccount

Negative Test - Fails if accountIds query parameter is missing (accountToTest : NoAccount)

400

"If accountIds path parameter is missing, the API must return a 400 and an error body"

AIS_A009

accountToTest : Invalid_Single_AccountId

Negative Test - Fails if accountId format is invalid (accountToTest : Invalid_Single_AccountId)

400

"If the accountId format is invalid, the API must return a 400 and an error body"

 

 

 

 

 

 

 

 

ACC_010_003

Ensure that the API correctly validates mandatory headers.

 

AIS_A010

accountToTest : NoAccount

Negative Test - Mandatory field validation - Fail if both accountId and o3-psu-identifier are missing (accountToTest : NoAccount)

400

The operation must fail with a status of 400 if both the accountId path parameter and the o3-psu-identifier header parameter are missing

AIS_A011

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-psu-identifier header is missing with accountId passed as query parameter

AIS_A012

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-uri header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-uri header is missing with accountId passed as query parameter

AIS_A013

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-operation header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-operation header is missing with accountId passed as query parameter

AIS_A014

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-aspsp-id header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-aspsp-id header is missing with accountId passed as query parameter

AIS_A015

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-ozone-interaction-id header is missing with accountId passed as query parameter

AIS_A016

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-provider-id header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-provider-id header has an unexpected value with accountId passed as query parameter

AIS_A017

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-org-id header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-org-id header is missing with accountId passed as query parameter

AIS_A018

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-client-id header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-client-id header is missing with accountId passed as query parameter

AIS_A019

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-software-statement-id header is missing(accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-software-statement-id header is missing with accountId passed as query parameter

AIS_A020

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-consent-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-consent-id header is missing with accountId passed as query parameter

AIS_A021

accountToTest : SampleAccount

Negative Test - Fails if o3-aspsp-id has an invalid value(accountToTest : SampleAccount)

400

"If o3-aspsp-id has an invalid value with accountId passed as query parameter, the API must return a 400 and an error body"

AIS_A022

accountToTest : SampleAccount

Negative Test - Fails if o3-psu-identifier is not b64 encoded(accountToTest : SampleAccount)

400

"If o3-psu-identifier is not b64 encoded with accountId passed as query parameter, the API must return a 400 and an error body"

AIS_A023

accountToTest : SampleAccount

Negative Test - Fails if o3-psu-identifier does not evaluate to a json structure (accountToTest : SampleAccount)

400

"If o3-psu-identifier does not evaluate to a json structure with accountId passed as query parameter, the API must return a 400 and an error body"

AIS_A024

accountToTest : SampleAccount

Negative Test - Fails if o3-psu-identifier does not contain userId (accountToTest : SampleAccount)

400

"If o3-psu-identifier does not contain userId with accountId passed as query parameter, the API must return a 400 and an error body"

Back to top

GET /accounts/{accountId}

Test Scenario ID

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

Test Scenario ID

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

 

 

 

 

 

 

 

 

 

 

 

 

ACC_020_001

Ensure the API effectively retrieves account details when a valid Account & Account Sub-Type combination that is in either Active or Inactive status when the accountId is supplied as a path parameter. The test should confirm that the response includes the correct account information and returns a status code of 200.

 

AIS_AA001

accountToTest : SME_CurrentAccount_Active

Happy Path - Succeeds with valid CurrentAccount for SME user in Active status for valid accountId as path parameter (accountToTest : SME_CurrentAccount_Active)

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'SME' and account sub type 'CurrentAccount', for a SME user with status 'Active'"

AIS_AA002

accountToTest : Corporate_Savings_Inactive

Happy Path - Succeeds with valid Savings for corporate user in Inactive status for valid accountId as path parameter (accountToTest : Corporate_Savings_Inactive)

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'Corporate' and account sub type 'Savings', for a corporate user with status 'Inactive'"

AIS_AA003

accountToTest : Retail_CurrentAccount_Active

Happy Path - Succeeds with valid CurrentAccount for retail user in Active status for valid accountId as path parameter (accountToTest : Retail_CurrentAccount_Active)

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'retail' and account sub type 'CurrentAccount', for a retail user with status 'Active'"

AIS_AA004

accountToTest : Retail_Savings_Inactive

Happy Path - Succeeds with valid Savings for retail user in Inactive status for valid accountId as path parameter (accountToTest : Retail_Savings_Inactive)

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'retail' and account sub type 'Savings', for a retail user with status 'Inactive'"

AIS_AA005

accountToTest: Corporate_CurrentAccount_Active

Happy Path - Succeeds with valid CurrentAccount for Corporate user in Active status for valid accountId as path parameter (accountToTest: Corporate_CurrentAccount_Active)

200

"Returns a 200 if all headers are valid and returns a record for specified accountId including account type 'Corporate' and account sub type 'CurrentAccount', for a corporate user with status 'Active'"

ACC_020_002

Ensure that the API correctly handles the scenario where the accountId path parameter is missing returning an appropriate error response.

AIS_AA006

accountToTest : NoAccount

Negative Test - Fails if accountId path parameter is missing (accountToTest : NoAccount)

400

"If accountIds path parameter is missing, the API must return a 401 and an error body"

 

 

 

 

 

 

 

 

 

 

ACC_020_003

Ensure that the API correctly validates mandatory headers.

AIS_AA007

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-psu-identifier header is missing with accountId passed as path parameter

AIS_AA008

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-uri header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-uri header is missing with accountId passed as path parameter

AIS_AA009

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-operation header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-operation header is missing with accountId passed as path parameter

AIS_AA010

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-aspsp-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-aspsp-id header is missing with accountId passed as path parameter

AIS_AA011

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-ozone-interaction-id header is missing with accountId passed as path parameter

AIS_AA012

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-provider-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-provider-id header has an unexpected value with accountId passed as path parameter

AIS_AA013

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-org-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-org-id header is missing with accountId passed as path parameter

AIS_AA014

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-client-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-client-id header is missing with accountId passed as path parameter

AIS_AA015

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-software-statement-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-software-statement-id header is missing with accountId passed as path parameter

AIS_AA016

accountToTest : SampleAccount

Negative Test - Mandatory header validation - Fail if o3-consent-id header is missing (accountToTest : SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-consent-id header is missing with accountId passed as path parameter

AIS_AA017

accountToTest : SampleAccount

Negative Test - Fails if o3-aspsp-id has an invalid value (accountToTest : SampleAccount)

400

"If o3-aspsp-id has an invalid value with accountId passed as path parameter, the API must return a 400 and an error body"

AIS_AA018

accountToTest : SampleAccount

Negative Test - Fails if o3-psu-identifier is not b64 encoded (accountToTest : SampleAccount)

400

"If o3-psu-identifier is not b64 encoded with accountId passed as path parameter, the API must return a 400 and an error body"

AIS_AA019

accountToTest : SampleAccount

Negative Test - Fails if o3-psu-identifier does not evaluate to a json structure (accountToTest : SampleAccount)

400

"If o3-psu-identifier does not evaluate to a json structure with accountId passed as path parameter, the API must return a 400 and an error body"

AIS_AA020

accountToTest : SampleAccount

Negative Test - Fails if o3-psu-identifier does not contain userId (accountToTest : SampleAccount)

400

"If o3-psu-identifier does not contain userId with accountId passed as path parameter, the API must return a 400 and an error body"

AIS_AA021

accountToTest: SampleAccount

"Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined (accountToTest: SampleAccount)"

400

"If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined , the API must return a 400 and an error body"

AIS_AA022

accountToTest: SampleAccount

"Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string (accountToTest: SampleAccount)"

400

"If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string and , the API must return a 400 and an error body"

Back to top

GET /accounts/{accountId}/balances

 

Test Scenario ID

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

Test Scenario ID

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

 

 

 

 

 

 

 

 

BAL_010_001

Ensure that valid accountId returns balance details.

AIS_BA001

accountToTest: Valid_Accounts_List

Happy path - Succeeds if valid accountId in path parameter returns balances (accountToTest: Valid_Accounts_List)

200

Valid accountId provided in the path parameter should return a 200 and the accountId must be present in the response with balance details

AIS_BA002

accountToTest: AccountIdWithCreditIndicator

Happy path - Succeeds if valid accountId in path parameter returns balances with positive balance and credit line included (accountToTest: AccountIdWithCreditIndicator)

200

Valid accountId provided in the path parameter should return a 200 and the accountId must be present in the response with balance detail where the creditDebitIndicator value is Credit and the CreditLines are populated with relevant details

AIS_BA003

accountToTest: AccountIdWithZeroCreditIndicator

Happy path - Succeeds if valid accountId in path parameter returns zero balance with creditDebitIndicator value as 'credit' (accountToTest: AccountIdWithZeroCreditIndicator)

200

Valid accountId provided in the path parameter which has zero balance should return a 200 and the accountId must be present in the response with balance detail where the creditDebitIndicator value is Credit

 

BAL_010_002

Ensure that the API correctly handles missing accountIds path parameter.

AIS_BA004

accountToTest: NoAccount

Negative Test - Fails if accountIds path parameter is missing (accountToTest: NoAccount)

400

"If accountIds path parameter is missing, the API must return a 400 and an error body"

AIS_BA005

accountToTest: Invalid_Single_AccountId

Negative Test - Fails if accountId format is invalid (accountToTest: Invalid_Single_AccountId)

400

"If the accountId format is invalid , the API must return a 400 and an error body"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BAL_010_003

Ensure that the API correctly validates mandatory headers.

 

AIS_BA006

accountToTest: NoAccount

Negative Test - Mandatory field validation - Fail if both accountId and o3-psu-identifier are missing (accountToTest: NoAccount)

400

The operation must fail with a status of 400 if both the accountId path parameter and the o3-psu-identifier header parameter are missing

AIS_BA007

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-psu-identifier header is missing

AIS_BA008

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-api-uri header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-uri header is missing

AIS_BA009

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-api-operation header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-operation header is missing

AIS_BA010

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-aspsp-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-aspsp-id header is missing

AIS_BA011

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-ozone-interaction-id header is missing

AIS_BA012

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-provider-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-provider-id header has an unexpected value

AIS_BA013

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-org-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-org-id header is missing

AIS_BA014

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-client-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-client-id header is missing

AIS_BA015

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-software-statement-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-software-statement-id header is missing

AIS_BA016

accountToTest: SampleSingleAccount

Negative Test - Mandatory header validation - Fail if o3-consent-id header is missing (accountToTest: SampleSingleAccount)

400

The operation must fail with a status code 400 and error body if the o3-consent-id header is missing

AIS_BA017

accountToTest: SampleSingleAccount

Negative Test - Fails if o3-psu-identifier is not b64 encoded (accountToTest: SampleSingleAccount)

400

"If o3-psu-identifier is not b64 encoded, the API must return a 400 and an error body"

AIS_BA018

accountToTest: SampleSingleAccount

Negative Test - Fails if o3-psu-identifier does not evaluate to a json structure (accountToTest: SampleSingleAccount)

400

"If o3-psu-identifier does not evaluate to a json structure, the API must return a 400 and an error body"

AIS_BA019

accountToTest: SampleSingleAccount

Negative Test - Fails if o3-psu-identifier does not contain userId (accountToTest: SampleSingleAccount)

400

"If o3-psu-identifier does not contain userId, the API must return a 400 and an error body"

AIS_BA020

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is having invalid value (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-ozone-interaction-id header is having invalid value

AIS_BA021

accountToTest: SampleAccount

"Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined (accountToTest: SampleAccount)"

400

"If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined, the API mus

t return a 400 and an error body"

AIS_BA022

accountToTest: SampleAccount

"Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string (accountToTest: SampleAccount)"

400

"If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string, the API must return a 400 and an error body"

Back to top

GET /accounts/{accountId}/beneficiaries

 

 

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

 

Test ID

Dynamic Field

Test Name

Expected Response Code

Test Description

 

 

 

 

 

 

 

 

 

 

 

 

 

BEN_010_001

Ensure that valid accountId returns beneficiaries with Activated/NotActivate status.

 

AIS_BE001

accountToTest: AccountIdWithActivatedBeneficiaryType

Happy path - Succeeds if valid accountId in path parameter returns beneficiaries with beneficiaries category Activated in response body (accountToTest: AccountIdWithActivatedBeneficiaryType)

200

Valid accountId provided in the path parameter should return a 200 and the accountId must be present in the response with a details of beneficiaries and status Activated

AIS_BE002

accountToTest: AccountIdWithNotActivatedBeneficiaryType

Happy path - Succeeds if valid accountId in path parameter returns beneficiaries with beneficiaries category NotActivated in response body (accountToTest: AccountIdWithNotActivatedBeneficiaryType)

200

Valid accountId provided in the path parameter should return a 200 and the accountId must be present in the response with a details of beneficiaries and status NotActivated

AIS_BE003

accountToTest: Valid_Beneficiaries_Accounts_List

Happy path - Succeeds with the specified number of accounts in each page and the meta information about the pagination (accountToTest: Valid_Beneficiaries_Accounts_List)

200

Returns a 200 status code with the specified number of accounts in each page and the meta information about the pagination

AIS_BE004

accountToTest: AccountIdWithNoBeneficiaries

Happy path - Succeeds if valid accountId in path parameter returns no beneficiaries (accountToTest: AccountIdWithNoBeneficiaries)

200

Valid accountId provided in the path parameter should return a 200 with an empty array if there are no beneficiaries

AIS_BE005

accountToTest: AccountIdWithActivatedAndNotActivatedBeneficiaryType

Happy path - Succeeds if valid accountId in path parameter returns beneficiaries with beneficiaries category Activated and NotActivated in response body (accountToTest: AccountIdWithActivatedAndNotActivatedBeneficiaryType)

200

Valid accountId provided in the path parameter should return a 200 and the accountId must be present in the response with a details of beneficiaries and status Activated and NotActivated

 

BEN_010_002

Ensure that the API correctly handles missing/invalid accountId path parameter.

AIS_BE006

 

Negative Test - Fails if accountIds path parameter is missing

400

"If accountIds path parameter is missing, the API must return a 400 and an error body"

AIS_BE007

accountToTest: Invalid_Single_AccountId

Negative Test - Fails if accountId format is invalid (accountToTest: Invalid_Single_AccountId)

400

"If the accountId format is invalid , the API must return a 400 and an error body"

 

 

 

 

 

 

 

 

 

 

 

 

 

BEN_010_003

Ensure that the API correctly validates mandatory headers.

AIS_BE008

accountToTest: NoAccount

Negative Test - Mandatory field validation - Fail if both accountId and o3-psu-identifier are missing (accountToTest: NoAccount)

400

The operation must fail with a status of 400 if both the accountId path parameter and the o3-psu-identifier header parameter are missing

AIS_BE009

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-psu-identifier header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-psu-identifier header is missing

AIS_BE010

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-uri header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-uri header is missing

AIS_BE011

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-operation header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-operation header is missing

AIS_BE012

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-aspsp-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-aspsp-id header is missing

AIS_BE013

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-ozone-interaction-id header is missing

AIS_BE014

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-provider-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-provider-id header has an unexpected value

AIS_BE015

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-org-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-org-id header is missing

AIS_BE016

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-client-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-client-id header is missing

AIS_BE017

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-caller-software-statement-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-caller-software-statement-id header is missing

AIS_BE018

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-consent-id header is missing (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-consent-id header is missing

AIS_BE019

accountToTest: SampleAccount

Negative Test - Fails if o3-psu-identifier is not b64 encoded (accountToTest: SampleAccount)

400

"If o3-psu-identifier is not b64 encoded, the API must return a 400 and an error body"

AIS_BE020

accountToTest: SampleAccount

Negative Test - Fails if o3-psu-identifier does not evaluate to a json structure (accountToTest: SampleAccount)

400

"If o3-psu-identifier does not evaluate to a json structure, the API must return a 400 and an error body"

AIS_BE021

accountToTest: SampleAccount

Negative Test - Fails if o3-psu-identifier does not contain userId (accountToTest: SampleAccount)

400

"If o3-psu-identifier does not contain userId, the API must return a 400 and an error body"

AIS_BE022

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-provider-id header is having invalid value (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-provider-id header is having invalid value

AIS_BE023

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-ozone-interaction-id header is having invalid value (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-ozone-interaction-id header is having invalid value

AIS_BE024

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-operation header is having invalid value (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-operation header is having invalid value

AIS_BE025

accountToTest: SampleAccount

Negative Test - Mandatory header validation - Fail if o3-api-uri header is having invalid value (accountToTest: SampleAccount)

400

The operation must fail with a status code 400 and error body if the o3-api-uri header is having invalid value

AIS_BE026

accountToTest: SampleAccount

"Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined (accountToTest: SampleAccount)"

400

"If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is null, empty or undefined, the API must return a 400 and an error body"

AIS_BE027

accountToTest: SampleAccount

"Negative Test - Fails if o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string (accountToTest: SampleAccount)"

400

"If o3-psu-identifier header is invalid - the decoded value is valid JSON, but userId is not a string, the API must return a 400 and an error body"

Back to top

GET /customer

Back to top

GET /accounts/{accountId}/customer

Back to top

POST /customers/action/cop-query

Back to top

GET /accounts/{accountId}/direct-debits

Back to top

GET /accounts/{accountId}/products

Back to top

GET /accounts/{accountId}/standing-orders

Back to top

GET /accounts/{accountId}/transactions

Back to top

GET /accounts/{accountId}/scheduled-payments

Back to top

Bank Service Initiation

SingleImmediatePayments

Back to top

FutureDatedPayments

Back to top

MultiPayments-FixedDefinedSchedule

Back to top

MultiPayments-FixedOnDemand

Back to top

MultiPayments-FixedPeriodicSchedule

Back to top

MultiPayments-VariableDefinedSchedule

Back to top

MultiPayments-VariableOnDemand

Back to top

MultiPayments-VariablePeriodicSchedule

Back to top

MultiPayments-combinedFDPWithFixedDefinedSchedule

Back to top

MultiPayments-combinedFDPWithFixedOnDemand

Back to top

MultiPayments-combinedFDPWithFixedPeriodicSchedule

Back to top

MultiPayments-combinedFDPWithVariableDefinedSchedule

Back to top

MultiPayments-combinedFDPWithVariableOnDemand

Back to top

MultiPayments-combinedFDPWithVariablePeriodicSchedule

Back to top

MultiPayments-combinedSIPWithFixedDefinedSchedule

Back to top

MultiPayments-combinedSIPWithFixedOnDemand

Back to top

MultiPayments-combinedSIPWithFixedPeriodicSchedule

Back to top

MultiPayments-combinedSIPWithVariableDefinedSchedule

Back to top

MultiPayments-combinedSIPWithVariableOnDemand

Back to top

MultiPayments-combinedSIPWithVariablePeriodicSchedule

Back to top

International Payments

Back to top

GET /payment-consents/{consentId}/refund

Back to top

GET /payments/{paymentId}/report-file

Back to top

Bank Service Initiation -HeaderValidations

Back to top

Consent Event Augment and Validate

POST /consent/action/augment

Back to top

POST /consent/action/validate

Back to top

Insurance Data Sharing

Back to top

© Ozone Financial Technology Limited 2024-2025
Ozone Non Commercial Software EULA