Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add context

...

Tip
titleBefore you begin:
  • To enable Request-URI validation during the account retrieval process; validate the account ID against the account ID in the consent, open  the <WSO2_OB_IAM_HOME>/repository/conf/deployment.toml file and set the following property to  true and restart the Identity and Access Management server: 

    Code Block
    languagexml
    [open_banking.account_id_validation_on_retrieval]
    enable = true
  • You need to deploy the Account and Transaction API, to try out the flow.

    Expand
    titleClick here to find how to deploy the API...
    1. Sign in to the API Publisher Portal (https://<WSO2_OB_APIM_HOST>:9443/publisher) with creator/publisher privileges.
    2. In the  APIs tab, select  CREATE NEW API > I Have an Existing REST API  

    3. Set the  Input Type  to  OpenAPI File
    4. Click  BROWSE FILE TO UPLOAD and select the <WSO2_OB_APIM_HOME>/repository/resources/finance/apis/openbanking.org.uk/Accounts/3.1.5/ account-info-swagger-3.1.5.yaml file.
    5. Click Next.
    6. Set the Context value as follows: 

      Info
      titleIf you are using WSO2 Open Banking API Manager Level 2.0.0.114 or above:

      If you are configuring an API of v3.1.8 or above, set the following context value manually.  

      Code Block
      /open-banking/{version}/aisp
    7. Leave the Endpoint field empty as it is.
    8. Set the business plan to Unlimited: Allows unlimited requests unless you want to limit the requests. 

    9. Click  Create to create the API.
    10. Once you get the message that the API is successfully updated, go to Endpoints using the left menu panel.
    11. Select Dynamic Endpoints and click Save.
    12. Go to Runtime Configurations using the left menu panel.
    13. Click the edit button under Request > Message Mediation.
    14. Now, select the Custom Policy option.
    15. Upload the <WSO2_OB_APIM_HOME>/repository/resources/finance/apis/openbanking.org.uk/Accounts/3.1.5/accounts-dynamic-endpoint-insequence-3.1.5.xml  file and click SELECT.
    16. Scroll down and click  SAVE.
    17. Now, go to Properties using the left menu panel.
    18. Click Add New Property.
    19. Add the following properties and click  the Add button to save the values.

      Property Name

      Property Value

      ob-specuk
      ob-api-typeaccount
      ob-api-version3.1.5


    20. Click SAVE.
    21. Go back to Overview using the left menu panel.
    22. Click PUBLISH.
    23. The published Accounts and Transaction API is available in the Developer Portal at https://<WSO2_OB_APIM_HOST>:9443/devportal.

...