Skip to main content
GET

List banking accounts

Scope:accounting:banks.read
https://api.holded.com/api/v2/treasury/accounts

Returns a cursor-paginated list of banking accounts in your account. Use `archived=true` to retrieve only archived accounts, `archived=false` for only active accounts, or omit the parameter to return both. Use the `cursor` returned by `ApiListResponse` to fetch the next page; `limit` defaults to the standard list page size and is capped at the API-wide maximum.

Parameters

Query parameters

cursorstringoptional

Opaque cursor for pagination

limitintegeroptional= 50

Maximum number of banking accounts to return per page

typestringoptional

Filter banking accounts by account type. Allowed values: `bank` (bank account), `card` (credit or debit card), `gateway` (payment gateway such as Stripe or PayPal), `cash` (cash register / petty cash).

"bank""card""gateway""cash"
archivedbooleanoptional

Filter by archived state. `true` returns only archived accounts, `false` returns only active accounts. Omit to return both (default).

Request

python
import requests

url = "https://api.holded.com/api/v2/treasury/accounts?cursor=value&limit=50&type=value"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "name": "Main bank account",
      "type": "bank",
      "currency": "EUR",
      "balance": "15230.50",
      "iban": "ES9121000418450200051332",
      "bic": "CAIXESBBXXX",
      "account_number": "string",
      "creditor_id": "string",
      "issuer_id": "string",
      "archived": false,
      "synced_at": "2024-01-15T10:30:00Z",
      "transactions_pending_to_reconcile": 148
    }
  ],
  "cursor": "string",
  "has_more": false
}

Success responses

200List of banking accountsapplication/json
object
items[]object[]
idstring

Unique identifier of the banking account

namestring

Display name of the banking account

typestring

Type of banking account

Enum:bankcardgatewaycash
currencystring

ISO 4217 currency code of the account

balancestring

Decimal as string for precision

ibanstring | null

IBAN number of the bank account

bicstring | null

SWIFT/BIC code of the bank

account_numberstring | null

Bank account number when IBAN is not available

creditor_idstring | null

SEPA creditor identifier for direct debits

issuer_idstring | null

Issuer identifier used in remittances

archivedboolean

Whether the banking account is archived

synced_atstring<date-time> | null

Timestamp of the last bank synchronization

transactions_pending_to_reconcileinteger

Number of transactions pending reconciliation in the last 12 months for this account (precomputed, not a live count).

cursorstring | null
has_moreboolean

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json