文档
测试

V4获取卡券明细

GET
http://test.joypay.cn:9003/V4/getBankruptcyLiquidationForm?merchantId=-1&channelId=-1

请求头

参数名
类型
描述
必填
Channel-No
string
示例:HY
必填
Time-Stamp
int
示例:1600833186
必填
Authorization-token
string
示例:TOKEN_493b6f3b63e932ee3906420b3eec2949
必填

请求参数

参数名
类型
描述
必填
merchantId
int
示例:-1
必填
channelId
int
示例:-1
必填
startDate
可以未空
可选
endDate
可以为空
可选

响应参数

参数名
类型
描述
必填
skuDataResp
object
卡券数据
必填
prepayments
int
示例:4718880000 预付款
必填
sales
int
示例:4725310000 销售额
必填
writtenOffAmount
int
示例:4678020000 已核销额
必填
unwrittenAmount
int
示例:47290000 未核销额
必填
expiredUnwrittenAmount
int
示例:470000 已过期未核销额
必填
unwrittenOffRate
string
示例:1 未核销率
必填
refundRate
string
示例:0.47 退款率
必填
prepaymentBalance
int
示例:64190000 预付款余额
必填
platformServiceFee
int
示例:14560000 平台服务费
必填
salesDiscount
int
示例:146420000 销售折扣
必填
refundAmount
int
示例:4544880000 回款额
必填
paidRebate
int
示例:2160000 实收返利
必填
capitalInflow
int
示例:2160000 资金流入
必填
subsidyAmount
int
示例:300000 补贴金额
必填
tradingSpread
int
示例:300000 交易利差
必填
bankruptcyList
array
数据列表
必填
type
string
示例:趋势图类型
必填
title
string
示例:标题
必填
value
int
示例:值
必填
code
int
示例:1000
必填
message
string
示例:成功
必填

说明 / 示例

{ "bankruptcyList": [ { "type": "prepayments", "title": "预付款", "value": 0 }, { "type": "sales", "title": "销售额", "value": 784412100 }, { "type": "writtenOffAmount", "title": "已核销额", "value": 810136700 }, { "type": "unwrittenAmount", "title": "未核销额", "value": -25724600 }, { "type": "expiredUnwrittenAmount", "title": "已过期未核销额", "value": 3072000 }, { "type": "unwrittenOffRate", "title": "未核销率", "value": "-3.28" }, { "type": "refundRate", "title": "退款率", "value": "0.75" }, { "type": "prepaymentBalance", "title": "预付款余额", "value": -807000403 }, { "type": "platformServiceFee", "title": "平台服务费", "value": 2378776 }, { "type": "salesDiscount", "title": "销售折扣", "value": 35314533 }, { "type": "refundAmount", "title": "回款额", "value": 746594563 }, { "type": "paidRebate", "title": "实收返利", "value": 0 }, { "type": "capitalInflow", "title": "资金流入", "value": -63542137 }, { "type": "subsidyAmount", "title": "补贴金额", "value": 31617798 }, { "type": "tradingSpread", "title": "交易利差", "value": -81984 } ], "code": 1000, "message": "成功" }