订阅状态由于任何原因设置为非续订时,我们会向您的Webhook URL发送通知non_renewal_subscription
。要启用该通知,请联系帐户经理。
返回以指示处理成功。
提供的信息出错时返回(例如,缺少必需的参数、授权失败等)。
返回以指示您的服务器存在的暂时性错误。
{- "notification_type": "string",
- "settings": {
- "merchant_id": 0,
- "project_id": 0
}, - "subscription": {
- "amount": 0,
- "currency": "string",
- "date_create": "string",
- "date_next_charge": "string",
- "plan_id": "string",
- "subscription_id": 0
}, - "user": {
- "email": "string",
- "id": "string",
- "name": "string"
}
}
{- "error": {
- "code": "INCORRECT_AMOUNT",
- "message": "Incorrect amount"
}
}