---
updatedAt: 2025-12-01T09:24:30.000Z
agentTools:
  projectIndex: https://docs.bcb.group/llms.txt
---

# Balance

Get balance for a specific account

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payments API",
    "description": "This is the api documentation for the BCB Group Payments API",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.bcb.group",
      "description": "Production"
    },
    {
      "url": "https://api.uat.bcb.group",
      "description": "Sandbox"
    }
  ],
  "paths": {
    "/v4/accounts/balance/{accountId}": {
      "get": {
        "summary": "Balance",
        "description": "Get the balance for an account",
        "operationId": "Accounts_BalanceV4",
        "responses": {
          "200": {
            "description": "The balance was retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalanceResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The balance for the account was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "description": "The account id",
            "schema": {
              "example": 123,
              "type": "integer",
              "default": ""
            }
          }
        ],
        "tags": [
          "Accounts"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "BalanceResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "number",
            "description": "The id of the account"
          },
          "settled": {
            "type": "string",
            "description": "The settled balance of the account. This is formatted with a '.' decimal separator and without thousand separators",
            "example": "1234.12"
          },
          "available": {
            "type": "string",
            "description": "The balance available with which to make payments from the account. This is formatted with a '.' decimal separator and without thousand separators",
            "example": "1234.12"
          }
        },
        "required": [
          "accountId",
          "settled",
          "available"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "The description of the error."
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP Status code representing the error."
          }
        },
        "required": [
          "message",
          "statusCode"
        ]
      }
    }
  }
}
```