何らかの理由でサブスクリプションのステータスが非更新に設定されている場合、私たちは通知non_renewal_subscription
をウェブフックURLに送信します。この通知を有効にするには、アカウントマネージャーに連絡してください。
notification_type required | string 通知の種類。 | ||||||||||||
object カスタムプロジェクト設定(オブジェクト)。 | |||||||||||||
object サブスクリプションの詳細(オブジェクト)。 | |||||||||||||
| |||||||||||||
object ユーザーの詳細(オブジェクト)。 | |||||||||||||
処理の成功を示すために戻ります。
提供された情報(たとえば、必要なパラメーターの欠落、認可の失敗など。)にエラーが発生した場合に戻ります。
リターンはサーバーに一時的なエラーが発生したことを示します。
{- "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"
}
}