---
updatedAt: 2026-07-21T14:55:00.000Z
agentTools:
  projectIndex: https://docs.sikoia.com/llms.txt
---

# Retrieve account balances

### Returns bank account balances.

Fetches the account balance details for a specific `account_connection_id` covering accounts connected through open banking or those for which bank statements have been uploaded.


Fetches the account balance details for a specific `account_connection_id` covering accounts connected through open banking or those for which bank statements have been uploaded.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Sikoia API",
    "termsOfService": "https://sikoia.com/About/Terms",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sikoia.com",
      "description": "API (Production)"
    },
    {
      "url": "https://oauth2.sikoia.com",
      "description": "Authorization Server (Production)"
    },
    {
      "url": "https://api-staging.sikoia.com",
      "description": "API (Staging)"
    },
    {
      "url": "https://oauth2-staging.sikoia.com",
      "description": "Authorization Server (Staging)"
    }
  ],
  "paths": {
    "/v2/bankaccounts/{account_connection_id}/balances": {
      "get": {
        "tags": [
          "Banking"
        ],
        "summary": "Retrieve account balances",
        "description": "### Returns bank account balances.\r\n\r\nFetches the account balance details for a specific `account_connection_id` covering accounts connected through open banking or those for which bank statements have been uploaded.\r\n",
        "operationId": "GET_v2-bankaccounts-account_connection_id-balances",
        "parameters": [
          {
            "name": "account_connection_id",
            "in": "path",
            "description": "Account Connection Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account Balances Retrieved",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaSharedModels.OpenBanking.OpenBanking.AccountBalancesResponse"
                },
                "example": {
                  "account_connection_id": "132d3353-ad29-46e0-b66a-caed8b572e93",
                  "balances": [
                    {
                      "type": "CLOSING_AVAILABLE",
                      "amount": {
                        "value": "1528-08-01",
                        "currency": "USD"
                      },
                      "date": "2024-02-12T16:24:50.1490000+00:00"
                    }
                  ],
                  "datetime_refreshed": "2024-02-12T04:25:09.0000000+00:00"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "InvalidToken",
                  "status": 401,
                  "title": "Invalid Token",
                  "detail": "Invalid token",
                  "correlation_id": "2ff43cb2-d0aa-4279-92d5-ded772d11a30"
                }
              }
            }
          },
          "404": {
            "description": "Account Connection ID Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "ResourceNotFound",
                  "status": 404,
                  "title": "Resource Not Found",
                  "detail": "No resources found with id 6f8cc128-e905-4fae-b770-97468de57608.",
                  "correlation_id": "183e2d4d-b1b4-408e-a70a-82cbc99de867"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "RateLimit",
                  "status": 429,
                  "title": "Too Many Requests",
                  "detail": "You've exceeded the maximum API request limit per minute. Please try again later.",
                  "correlation_id": "204202a2-6dae-4181-8188-471cc0afe152"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "ServerError",
                  "status": 500,
                  "title": "Internal Server Error",
                  "detail": "Something has gone wrong, please try again",
                  "correlation_id": "787fdcba-a195-4ca8-aff0-0f657a9945a1"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SikoiaCore.Common.SikoiaErrorResponse": {
        "title": "Error Response",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "See the [Response Guide](https://docs.sikoia.com/docs/api-behaviour#responses) for more detail "
      },
      "SikoiaSharedModels.OpenBanking.OpenBanking.AccountBalances": {
        "title": "Account Balances",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of account balances",
            "nullable": true,
            "example": "CLOSING_AVAILABLE"
          },
          "amount": {
            "$ref": "#/components/schemas/SikoiaSharedModels.OpenBanking.OpenBanking.AmountDetails"
          },
          "date": {
            "type": "string",
            "description": "The balance date",
            "nullable": true,
            "example": "2024-02-12T16:24:50.149Z"
          }
        },
        "additionalProperties": false
      },
      "SikoiaSharedModels.OpenBanking.OpenBanking.AccountBalancesResponse": {
        "title": "Account Balances",
        "type": "object",
        "properties": {
          "account_connection_id": {
            "type": "string",
            "description": "The Account Connection ID of the bank account",
            "format": "uuid",
            "nullable": true,
            "readOnly": true,
            "example": "132d3353-ad29-46e0-b66a-caed8b572e93"
          },
          "balances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SikoiaSharedModels.OpenBanking.OpenBanking.AccountBalances"
            },
            "description": "The list of account balances",
            "nullable": true
          },
          "datetime_refreshed": {
            "type": "string",
            "description": "The time the balances were refreshed",
            "format": "date-time",
            "readOnly": true,
            "example": "2024-02-12T04:25:09.0000000+00:00"
          }
        },
        "additionalProperties": false
      },
      "SikoiaSharedModels.OpenBanking.OpenBanking.AmountDetails": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true,
            "example": "1528.08"
          },
          "currency": {
            "type": "string",
            "nullable": true,
            "example": "USD"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "authorizationHeader": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "apikey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "authorizationHeader": []
    },
    {
      "apiKeyHeader": []
    }
  ]
}
```