Actions14
- Account Actions
- Beneficiary Actions
- Document Actions
- Profile Actions
- Transfer Actions
Account → Account Balance
AI-generatedSummary
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.