# Generated by ShowAPI OpenAPI generator
# source: market/631
# generated-at: 2026-06-26T06:24:39.424Z
openapi: 3.0.3
info:
  title: 易源-账户查询
  description: 根据在易源平台的注册账号信息，可以查询当前用户的账户余额、订单信息、个人资料等当前订购接口调用余量。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /631-5:
    x-pointCode: 5
    x-mode: mapping
    x-read-timeout: 5
    x-connect-timeout: 5
    post:
      summary: 会员资源包列表
      description: 提供万维易源api接口平台的会员用户的资源包列表。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          ret_code:
                            type: number
                          remark:
                            type: string
                          list:
                            type: array
                            items:
                              type: object
                              properties:
                                startTime:
                                  type: number
                                  description: 资源包开始生效时间
                                rate:
                                  type: number
                                  description: 调用频率
                                remainUnit:
                                  type: number
                                  description: 剩余调用次数
                                _id:
                                  type: string
                                  description: 资源包id
                                remark:
                                  type: string
                                remainFlow:
                                  type: number
                                  description: 剩余流量
                                userId:
                                  type: string
                                  description: 用户id
                                name:
                                  type: string
                                  description: 资源包规格
                                userName:
                                  type: string
                                  description: 用户名
                                endTime:
                                  type: number
                                  description: 资源包失效时间
                        description: 业务返回体
      operationId: 631_5_POST
      parameters: []
  /631-3:
    x-pointCode: 3
    x-mode: mapping
    x-read-timeout: 5
    x-connect-timeout: 5
    post:
      summary: 查询单独资源包余量
      description: 提供万维易源api接口平台的新版资源包余量查询
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          ret_code:
                            type: number
                            description: |
                              业务成功标识
                          list:
                            type: array
                            items:
                              type: object
                              properties:
                                apiName:
                                  type: string
                                  description: 接口名称
                                startTime:
                                  type: number
                                  description: 开始生效时间
                                endTime:
                                  type: number
                                  description: 失效时间
                                period:
                                  type: string
                                  description: 资源包类型：freeMoney:免费，t:记次，t30:包月
                                totalUnit:
                                  type: number
                                  description: 资源包总易豆数量，计次套餐为剩余总易豆数。包月为每天分配易豆数。
                                remainUnit:
                                  type: number
                                  description: 资源包当前易豆数，计次套餐的话是剩余总易豆数。包月等是今天剩余易豆。
                                rate:
                                  type: number
                                  description: 调用并发限制，单位为次/秒
                            description: |
                              当前可用资源包列表
                        description: 业务返回体
      operationId: 631_3_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                api_code:
                  type: string
                  description: 接口编码
              required:
                - api_code
  /631-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 5
    x-connect-timeout: 5
    post:
      summary: 查询用户账户余额
      description: 提供万维易源api接口平台的用户账户余额查询。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          money:
                            type: number
                            description: 账户余额，单位厘
                          ret_code:
                            type: string
                            description: 0为成功，其他失败。
                        description: 业务返回体
      operationId: 631_1_POST
      parameters: []
components:
  securitySchemes:
    AppKeyAuth:
      type: apiKey
      in: query
      name: appKey
      description: 从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp
  schemas:
    ShowapiResEnvelope:
      type: object
      description: ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）
      properties:
        showapi_res_code:
          type: integer
          description: API 返回的状态码
        showapi_res_error:
          type: string
          description: API 返回的错误信息
        showapi_res_id:
          type: string
          description: API 请求的唯一标识
        showapi_fee_num:
          type: integer
          description: API 调用计费次数
security:
  - AppKeyAuth: []
externalDocs:
  url: https://www.showapi.com/apiGateway/view/631?tab=book
x-apiCode: "631"
x-is-own: false
x-is-op: true
