Skip to main content
GET
/
accounts
curl --location --request GET 'https://api.fonder.com/accounts?type=BANK&page=1&limit=10' \
--header 'Authorization: Bearer YOUR_TOKEN'
{
  "data": [
    {
      "id": "DEFAULT_ACCOUNT",
      "name": "DEFAULT",
      "accountNumber": "0000000000",
      "description": "DEFAULT BANK ACCOUNT",
      "type": "BANK",
      "bank": {
        "name": "WILOBANK S.A.U.",
        "country": 1,
        "code": "00384",
        "swiftCode": null
      },
      "liquidityThreshold": "0.00",
      "lastBalance": "25883572.0200"
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 10,
  "totalPages": 1,
  "hasNext": false,
  "hasPrevious": false
}

Query Parameters

page
integer
default:"1"
Page number for pagination
limit
integer
default:"10"
Number of items per page
type
string
Filter by account type. Available values: CASH, BANK
bank
string
Filter by bank code

Response

data
Account[]
Array of account objects
total
number
Total number of accounts
page
number
Current page number
limit
number
Number of items per page
totalPages
number
Total number of pages
hasNext
boolean
Whether there are more pages
hasPrevious
boolean
Whether there are previous pages

Account Object

id
string
Unique account identifier
name
string
Account name
accountNumber
string
Account number
description
string
Account description
type
string
Account type (CASH or BANK)
bank
object
Bank information (for BANK type accounts)
liquidityThreshold
string
Liquidity threshold amount
lastBalance
string
Last recorded balance
curl --location --request GET 'https://api.fonder.com/accounts?type=BANK&page=1&limit=10' \
--header 'Authorization: Bearer YOUR_TOKEN'
{
  "data": [
    {
      "id": "DEFAULT_ACCOUNT",
      "name": "DEFAULT",
      "accountNumber": "0000000000",
      "description": "DEFAULT BANK ACCOUNT",
      "type": "BANK",
      "bank": {
        "name": "WILOBANK S.A.U.",
        "country": 1,
        "code": "00384",
        "swiftCode": null
      },
      "liquidityThreshold": "0.00",
      "lastBalance": "25883572.0200"
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 10,
  "totalPages": 1,
  "hasNext": false,
  "hasPrevious": false
}