/holdings/savings-sets

Base URL https://api.babylon.app/v1

GET /holdings/savings-sets

List all savings-set identifiers, or read one savings set by supplying savingsSet.

Query parameters

  • savingsSet (optional) — savings-set identifier to read. Omit it to list the available identifiers.

Example request — list savings sets

GET /holdings/savings-sets

Example response — 200

{
  "name": "Set",
  "description": "Description here...",
  "columns": ["set"],
  "columnTypes": {},
  "rows": [
    {"set": "MyGBSavings"}
  ]
}

Example request — read a savings set

GET /holdings/savings-sets?savingsSet=MyGBSavings

Example response — 200

{
  "name": "MyGBSavings",
  "description": "Description here...",
  "columns": ["set", "accountAlias", "date", "description", "interest", "balance", "currency"],
  "columnTypes": {
    "interest": "Decimal",
    "balance": "Decimal"
  },
  "rows": [
    {
      "set": "MyGBSavings",
      "accountAlias": "Savings-01",
      "date": "2026-01-31",
      "description": "Monthly statement",
      "interest": "18.25",
      "balance": "10018.25",
      "currency": "GBP"
    }
  ]
}

To receive either response as CSV, send Accept: text/csv.

POST /holdings/savings-sets

POST performs the same read operation with parameters in a JSON request body.

POST /holdings/savings-sets
Content-Type: application/json
{
  "savingsSet": "MyGBSavings"
}

The response has the same shape as the corresponding GET response. This endpoint does not create, replace or delete a savings set.

← Back to API