Accounts

Refresh balances for the workspace

Synchronously refreshes balances for every account in the caller workspace — connection-backed (Wise/Kraken/Safe/etc.) and standalone on-chain wallets alike — and persists them.

post/v2/accounts/refresh

Request

  • Base URL
    https://api.range.org
  • Auth
    • API key in header X-API-KEY
    • or API key in header X-API-KEY

Response

refreshednumber required

Number of accounts whose balances were refreshed.

failednumber required

Number of accounts whose balance refresh failed (e.g. provider error).

Example response

{
  "refreshed": 12,
  "failed": 1,
  "failures": [
    {
      "account_id": "account-uuid-1",
      "label": "Kraken treasury",
      "reason": "Provider timed out"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.