# List the statement of a currency (/docs/api/balances/list-balance-entries)

Every movement on the account's balances in a currency, newest first: one entry per ledger posting on one of the account's own balances, with the operation it belongs to. Pass next_cursor as after to continue; the statement is walked without gaps or repeats.

The operation, from the OpenAPI contract (https://docs.caibopay.app/openapi.json):

```json

{
  "method": "GET",
  "path": "/v1/balances/{currency}/entries",
  "description": "Every movement on the account's balances in a currency, newest first: one entry per ledger posting on one of the account's own balances, with the operation it belongs to. Pass next_cursor as after to continue; the statement is walked without gaps or repeats.",
  "operationId": "listBalanceEntries",
  "parameters": [
    {
      "in": "path",
      "name": "currency",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Maximum number of items to return.",
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "description": "The id of the last entry received (the next_cursor of the previous page).",
      "in": "query",
      "name": "after",
      "required": false,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "data": {
                "items": {
                  "$ref": "#/components/schemas/BalanceEntry"
                },
                "type": "array"
              },
              "has_more": {
                "type": "boolean"
              },
              "next_cursor": {
                "type": "string"
              }
            },
            "required": [
              "data",
              "has_more"
            ],
            "type": "object"
          }
        }
      },
      "description": "OK"
    },
    "400": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        }
      },
      "description": "The request is not valid."
    },
    "401": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        }
      },
      "description": "The API key is missing or not valid."
    },
    "403": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        }
      },
      "description": "The API key lacks the required scope."
    },
    "429": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        }
      },
      "description": "Too many requests."
    },
    "500": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        }
      },
      "description": "An error on our side. Safe to retry with the same Idempotency-Key."
    },
    "503": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        }
      },
      "description": "Temporarily unavailable or suspended. Safe to retry with the same Idempotency-Key."
    }
  },
  "summary": "List the statement of a currency",
  "tags": [
    "Balances"
  ],
  "x-required-scope": "read",
  "x-codeSamples": [
    {
      "lang": "js",
      "label": "Node.js",
      "source": "import { Caibo } from \"caibopay\";\n\nconst caibo = new Caibo(process.env.CAIBO_API_KEY);\n\nfor await (const item of caibo.balances.listEntries(\"USDT\")) {\n  console.log(item);\n}"
    },
    {
      "lang": "python",
      "label": "Python",
      "source": "import os\n\nimport caibopay\n\nclient = caibopay.Client(os.environ[\"CAIBO_API_KEY\"])\n\nfor item in client.balances.list_entries(\"USDT\"):\n    print(item)"
    },
    {
      "lang": "go",
      "label": "Go",
      "source": "client, err := caibopay.NewClient(os.Getenv(\"CAIBO_API_KEY\"))\nif err != nil {\n\treturn err\n}\nctx := context.Background()\n\nfor item, err := range client.Balances.ListEntriesAll(ctx, \"USDT\", nil) {\n\tif err != nil {\n\t\treturn err\n\t}\n\tfmt.Println(item)\n}"
    }
  ]
}

```