# 查询余额

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /user/balance:
    get:
      summary: 查询余额
      deprecated: false
      description: ''
      tags:
        - API 文档
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  is_available:
                    type: boolean
                  balance_infos:
                    type: array
                    items:
                      type: object
                      properties:
                        currency:
                          type: string
                        total_balance:
                          type: string
                        granted_balance:
                          type: string
                        topped_up_balance:
                          type: string
                      x-apifox-orders:
                        - currency
                        - total_balance
                        - granted_balance
                        - topped_up_balance
                required:
                  - is_available
                  - balance_infos
                x-apifox-orders:
                  - is_available
                  - balance_infos
              example:
                is_available: true
                balance_infos:
                  - currency: CNY
                    total_balance: '110.00'
                    granted_balance: '10.00'
                    topped_up_balance: '100.00'
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API 文档
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5813541/apis/api-257846763-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: bearer
      scheme: bearer
servers:
  - url: https://api.deepseek.com
    description: 正式环境
security:
  - bearer: []
    x-apifox:
      schemeGroups:
        - id: DOp0WuT-c0vg6PnvNSIS-
          schemeIds:
            - bearer
      required: true
      use:
        id: DOp0WuT-c0vg6PnvNSIS-

```
