事件分组事件标识
appsubscriptionappsubscription/paid
当商家订阅应用内的商品时,平台会将相关订阅支付 结果信息推送给开发者
请求头
  • X-Shopline-Topic string required
    事件操作标识
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    签名
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    店铺域名
    Example: shophub.myshopline.com
  • X-Shopline-Shop-Id string required
    店铺id
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    商户ID
    Example: 2000001234
  • X-Shopline-API-Version string required
    版本号
    Example: v20210901
  • X-Shopline-Webhook-Id string required
    消息ID
    Example: b54557e48a5fbf7d70bcd043
请求体
  • appkey string
    应用唯一标识
  • bizOrderNo string
    业务订单号
  • handle string
    店铺唯一标识
  • secondChannelId string
    二级渠道ID
  • status integer
    支付状态,枚举值: 200-支付成功 300-支付取消 400-支付失败
  • subId string
    创建订阅时生成的对应订单号
  • subTime long
    支付成功的时间
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述
这篇文章对你有帮助吗?