Get total funds with the Wise API
Returns the total of a profile across all its balances, converted to one currency: totalWorth, totalAvailable (overdraft included), totalCash and overdraft.
- Identifier
- wise_get_total_funds
The request
POST https://connect.reportei.com/api/tools/wise_get_total_funds/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"profile_id": 1,
"currency": "<currency>"
}
}Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| profile_id | integer | Yes | Id of the profile, from List profiles. |
| currency | string | Yes | ISO 4217 code every value is converted to, like BRL or USD. |
Supported connections
Your customer connects their Wise account once, with one of the modes below. The same connection serves every tool of the toolkit.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
The response
On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.
Ready for AI agents
This tool's input is a JSON Schema, available at GET /api/tools/wise_get_total_funds. It becomes your agent's tool definition with no conversion.
Other Wise tools
- List profilesGETLists the profiles of the account, personal and business. The id of each one is the profile_id the other tools ask for, and type says PERSONAL or BUSINESS.
- List balancesGETLists the currency balances of a profile, each with id, currency, amount (available), reservedAmount, cashAmount and totalWorth.
- List transfersGETLists the transfers of a profile, with status, source and target amounts and currencies, rate, reference and dates. Page with limit and offset: a page shorter than limit is the last one.
- Get transferGETReturns one transfer: status, source and target amounts and currencies, rate, reference, the recipient account id in targetAccount and dates.
- List activitiesGETLists the activity of a profile: transfers, card payments, money received, conversions, fees and more, each with title, description, primaryAmount, status, dates and the resource it refers to. Ten per page by default: pass the cursor of the response as nextCursor to read the next page.
- List exchange ratesGETReturns Wise exchange rates: the current rate of every pair without arguments, of one pair with source and target, a past rate with time, or the history of a pair between from and to, grouped by group.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.

Conta Azul