Create a user with Internal/creator and Internal/publisher roles using https://<OBKM_HOSTNAME>:9446/carbon. To create users and roles, see configuring users and roles, which elaborates the steps to create the user as the API publisher.
In the WSO2 Open Banking Berlin v1.1, it is mandatory to configure APIs for:
Accounts API v1.1
Payments API v1.1
Given below is the general procedure to configure and publish an API.
Tip
Create a user in order to configure API. For more information on creating a user, referConfiguring users and roles.
If one version of the API is already deployed, you may create a new version of it instead of deploying a new API. For more information, see create a new version for an existing API.
...
MultiExcerptName
ConfiguringAPIs
Sign in to the API Publisher (https://localhost:9443/publisher) with the a user whose roles include Internal/publisher. Follow the steps given below:
Click ADD NEW API > I have an existing API.
...
the velocity_template.xml file
velocity_template file checks the deployed specification. The velocity_template.xml file in the <WSO2_OBAM_HOME>/repository/resources/api_templates/velocity_template.xml file, is by default configured to support berlinspecification with the following handler.
Sequence files for Accounts and Payments must be updated separately in the <WSO2_OBAM_HOME>/repository/resources/finance/apis /berlin-group.org/
...
Click Next: Manage to navigate to the next level.
...
Expand API Properties and add the following values as Additional properties:
...
Property Name
...
Property Value
...
Click the + button to save the above values.
...
Click Save & Publish.
Summarized information for configuring APIs
...
Specification
...
In flow
...
Configuring the velocity_template.xml file
velocity_template file checks the deployed specification. The velocity_template.xml file in the <WSO2_OBAM_HOME>/repository/resources/api_templates/velocity_template.xml file, is by default configured to support berlinspecification with the following handler.
Sequence files for Accounts and Payments must be updated separately in the <WSO2_OBAM_HOME>/repository/resources/finance/apis /berlin-group.org/<Name of the API>. Update the value of the <OBKM_HOSTNAME> with the hostname of the WSO2 Open Banking Key Manager server.
By default, WSO2 Open Banking API Manager includes a mock bank backend, which is configured by default in the In sequences. Ideally, the two occurrences of https://<OBAM_HOSTNAME>:9443/open-banking/services/accounts/accountservice should be replaced by the core banking system's API endpoints corresponding to the production, and sandbox environments respectively. For more information, see Integrating Core Banking System for Berlin.
...
language
xml
title
AccountsAPI
...
<Name of the API>. Update the value of the <OBKM_HOSTNAME> with the hostname of the WSO2 Open Banking Key Manager server.
By default, WSO2 Open Banking API Manager includes a mock bank backend, which is configured by default in the In sequences. Ideally, the two occurrences of https://<OBAM_HOSTNAME>:9443/open-banking/services/accounts/accountservice should be replaced by the core banking system's API endpoints corresponding to the production, and sandbox environments respectively. For more information, see Integrating Core Banking System for Berlin.
In the WSO2 Open Banking Berlin v1.1, it is mandatory to configure APIs for:
Accounts API v1.1
Payments API v1.1
Given below is the general procedure to configure and publish an API.
Tip
Create a user in order to configure API. For more information on creating a user, referConfiguring users and roles.
If one version of the API is already deployed, you may create a new version of it instead of deploying a new API. For more information, see create a new version for an existing API.
Anchor
WumUpdateForRequestValidationBG
WumUpdateForRequestValidationBG
Multiexcerpt
MultiExcerptName
ConfiguringAPIs
Sign in to the API Publisher (https:// localhost:9443/publisher) with the a user whose roles include Internal/publisher. Follow the steps given below:
Click ADD NEW API > I have an existing API.
Select the Swagger definition from <WSO2_OB_APIM_HOME>/repository/resources/finance/apis and configure the properties according to the open-banking specification. Find more information from the table given .
Click Start Creating.
Click Next: Implement to navigate to the next level.
Expand Managed API, and use the table to select the relevant Endpoint Type from the drop-down list.
Check Select a message mediation policy to be executed in the message flow under Message Mediation Policies.
Click Upload In Flow and select the corresponding In sequence file from the <WSO2_OB_APIM_HOME>/repository/resources/finance/apis/berlin-group.org/ directory.
Click Next: Manage to navigate to the next level.
Expand Throttling Settings. Under Subscription Tiers, check the option as Unlimited : Allows unlimited requests unless you want to limit the requests.
Expand API Properties and add the following values as Additional properties:
Property Name
ob-spec
Property Value
berlin
Click the + button to save the above values.
Click Save & Publish.
Summarized information for configuring APIs
Specification
API
Implement tab
Manage tab
Endpoint type
Endpoint
Enable Message mediation
In flow
API property name
API property value
Berlin specification
AccountInfo API v1.1.0
Dynamic
N/A
Mark as checked
Select the respective In Sequence in the <WSO2_OB_APIM_HOME> /repository/resources/finance/apis/berlin-group.org/Accounts directory
ob-spec
berlin
Payments API v1.1.0
Dynamic
N/A
Mark as checked
Select the respective In Sequence in the wso2-obam-version/repository/resources/finance/apis/berlin-group.org/Paymentsdirectory