# Retrieving cash balance

## Prerequisites

In order to retrieve a cash balance, you need to ensure that the [user is onboarded](/products/byol/guides/users/users_onboarding_overview) and [account group is set up](/products/byol/guides/accounts/accounts_create_account_groups).

The cash balance for an account group can be retrieved by calling

**GET** [`/account_groups/{account_group_id}/payments/cash_balances`](/api/cash-balances/retrieve_cash_balances).

**Example response**


```json
{
  "account_group_id": "d0fc0305-97b7-4e3b-bddf-66d3c434898c",
  "currency": "EUR",
  "balance": "100",
  "locked_for_trading": "10",
  "pending_settlement": "10",
  "available_for_withdrawal": "80",
  "available_for_trading": "80"
}
```

## Next steps

Once the cash balance is confirmed to be sufficiently funded, you are ready to implement [order](/products/byol/guides/orders/orders_introduction) requests. Alternatively, you can also set up your users to [register a reference bank account](/products/byol/guides/payments/reference_accounts/reference_accounts_registering) to allow them to [withdraw funds](/products/byol/guides/payments/cash_balances/cash_withdrawal).