Provides a list of OCBC Current Accounts.
The endpoint for this API is as follows:
This API is called using the HTTP GET method with a chain of optional query parameters. The response is returned in JSON format.
The response object provides a HTTP status code which indicates whether a call succeeded or failed:
HTTP Status Code: 200
HTTP Status Code: 4xx/5xx
Indication: Failed. Response body will provide more details of the error
You need an access token to pass into the HTTP header to call this API for authorization. To do this, follow the steps below:
- Sign-up if you are new or Sign-in if you have an existing account.
- From the Menu, click on Applications.
- Fill in the Name and Description of your application, then click the Add button.
- From the Menu, click on APIs, then choose an API that you will like to consume.
- From the API Console, select the application you just created, then click on the Subscribe button. From the dialog box, click on Go to Subscriptions.
- Select your application from the dropdown list, then click on the Generate keys button to get your access token.
- In the Validity Time field, input the number of seconds that you want the access token to remain valid for. If you do not want your access token to expire, input -1.
- Scroll down to the Subscribed APIs section and click on your API. This will bring you back to its API Console.
- You are now ready to test the API.
Through the API Console, you may use your access token to test the API for your application. Below are steps to use the API console:
- At the API Console, select your application in Try. Under Using, select either Sandbox or Production (if applicable). The access token associated with the application and environment should be populated automatically under Set Request Header.
- Click on GET to expand the call method details, then fill in the keyword parameter(s).
- Click on the Try it out! button to see the response, request URL and cURL of the API call.
- To integrate the API into your application, simply add the provided access token in the HTTP header (e.g. Authorization: Bearer 489efb0ee095e75d625ccc0fa5f23e30)
- For Transactional APIs that requires sessionToken, please follow the Authorization API guideline to generate the sessionToken.
Note: Please check out usage guidelines about Tiers and call limitations for this API.
The API access token shall be kept securely and must not be shared with anyone. By default, each user will be permitted to make 10 API calls every minute. If your application requires a larger number of calls per minute, please contact us.
Do note that we will review all call limit increment requests on a case-by-case basis. Approval will also be subject to our standards for acceptable use-cases.