Publish an API
This document provides instructions to publish and subscribe to an API.
Before you begin
- Register an application for the API consumer.
- For testing purposes, we have included a sample Dynamic Client Registration (DCR) API in WSO2 Open Banking Accelerator. To register an application, see Dynamic Client Registration.
This document provides tryout instructions for the sample Account Information Service API available in WSO2 Open Banking Accelerator.
Sign in to the API Publisher Portal at
In the homepage, go to Create API and click Import Open API.
Select OpenAPI File/Archive.
Click Browse File to Upload and select
Leave the Endpoint field empty as it is and click Create.
Select Subscriptions from the left menu pane and set the business plan to Unlimited: Allows unlimited requests.
10.Go to Runtime using the left menu pane.
11.Click the edit button under Request -> Message Mediation.
12.Now, select the Custom Policy option.
file and click SELECT.
14.Scroll down and click SAVE.
15.Go to Endpoints using the left menu pane and locate Dynamic Endpoint and click Add.
16.Select the endpoint types; Production Endpoint/Sandbox Endpoint and click Save.
17.Go to Deployments using the left menu pane and click Deploy New Revision.
18.Provide a description for the new revision.
localhost from the dropdown list.
21.Go to Overview using the left menu pane and click Publish.
22.Now that you have deployed the API, go to
23.Select the AccountandTransaction V3.1 API and locate Subscriptions. Then, click Subscribe.
The name of the sample Account Information Service API is AccountandTransaction V3.1. Select the relevant API name according to the Swagger file you published.
24.Select the application from the dropdown list and click Subscribe.Top