ユーザーがサブスクリプションを作成すると、支払い通知スクリプトに通知が送信されます。
notification_type required | string 通知の種類。 |
custom_parameters | object カスタムパラメータ。 |
object カスタムプロジェクト設定(オブジェクト)。 | |
object サブスクリプションの詳細(オブジェクト)。 | |
object ユーザーの詳細(オブジェクト)。 | |
処理の成功を示すために戻ります。
提供された情報(たとえば、必要なパラメーターの欠落、認可の失敗など。)にエラーが発生した場合に戻ります。
リターンはサーバーに一時的なエラーが発生したことを示します。
{- "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"
}
}