Investec Private Banking Accounts icon

Investec Private Banking Accounts

Get data from Investec Private Banking API

Account → Account Balance

AI-generated

Summary

Retrieve the balance of a specified bank account using the Investec Private Banking API.

Inputs

  • baseUrl (required) — Select the environment base URL for the API, either Sandbox or Production.
  • accessToken (required) — Provide the OAuth2 Access Token needed for API authentication.
  • accountId (required) — Specify the bank account ID for which the balance is being requested.

Output shape

a JSON object containing the account balance details

Returns an array of balance information; ensure the access token is valid to avoid authentication errors.

Examples

Example 1: Retrieve the balance for an existing account in the sandbox environment using a valid access token.

Set baseUrl to the Sandbox URL, provide a valid accessToken, and enter the corresponding accountId.

Discussion