券查询
POST
/fast-service/v1/0.0/api/coupon/get
卡券场景
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-vpjq75s2e4.kylin.shuyun.com/fast-service/v1/0.0/api/coupon/get' \
--header 'Authorization;' \
--header 'X-Caller-Service: ' \
--header 'X-Caller-sign: ' \
--header 'X-Caller-Timestamp: ' \
--header 'X-Caller-Sign: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizCode": "CTFCN",
"requestChannel": "WECHAT",
"requestSystem": "WECHAT_MALL",
"transactionId": "TX2024030490569",
"projectId": "string",
"code": "string",
"showProject": true
}'
响应示例响应示例
{
"success": true,
"code": "string",
"message": "string",
"data": {
"id": "string",
"projectId": "string",
"code": "string",
"grantAt": "2019-08-24T14:15:22Z",
"effectiveAt": "2019-08-24T14:15:22Z",
"useAt": "2019-08-24T14:15:22Z",
"expiredAt": "2019-08-24T14:15:22Z",
"status": {},
"useCountRestrict": 0,
"usedCount": 0,
"ruleText": "string",
"couponName": "string",
"projectType": "string",
"reductAmount": 0,
"discountRate": 0,
"thresholdValue": 0,
"denomination": 0,
"grantReason": "string",
"grantShop": "string",
"extension": {},
"project": {},
"transferState": {},
"useShop": "string",
"useOrderId": "string",
"activateAt": "2019-08-24T14:15:22Z",
"grantPlatform": "string",
"scene": {},
"lastState": {},
"receiver": "string",
"transferredCount": 0,
"transferredCountRestrict": 0,
"usableOrderItemIds": [
"string"
],
"memberId": "string"
}
}
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJicmFuY2hfMzgxMCIsImF1ZCI6InNtYXJ0X3BvcnRhbF91YXQiLCJpc3MiOiJzc28iLCJpcF9hZGRyZXNzIjoiMTAuMjAwLjE4MC43NiIsImV4cCI6MTczOTc5ODIzMCwiYnJhbmNoIjoiMzgxMCIsImlhdCI6MTczOTc5MTAzMH0.jqwTnQ0ah3k94Yjpn7hw91QtmKwsvXhjyibZpXDrGifaBcvzPdz8MjCg66FUohyKTS4ciZILl6xXJ5a1pQ_iIg
X-Caller-Service
string
可选
默认值:
{{caller}}
X-Caller-sign
string
可选
默认值:
{{sign}}
X-Caller-Timestamp
string
可选
默认值:
{{currentTime}}
X-Caller-Sign
string
网关签名
默认值:
{{sign}}
Body 参数application/json