ユーザーがサブスクリプションを作成すると、支払い通知スクリプトに通知が送信されます。
リターンは処理が成功したことを示します。
リターンは提供された情報にエラーがあった場合(必須パラメータがない、認証に失敗した、など)です。
リターンはサーバーに一時的なエラーが発生したことを示します。
{- "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"
}
}