应用订阅接近费用上限
Webhookapp/subscriptions_approaching_capped_amount
使用费达到费用上限的 90% 时触发。
需要 shop 访问权限。最低支持版本:202207。
请求头
X-Shoplazza-Topicstring
触发本次推送的事件,例如 orders/create
示例:
orders/createX-Shoplazza-Hmac-Sha256string
请求体的 HMAC-SHA256 签名(base64 编码),使用应用的 Client Secret 生成,用于验证请求来自 Shoplazza
X-Shoplazza-Shop-Domainstring
产生该事件的店铺域名
示例:
example.myshoplaza.comX-Shoplazza-Api-Versionstring
序列化 payload 使用的 API 版本
示例:
2025-06X-Shoplazza-Deduplication-IDstring
本次推送的去重 ID,同一事件重发时保持不变,用于幂等去重
请求体
- 数据结构
- 示例
activated_onstring
激活时间
application_idstring
应用 client id
billing_onstring
下一次收费时间
cancelled_onstring
取消时间
capped_amountstring
用量计费上限金额
idstring
账单 ID
namestring
账单/套餐名称
store_idinteger
店铺 ID
trial_ends_onstring
试用结束时间
updated_atstring
更新时间
{
"activated_on": "string",
"application_id": "string",
"billing_on": "string",
"cancelled_on": "string",
"capped_amount": "string",
"id": "string",
"name": "string",
"store_id": 0,
"trial_ends_on": "string",
"updated_at": "string"
}