This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Consumer Data Standards API v1.2.0
This document explains the flow of events related to the Consumer Data Standards API v1.2.0.
Before you begin:
You need to deploy the following APIS.
- Consumer Data Standards API in
<WSO2_OB_APIM_HOME>/repository/resources/finance/apis/consumerdatastandards.org.au/1.2.0/consumer-data-standards-1.2.0.yaml
file. See Deploying APIs, for instruction on how to deploy this API. - Consumer Data Standards Dynamic Client Registration API v0.1 to register an Accredited Data Recipient (ADR) application. See Dynamic Client Registration API v0.1.
Step 1 - Authorising account consents
The bank redirects the bank customer to authenticate and approve/deny application-provided consents.
Step 2 - Generate user access token
In this section, you will be generating an access token using the authorization code generated in the section above.
Step 3 - Invoke Consumer Data Standards API
This section shows how to invoke the endpoints in the ConsumerDataStandards
v1
API using a few samples. These requests use the access token generated in the step above .
GET /banking/accounts
The ADR is able to obtain a list of accounts that the consumer has authorised the ADR to access.
POST /banking/accounts/balances
The ADR is able to obtain balances for a specified list of accounts. The request body contains a list of account IDs to obtain balances for.
See Consumer Data Standards Australia - Banking APIs, for more information on all the available endpoints.