# 本级分润查询

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/outputApi/listProfitInfo:
    post:
      summary: 本级分润查询
      deprecated: false
      description: 本级分润查询
      tags:
        - API接口/卡业务接口
        - 国际
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              title: ''
              type: object
              properties:
                appkey:
                  type: string
                  default: '{{APPKEY}}'
                  description: >-
                    appkey平台用以确定客户端应用的身份。应用键对应一个密钥 secret。要基于服务平台开发应用，必须事先通过申请获取
                    appkey/secret 后，才能进行应用的开发。
                timestamp:
                  type: integer
                  default: '{{TIMESTAMP}}'
                  description: 当前时间戳，10位数字
                nonce:
                  type: integer
                  minimum: 10000
                  maximum: 99999
                  description: 5位随机正整数
                sign:
                  type: string
                  description: 签名串，请求参数的签名，服务平台通过它验证请求数据的合法性。
                pageNum:
                  description: 查询第几页的数据(起始为1)
                  type: integer
                pageSize:
                  description: 页面容量
                  type: integer
                param:
                  description: |
                    ICCID/手机号
                  type: string
                productCode:
                  description: 产品编码
                  type: string
                startDate:
                  description: 开始时间 (YYYY-MM-DD HH:mm:ss)
                  type: string
                endDate:
                  type: string
                  description: 开始时间 (YYYY-MM-DD HH:mm:ss)
                ifWithdrawDeposit:
                  description: 分润提现状态 0:待提现 1:审核中 2:已完成 3:已失败
                  type: integer
                withdrawDepositType:
                  description: 分润提现类型 1:手动提现 2:系统日结
                  type: integer
                orderNumber:
                  type: string
                  description: 订单号
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - pageNum
                - pageSize
                - param
                - productCode
                - startDate
                - endDate
                - ifWithdrawDeposit
                - withdrawDepositType
                - orderNumber
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - pageNum
                - pageSize
            example: |-
              {
                  "appkey": "{{APPKEY}}",
                  "timestamp": {{TIMESTAMP}},
                  "nonce": 15451,
                  "sign": "{{SIGN}}",
                  "pageNum": 1,
                  "pageSize": 100
              }
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: 200：表示成功其他失败
                  message:
                    type: string
                    description: 成功或失败原因
                  data:
                    type: object
                    properties:
                      total:
                        type: integer
                        description: |
                          总页数
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              description: 记录ID
                            iccid:
                              type: string
                              description: ICCID
                            platformId:
                              type: integer
                              description: 运营商ID 5:国际卡
                            orderId:
                              type: integer
                              description: 订单ID
                            incomeMoney:
                              type: number
                              description: 收入总额（结算币种）
                            actualProfit:
                              type: number
                              description: 实际分润（结算币种）
                            childProfit:
                              type: integer
                              description: 下级分润（结算币种）
                            company:
                              type: string
                              description: 分润客户
                            type:
                              type: integer
                              description: 收入类型 1 收入 2 扣减
                            createDate:
                              type: string
                              description: 交易时间
                            mem:
                              type: string
                              description: 备注
                            actualPrice:
                              type: number
                              description: 用户支付价额（支付币种）
                            packageUserName:
                              type: string
                              description: 套餐名称
                            settleCurrency:
                              type: string
                              description: 结算币种（收款币种：如：USD、HKD）
                            payCurrency:
                              type: string
                              description: 支付币种（实际支付币种：如：USD、JPY、THB等）
                            packageCode:
                              type: string
                              description: 套餐编码
                            payRate:
                              type: string
                              description: 汇率
                            renew:
                              type: integer
                              description: 0 正常订单 1续订订单
                          required:
                            - id
                            - iccid
                            - platformId
                            - orderId
                            - incomeMoney
                            - actualProfit
                            - childProfit
                            - company
                            - type
                            - createDate
                            - mem
                            - actualPrice
                            - packageUserName
                            - settleCurrency
                            - payCurrency
                            - packageCode
                            - payRate
                            - renew
                          x-apifox-orders:
                            - id
                            - iccid
                            - platformId
                            - orderId
                            - payCurrency
                            - actualPrice
                            - settleCurrency
                            - incomeMoney
                            - actualProfit
                            - childProfit
                            - company
                            - type
                            - createDate
                            - mem
                            - packageUserName
                            - packageCode
                            - payRate
                            - renew
                      01H4JHZGVDVNF8E8YS1Y3G2R9H:
                        type: string
                    required:
                      - total
                      - data
                      - 01H4JHZGVDVNF8E8YS1Y3G2R9H
                    x-apifox-orders:
                      - total
                      - data
                      - 01H4JHZGVDVNF8E8YS1Y3G2R9H
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: '200'
                message: 操作成功
                data:
                  total: 157
                  data:
                    - id: 1022103
                      iccid: '89852000000000408392'
                      platformId: 5
                      orderId: 1440052
                      payCurrency: USD
                      actualPrice: 139
                      settleCurrency: USD
                      incomeMoney: 133.97
                      actualProfit: 133.97
                      childProfit: 0
                      company: '*****'
                      type: 1
                      createDate: '2023-05-21 09:53:34'
                      mem: >-
                        【Pkg
                        Sell】,US-VAT-24G-360day,CardNo:89852000000000408392,IncomeBenefit:133.97
                        USD
                      packageUserName: US-VAT-24G-360day
                      packageCode: GJ-LLB-24G-360-1US-QWT20220407170352
                      renew: 0
                    - id: 1021989
                      iccid: '89883000000000553740'
                      platformId: 5
                      orderId: 1439954
                      payCurrency: EUR
                      actualPrice: 10
                      settleCurrency: HKD
                      incomeMoney: 77.69
                      actualProfit: 77.69
                      childProfit: 0
                      company: '*****'
                      type: 1
                      createDate: '2023-05-21 05:01:20'
                      mem: >-
                        【Pkg
                        Sell】,PD-3G-30day,CardNo:89883000000000553740,IncomeBenefit:77.69
                        HKD
                      packageUserName: PD-3G-30day
                      packageCode: GJ-LLB-3G-30-2ROPDOZLLB20210607140809
                      renew: 1
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API接口/卡业务接口
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2330898/apis/api-63600567-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
