Ozone Connect Test Cases
- Chris Michael
- Rajeev Walia
- Alex Ischimji
The tests are in alignment with API Hub Documentation
Master Test Case List
- 1 Bank Data Sharing
- 1.1 GET /accounts
- 1.2 GET /accounts/{accountId}
- 1.3 GET /accounts/{accountId}/balances
- 1.4 GET /accounts/{accountId}/beneficiaries
- 1.5 GET /customer
- 1.6 GET /accounts/{accountId}/customer
- 1.7 POST /customers/action/cop-query
- 1.8 GET /accounts/{accountId}/direct-debits
- 1.9 GET /accounts/{accountId}/products
- 1.10 GET /accounts/{accountId}/standing-orders
- 1.11 GET /accounts/{accountId}/transactions
- 1.12 GET /accounts/{accountId}/scheduled-payments
- 2 Bank Service Initiation
- 2.1 SingleImmediatePayments
- 2.2 FutureDatedPayments
- 2.3 MultiPayments-FixedDefinedSchedule
- 2.4 MultiPayments-FixedOnDemand
- 2.5 MultiPayments-FixedPeriodicSchedule
- 2.6 MultiPayments-VariableDefinedSchedule
- 2.7 MultiPayments-VariableOnDemand
- 2.8 MultiPayments-VariablePeriodicSchedule
- 2.9 MultiPayments-combinedFDPWithFixedDefinedSchedule
- 2.10 MultiPayments-combinedFDPWithFixedOnDemand
- 2.11 MultiPayments-combinedFDPWithFixedPeriodicSchedule
- 2.12 MultiPayments-combinedFDPWithVariableDefinedSchedule
- 2.13 MultiPayments-combinedFDPWithVariableOnDemand
- 2.14 MultiPayments-combinedFDPWithVariablePeriodicSchedule
- 2.15 MultiPayments-combinedSIPWithFixedDefinedSchedule
- 2.16 MultiPayments-combinedSIPWithFixedOnDemand
- 2.17 MultiPayments-combinedSIPWithFixedPeriodicSchedule
- 2.18 MultiPayments-combinedSIPWithVariableDefinedSchedule
- 2.19 MultiPayments-combinedSIPWithVariableOnDemand
- 2.20 MultiPayments-combinedSIPWithVariablePeriodicSchedule
- 2.21 International Payments
- 2.22 GET /payment-consents/{consentId}/refund
- 2.23 GET /payments/{paymentId}/report-file
- 2.24 Bank Service Initiation -HeaderValidations
- 3 Consent Event Augment and Validate
- 4 Insurance Data Sharing
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" |
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
| 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" |
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" |
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" |
GET /customer
GET /accounts/{accountId}/customer
POST /customers/action/cop-query
GET /accounts/{accountId}/direct-debits
GET /accounts/{accountId}/products
GET /accounts/{accountId}/standing-orders
GET /accounts/{accountId}/transactions
GET /accounts/{accountId}/scheduled-payments
Bank Service Initiation
SingleImmediatePayments
FutureDatedPayments
MultiPayments-FixedDefinedSchedule
MultiPayments-FixedOnDemand
MultiPayments-FixedPeriodicSchedule
MultiPayments-VariableDefinedSchedule
MultiPayments-VariableOnDemand
MultiPayments-VariablePeriodicSchedule
MultiPayments-combinedFDPWithFixedDefinedSchedule
MultiPayments-combinedFDPWithFixedOnDemand
MultiPayments-combinedFDPWithFixedPeriodicSchedule
MultiPayments-combinedFDPWithVariableDefinedSchedule
MultiPayments-combinedFDPWithVariableOnDemand
MultiPayments-combinedFDPWithVariablePeriodicSchedule
MultiPayments-combinedSIPWithFixedDefinedSchedule
MultiPayments-combinedSIPWithFixedOnDemand
MultiPayments-combinedSIPWithFixedPeriodicSchedule
MultiPayments-combinedSIPWithVariableDefinedSchedule
MultiPayments-combinedSIPWithVariableOnDemand
MultiPayments-combinedSIPWithVariablePeriodicSchedule
International Payments
GET /payment-consents/{consentId}/refund
GET /payments/{paymentId}/report-file
Bank Service Initiation -HeaderValidations
Consent Event Augment and Validate
POST /consent/action/augment
POST /consent/action/validate
Insurance Data Sharing
© Ozone Financial Technology Limited 2024-2025
Ozone Non Commercial Software EULA
Please try out our Advanced Search function.