HomeGuidesAPI ReferenceChangelogDiscussions
Log InAPI Reference
Guides
These docs are for v4.0.8. Click to read the latest docs for v4.0.24.

Example getting balances

Base on Batch transforming, we can get the balances for one of those registered accounts in Bank of America.

The URL parameter "XY2345" is the "id" of the account in the response from PUT /pb/ais/access

POST /pb/ais/accounts/XY2345/balances

{
  "connectorId": 40002,
  "bankSettingsCode": "BoA",
  "userContext": "{...}",
  "balanceRequest": {
    "psuIp": "10.11.12.13",
    "dateFrom": "2022-04-26T00:00:00.000Z",
    "accountContext": "{\"accountId\":\"XY2345\",\"bankId\":\"0678\"}"
  }
}

In the case of Bank of America only one date for the balance (options.balances.selectDateOption == 1) is accepted.