# 余额查询

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v2.Gptliu/Balance:
    get:
      summary: 余额查询
      deprecated: false
      description: |-
        # 提供POST及GET两种查询方式


        ## token获取方式：
        1、访问公众号《冰橙云》进入菜单冰橙AI助手后，访问右上角 / 个人（首次访问免费赠送15000字符，可通过充值增加字符数）可查看 token
        2、访问：https://yewu.bcwhkj.cn 》 个人 》Token令牌 获取（首次访问赠送15000字符）
      tags:
        - 其它
      parameters:
        - name: token
          in: query
          description: ''
          required: true
          example: 这里输入你的TOKEN
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  codes:
                    type: integer
                    title: 状态码
                  mess:
                    type: string
                    title: 消息
                  data:
                    type: object
                    properties:
                      count:
                        type: integer
                        title: 剩余可用字符数
                      name:
                        type: string
                        title: 当前查询用户名
                      regTime:
                        type: string
                        title: 用户注册时间
                      nowTime:
                        type: string
                        title: 当前查询时间
                    required:
                      - count
                      - name
                      - regTime
                      - nowTime
                    x-apifox-orders:
                      - count
                      - name
                      - regTime
                      - nowTime
                required:
                  - codes
                  - mess
                  - data
                x-apifox-orders:
                  - codes
                  - mess
                  - data
              examples:
                '1':
                  summary: 成功示例
                  value:
                    codes: 200
                    mess: 余额查询
                    data:
                      count: 87859
                      name: 授权用户
                      regTime: '2023-05-08 15:55:34'
                      nowTime: '2023-08-30 08:34:33'
                '2':
                  summary: 密钥错误
                  value:
                    codes: 900
                    mess: 密钥错误或已过期，请通过微信访问yewu.bcwhkj.cn个人中心获取
                    data: token
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 其它
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/3216478/apis/api-106639228-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://yewu.bcwhkj.cn
    description: 正式环境
security: []

```
