# 非更新のサブスクリプション

サブスクリプションステータスが非更新に設定されている場合、エクソーラはnon_renewal_subscriptionタイプのウェブフックをウェブフックURLに送信します。このウェブフックを受信するには、カスタマーサクセスマネージャーにご連絡いただくか、csm@xsolla.comまで電子メールでお問い合わせください。

Endpoint: POST nonrenewing-subscription
Version: 1.0

## Request fields (application/json):

  - `notification_type` (string, required)
    通知タイプ。

  - `settings` (object)
    カスタムプロジェクト設定（オブジェクト）。

  - `settings.merchant_id` (integer)
    マーチャントID。

  - `settings.project_id` (integer, required)
    Project ID. You can find this parameter in your [account](/ja/webhooks/overview/#business-accounts) next to the name of the project.

  - `subscription` (object)
    サブスクリプションの詳細（オブジェクト）。

  - `subscription.amount` (number)
    現金通貨での価格。

  - `subscription.currency` (string)
    通貨。[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)に基づく3文字の通貨コード。

  - `subscription.date_create` (string)
    サブスクリプション作成日。日付時刻表記は、[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)形式。

  - `subscription.date_next_charge` (string)
    次の請求日。これは、ユーザーのサブスクリプションが非更新に設定される前に次の支払いが予想される日付です。[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)の日付と時刻。

  - `subscription.plan_id` (string)
    プランID（プランがAPIを使用して作成された場合は外部）。

  - `subscription.subscription_id` (integer)
    エクソラデータベースのサブスクリプションID。

  - `user` (object)
    ユーザーの詳細（オブジェクト）。

  - `user.email` (string)
    ユーザーのEメール。

  - `user.id` (string, required)
    ユーザーID。

  - `user.name` (string)
    ユーザー名。

## Response 400 fields (application/json):

  - `error` (object)

  - `error.code` (string)

  - `error.message` (string)


## Response 204 fields

## Response 500 fields
