跳到主要内容

查询优惠抵扣

请求地址

/api/v2/coupon/check_discount

公共请求参数

接口协议 - 公共参数

请求参数

参数必填类型说明
coupon_codestring优惠券编码
feeint付款金额

响应参数

名称类型说明
namestr优惠名称
discount_feeint抵扣金额
discount_infostr优惠描述

请求示例

:::: tabs

::: tab biz_content

{
"coupon_code": "1888888888"
"fee": 1
}

:::

::::

响应示例

:::: tabs

::: tab result

{
"code": 0,
"data": {
"discount_fee": 1000,
"discount_info": "10元代金券",
"name": "10元代金券"
},
"msg": "success",
"succeed": true
}

:::

::::

预约咨询