当用户创建订阅时,我们会在支付通知脚本上发送有关创建订阅的通知。
返回以指示处理成功。
提供的信息出错时返回(例如,缺少必需的参数、授权失败等)。
返回以指示您的服务器存在的暂时性错误。
{- "custom_parameters": { },
- "notification_type": "string",
- "settings": {
- "merchant_id": 0,
- "project_id": 0
}, - "subscription": {
- "date_create": "string",
- "date_next_charge": "string",
- "plan_id": "string",
- "product_id": "string",
- "subscription_id": 0,
- "tags": [
- "string"
], - "trial": {
- "type": "string",
- "value": 0
}
}, - "user": {
- "id": "string",
- "name": "string"
}
}
{- "error": {
- "code": "INCORRECT_AMOUNT",
- "message": "Incorrect amount"
}
}