8.40 艺人资金流水【基础探测通过,待数据联调】

GET /tieup/api/v1/artist/transactions

查询参数:

参数 类型 必填 说明
change_type integer tieup_artist_transaction.change_type
business_type string subscriptionquestionvideo_callwithdrawrefundadjust

响应字段:

字段 类型 说明
items array 当前页数据列表
items[].transaction_no string 交易流水号
items[].transaction_type string 糖果流水类型:1=充值,2=消费,3=退款,4=系统赠送,5=系统扣减,6=活动奖励,7=其他
items[].amount string 金额
items[].balance_after string 变更后余额
pagination.page integer 当前页码
pagination.page_size integer 每页数量
pagination.total integer 总数量
pagination.next_cursor string/null 游标分页预留字段,当前为空

响应示例:

{
  "code": 200,
  "message": "成功",
  "data": {
    "items": [
      {
        "transaction_no": "AT202606170001",
        "transaction_type": "income",
        "amount": "20.00",
        "balance_after": "1024.00"
      }
    ],
    "page": 1,
    "page_size": 20,
    "total": 1
  }
}