跳转到内容

邮包险开通审核回调

该 webhook 由商户实现,URL 配置在 openapiConfig.callEndpoints.openApiSpSwitchCallback。

Xcotton 使用 HTTP POST 发送 JSON,请求头为 xmh-hmc-signature。平台仅把 HTTP 200 视为接收成功;完整签名规则见 鉴权 §4.2。

完整字段说明见 API 接口文档 · webhook shippingProtectionSwitchChanged。

{
"xmhShopId": 10001,
"xmhUid": 20001,
"shopDomain": "shop.example.com",
"appId": "10000001",
"secret": "example_app_secret",
"status": "approved"
}

status 取值:

  • approved:邮包险开通审核通过。
  • rejected:邮包险开通审核未通过。