---
title: "Get consolidated balances"
method: GET
path: "/cross-group-balances"
tags: ["cross group balances"]
---

# Get consolidated balances

`GET /cross-group-balances`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/cross-group-balances`
- Auth: HTTP bearer

Get consolidated settlement balances for the authenticated user across all groups they participate in

## Response `200`

Consolidated balances retrieved successfully

- object
  - `data` ConsolidatedBalanceResponseDto[]
    - `otherUserId` string, required: ID of the other user in the relationship
    - `otherUserDisplayName` string, required: Display name of the other user
    - `otherUserEmail` string, required: Email address of the other user
    - `otherUserAvatarUrl` string: Avatar URL of the other user
    - `netAmount` number, required: Net settlement amount - positive means they owe you, negative means you owe them
    - `currency` string, required: Currency of the net amount
    - `contributingGroups` ContributingGroupResponseDto[], required: List of groups that contribute to this consolidated balance
      - `groupId` string, required: ID of the group
      - `groupName` string, required: Name of the group
      - `settlementAmount` number, required: Settlement amount from this specific group
      - `currency` string, required: Currency of the settlement amount
  - `success` boolean
  - `message` string

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/spliteo/apis/spliteo-api.md) · [All operations](https://skmtc.dev/spliteo/apis/spliteo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spliteo/apis/spliteo-api/revisions/bd9b84f4e407?raw)
