0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

StripeのWEBHOOKイベントのダミーメモ

Posted at

前提

  • stripe/stripe-cli/stripe 1.23.10
  • data.object の中身

実行方法

stripe login
stripe listen --forward-to your_local_server
strige trigger stripe_event

一覧

customer.subscription.created

{
  "application": null,
  "application_fee_percent": null,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null
  },
  "billing_cycle_anchor": 1738204792,
  "billing_cycle_anchor_config": null,
  "billing_thresholds": null,
  "cancel_at": null,
  "cancel_at_period_end": false,
  "canceled_at": null,
  "cancellation_details": {
    "comment": null,
    "feedback": null,
    "reason": null
  },
  "collection_method": "charge_automatically",
  "created": 1738204792,
  "currency": "usd",
  "current_period_end": 1740710392,
  "current_period_start": 1738204792,
  "customer": "cus_Rg9zqcCqyQVGSK",
  "days_until_due": null,
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": null,
  "discount": null,
  "discounts": [],
  "ended_at": null,
  "id": "sub_1QmnfYKl0vN6Bcw3Fu1hTUCL",
  "invoice_settings": {
    "account_tax_ids": null,
    "issuer": {
      "type": "self"
    }
  },
  "items": {
    "data": [
      {
        "billing_thresholds": null,
        "created": 1738204792,
        "discounts": [],
        "id": "si_Rg9zdJ0PEmGZUa",
        "metadata": {},
        "object": "subscription_item",
        "plan": {
          "active": true,
          "aggregate_usage": null,
          "amount": 1500,
          "amount_decimal": "1500",
          "billing_scheme": "per_unit",
          "created": 1738204791,
          "currency": "usd",
          "id": "price_1QmnfXKl0vN6Bcw3e5FVJZkx",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {},
          "meter": null,
          "nickname": null,
          "object": "plan",
          "product": "prod_Rg9z4B5oIPuCdc",
          "tiers_mode": null,
          "transform_usage": null,
          "trial_period_days": null,
          "usage_type": "licensed"
        },
        "price": {
          "active": true,
          "billing_scheme": "per_unit",
          "created": 1738204791,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmnfXKl0vN6Bcw3e5FVJZkx",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_Rg9z4B5oIPuCdc",
          "recurring": {
            "aggregate_usage": null,
            "interval": "month",
            "interval_count": 1,
            "meter": null,
            "trial_period_days": null,
            "usage_type": "licensed"
          },
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "recurring",
          "unit_amount": 1500,
          "unit_amount_decimal": "1500"
        },
        "quantity": 1,
        "subscription": "sub_1QmnfYKl0vN6Bcw3Fu1hTUCL",
        "tax_rates": []
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_1QmnfYKl0vN6Bcw3Fu1hTUCL"
  },
  "latest_invoice": "in_1QmnfYKl0vN6Bcw3EjAvBH74",
  "livemode": false,
  "metadata": {},
  "next_pending_invoice_item_invoice": null,
  "object": "subscription",
  "on_behalf_of": null,
  "pause_collection": null,
  "payment_settings": {
    "payment_method_options": null,
    "payment_method_types": null,
    "save_default_payment_method": "off"
  },
  "pending_invoice_item_interval": null,
  "pending_setup_intent": null,
  "pending_update": null,
  "plan": {
    "active": true,
    "aggregate_usage": null,
    "amount": 1500,
    "amount_decimal": "1500",
    "billing_scheme": "per_unit",
    "created": 1738204791,
    "currency": "usd",
    "id": "price_1QmnfXKl0vN6Bcw3e5FVJZkx",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {},
    "meter": null,
    "nickname": null,
    "object": "plan",
    "product": "prod_Rg9z4B5oIPuCdc",
    "tiers_mode": null,
    "transform_usage": null,
    "trial_period_days": null,
    "usage_type": "licensed"
  },
  "quantity": 1,
  "schedule": null,
  "start_date": 1738204792,
  "status": "active",
  "test_clock": null,
  "transfer_data": null,
  "trial_end": null,
  "trial_settings": {
    "end_behavior": {
      "missing_payment_method": "create_invoice"
    }
  },
  "trial_start": null
}

customer.subscription.deleted

{
  "application": null,
  "application_fee_percent": null,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null
  },
  "billing_cycle_anchor": 1738205257,
  "billing_cycle_anchor_config": null,
  "billing_thresholds": null,
  "cancel_at": null,
  "cancel_at_period_end": false,
  "canceled_at": 1738205259,
  "cancellation_details": {
    "comment": null,
    "feedback": null,
    "reason": "cancellation_requested"
  },
  "collection_method": "charge_automatically",
  "created": 1738205257,
  "currency": "usd",
  "current_period_end": 1740710857,
  "current_period_start": 1738205257,
  "customer": "cus_RgA7YTXMV9TZJw",
  "days_until_due": null,
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": null,
  "discount": null,
  "discounts": [],
  "ended_at": 1738205259,
  "id": "sub_1Qmnn3Kl0vN6Bcw3VaXpXIf9",
  "invoice_settings": {
    "account_tax_ids": null,
    "issuer": {
      "type": "self"
    }
  },
  "items": {
    "data": [
      {
        "billing_thresholds": null,
        "created": 1738205257,
        "discounts": [],
        "id": "si_RgA7Nc3VlSZLRo",
        "metadata": {},
        "object": "subscription_item",
        "plan": {
          "active": true,
          "aggregate_usage": null,
          "amount": 1500,
          "amount_decimal": "1500",
          "billing_scheme": "per_unit",
          "created": 1738205256,
          "currency": "usd",
          "id": "price_1Qmnn2Kl0vN6Bcw31YtniavD",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {},
          "meter": null,
          "nickname": null,
          "object": "plan",
          "product": "prod_RgA78GjfnboBfs",
          "tiers_mode": null,
          "transform_usage": null,
          "trial_period_days": null,
          "usage_type": "licensed"
        },
        "price": {
          "active": true,
          "billing_scheme": "per_unit",
          "created": 1738205256,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1Qmnn2Kl0vN6Bcw31YtniavD",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgA78GjfnboBfs",
          "recurring": {
            "aggregate_usage": null,
            "interval": "month",
            "interval_count": 1,
            "meter": null,
            "trial_period_days": null,
            "usage_type": "licensed"
          },
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "recurring",
          "unit_amount": 1500,
          "unit_amount_decimal": "1500"
        },
        "quantity": 1,
        "subscription": "sub_1Qmnn3Kl0vN6Bcw3VaXpXIf9",
        "tax_rates": []
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_1Qmnn3Kl0vN6Bcw3VaXpXIf9"
  },
  "latest_invoice": "in_1Qmnn3Kl0vN6Bcw3lB2qKq84",
  "livemode": false,
  "metadata": {},
  "next_pending_invoice_item_invoice": null,
  "object": "subscription",
  "on_behalf_of": null,
  "pause_collection": null,
  "payment_settings": {
    "payment_method_options": null,
    "payment_method_types": null,
    "save_default_payment_method": "off"
  },
  "pending_invoice_item_interval": null,
  "pending_setup_intent": null,
  "pending_update": null,
  "plan": {
    "active": true,
    "aggregate_usage": null,
    "amount": 1500,
    "amount_decimal": "1500",
    "billing_scheme": "per_unit",
    "created": 1738205256,
    "currency": "usd",
    "id": "price_1Qmnn2Kl0vN6Bcw31YtniavD",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {},
    "meter": null,
    "nickname": null,
    "object": "plan",
    "product": "prod_RgA78GjfnboBfs",
    "tiers_mode": null,
    "transform_usage": null,
    "trial_period_days": null,
    "usage_type": "licensed"
  },
  "quantity": 1,
  "schedule": null,
  "start_date": 1738205257,
  "status": "canceled",
  "test_clock": null,
  "transfer_data": null,
  "trial_end": null,
  "trial_settings": {
    "end_behavior": {
      "missing_payment_method": "create_invoice"
    }
  },
  "trial_start": null
}

customer.subscription.paused

{
  "application": null,
  "application_fee_percent": null,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null
  },
  "billing_cycle_anchor": 1738205385,
  "billing_cycle_anchor_config": null,
  "billing_thresholds": null,
  "cancel_at": null,
  "cancel_at_period_end": false,
  "canceled_at": null,
  "cancellation_details": {
    "comment": null,
    "feedback": null,
    "reason": null
  },
  "collection_method": "charge_automatically",
  "created": 1738205383,
  "currency": "usd",
  "current_period_end": 1738205385,
  "current_period_start": 1738205383,
  "customer": "cus_RgA98fz37vfrUI",
  "days_until_due": null,
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": null,
  "discount": null,
  "discounts": [],
  "ended_at": null,
  "id": "sub_1Qmnp5Kl0vN6Bcw3O3ZS5CSs",
  "invoice_settings": {
    "account_tax_ids": null,
    "issuer": {
      "type": "self"
    }
  },
  "items": {
    "data": [
      {
        "billing_thresholds": null,
        "created": 1738205384,
        "discounts": [],
        "id": "si_RgA9bbcTKX9Wpr",
        "metadata": {},
        "object": "subscription_item",
        "plan": {
          "active": true,
          "aggregate_usage": null,
          "amount": 1500,
          "amount_decimal": "1500",
          "billing_scheme": "per_unit",
          "created": 1738205383,
          "currency": "usd",
          "id": "price_1Qmnp5Kl0vN6Bcw3PuC53ljN",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {},
          "meter": null,
          "nickname": null,
          "object": "plan",
          "product": "prod_RgA9IM19F0COs3",
          "tiers_mode": null,
          "transform_usage": null,
          "trial_period_days": null,
          "usage_type": "licensed"
        },
        "price": {
          "active": true,
          "billing_scheme": "per_unit",
          "created": 1738205383,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1Qmnp5Kl0vN6Bcw3PuC53ljN",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgA9IM19F0COs3",
          "recurring": {
            "aggregate_usage": null,
            "interval": "month",
            "interval_count": 1,
            "meter": null,
            "trial_period_days": null,
            "usage_type": "licensed"
          },
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "recurring",
          "unit_amount": 1500,
          "unit_amount_decimal": "1500"
        },
        "quantity": 1,
        "subscription": "sub_1Qmnp5Kl0vN6Bcw3O3ZS5CSs",
        "tax_rates": []
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_1Qmnp5Kl0vN6Bcw3O3ZS5CSs"
  },
  "latest_invoice": "in_1Qmnp5Kl0vN6Bcw3bZr0JqaI",
  "livemode": false,
  "metadata": {},
  "next_pending_invoice_item_invoice": null,
  "object": "subscription",
  "on_behalf_of": null,
  "pause_collection": null,
  "payment_settings": {
    "payment_method_options": null,
    "payment_method_types": null,
    "save_default_payment_method": "off"
  },
  "pending_invoice_item_interval": null,
  "pending_setup_intent": "seti_1Qmnp6Kl0vN6Bcw3sW5slRpB",
  "pending_update": null,
  "plan": {
    "active": true,
    "aggregate_usage": null,
    "amount": 1500,
    "amount_decimal": "1500",
    "billing_scheme": "per_unit",
    "created": 1738205383,
    "currency": "usd",
    "id": "price_1Qmnp5Kl0vN6Bcw3PuC53ljN",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {},
    "meter": null,
    "nickname": null,
    "object": "plan",
    "product": "prod_RgA9IM19F0COs3",
    "tiers_mode": null,
    "transform_usage": null,
    "trial_period_days": null,
    "usage_type": "licensed"
  },
  "quantity": 1,
  "schedule": null,
  "start_date": 1738205383,
  "status": "paused",
  "test_clock": null,
  "transfer_data": null,
  "trial_end": 1738205384,
  "trial_settings": {
    "end_behavior": {
      "missing_payment_method": "pause"
    }
  },
  "trial_start": 

customer.subscription.resumed

The event `customer.subscription.resumed` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

customer.subscription.trial_will_end

{
  "application": null,
  "application_fee_percent": null,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null
  },
  "billing_cycle_anchor": 1738292292,
  "billing_cycle_anchor_config": null,
  "billing_thresholds": null,
  "cancel_at": null,
  "cancel_at_period_end": false,
  "canceled_at": null,
  "cancellation_details": {
    "comment": null,
    "feedback": null,
    "reason": null
  },
  "collection_method": "charge_automatically",
  "created": 1738205892,
  "currency": "usd",
  "current_period_end": 1738292292,
  "current_period_start": 1738205892,
  "customer": "cus_RgAHn815I2tmXF",
  "days_until_due": null,
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": null,
  "discount": null,
  "discounts": [],
  "ended_at": null,
  "id": "sub_1QmnxIKl0vN6Bcw3DOaCO3DN",
  "invoice_settings": {
    "account_tax_ids": null,
    "issuer": {
      "type": "self"
    }
  },
  "items": {
    "data": [
      {
        "billing_thresholds": null,
        "created": 1738205892,
        "discounts": [],
        "id": "si_RgAHbJFsn3oN5C",
        "metadata": {},
        "object": "subscription_item",
        "plan": {
          "active": true,
          "aggregate_usage": null,
          "amount": 1500,
          "amount_decimal": "1500",
          "billing_scheme": "per_unit",
          "created": 1738205891,
          "currency": "usd",
          "id": "price_1QmnxHKl0vN6Bcw3gEfBnqOw",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {},
          "meter": null,
          "nickname": null,
          "object": "plan",
          "product": "prod_RgAH31Y4s4jvTx",
          "tiers_mode": null,
          "transform_usage": null,
          "trial_period_days": null,
          "usage_type": "licensed"
        },
        "price": {
          "active": true,
          "billing_scheme": "per_unit",
          "created": 1738205891,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmnxHKl0vN6Bcw3gEfBnqOw",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAH31Y4s4jvTx",
          "recurring": {
            "aggregate_usage": null,
            "interval": "month",
            "interval_count": 1,
            "meter": null,
            "trial_period_days": null,
            "usage_type": "licensed"
          },
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "recurring",
          "unit_amount": 1500,
          "unit_amount_decimal": "1500"
        },
        "quantity": 1,
        "subscription": "sub_1QmnxIKl0vN6Bcw3DOaCO3DN",
        "tax_rates": []
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_1QmnxIKl0vN6Bcw3DOaCO3DN"
  },
  "latest_invoice": "in_1QmnxIKl0vN6Bcw333MDjGui",
  "livemode": false,
  "metadata": {},
  "next_pending_invoice_item_invoice": null,
  "object": "subscription",
  "on_behalf_of": null,
  "pause_collection": null,
  "payment_settings": {
    "payment_method_options": null,
    "payment_method_types": null,
    "save_default_payment_method": "off"
  },
  "pending_invoice_item_interval": null,
  "pending_setup_intent": "seti_1QmnxIKl0vN6Bcw3YQMLYVsI",
  "pending_update": null,
  "plan": {
    "active": true,
    "aggregate_usage": null,
    "amount": 1500,
    "amount_decimal": "1500",
    "billing_scheme": "per_unit",
    "created": 1738205891,
    "currency": "usd",
    "id": "price_1QmnxHKl0vN6Bcw3gEfBnqOw",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {},
    "meter": null,
    "nickname": null,
    "object": "plan",
    "product": "prod_RgAH31Y4s4jvTx",
    "tiers_mode": null,
    "transform_usage": null,
    "trial_period_days": null,
    "usage_type": "licensed"
  },
  "quantity": 1,
  "schedule": null,
  "start_date": 1738205892,
  "status": "trialing",
  "test_clock": null,
  "transfer_data": null,
  "trial_end": 1738292292,
  "trial_settings": {
    "end_behavior": {
      "missing_payment_method": "create_invoice"
    }
  },
  "trial_start": 1738205892
}

customer.subscription.updated

{
  "application": null,
  "application_fee_percent": null,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null
  },
  "billing_cycle_anchor": 1738206457,
  "billing_cycle_anchor_config": null,
  "billing_thresholds": null,
  "cancel_at": null,
  "cancel_at_period_end": false,
  "canceled_at": null,
  "cancellation_details": {
    "comment": null,
    "feedback": null,
    "reason": null
  },
  "collection_method": "charge_automatically",
  "created": 1738206457,
  "currency": "usd",
  "current_period_end": 1740712057,
  "current_period_start": 1738206457,
  "customer": "cus_RgARGbtxLsUffh",
  "days_until_due": null,
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": null,
  "discount": null,
  "discounts": [],
  "ended_at": null,
  "id": "sub_1Qmo6PKl0vN6Bcw30T8IDKZO",
  "invoice_settings": {
    "account_tax_ids": null,
    "issuer": {
      "type": "self"
    }
  },
  "items": {
    "data": [
      {
        "billing_thresholds": null,
        "created": 1738206457,
        "discounts": [],
        "id": "si_RgARYF8fkijkVv",
        "metadata": {},
        "object": "subscription_item",
        "plan": {
          "active": true,
          "aggregate_usage": null,
          "amount": 1500,
          "amount_decimal": "1500",
          "billing_scheme": "per_unit",
          "created": 1738206456,
          "currency": "usd",
          "id": "price_1Qmo6OKl0vN6Bcw3jp1Kq88z",
          "interval": "month",
          "interval_count": 1,
          "livemode": false,
          "metadata": {},
          "meter": null,
          "nickname": null,
          "object": "plan",
          "product": "prod_RgARzQhtOtYf5L",
          "tiers_mode": null,
          "transform_usage": null,
          "trial_period_days": null,
          "usage_type": "licensed"
        },
        "price": {
          "active": true,
          "billing_scheme": "per_unit",
          "created": 1738206456,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1Qmo6OKl0vN6Bcw3jp1Kq88z",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgARzQhtOtYf5L",
          "recurring": {
            "aggregate_usage": null,
            "interval": "month",
            "interval_count": 1,
            "meter": null,
            "trial_period_days": null,
            "usage_type": "licensed"
          },
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "recurring",
          "unit_amount": 1500,
          "unit_amount_decimal": "1500"
        },
        "quantity": 1,
        "subscription": "sub_1Qmo6PKl0vN6Bcw30T8IDKZO",
        "tax_rates": []
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/subscription_items?subscription=sub_1Qmo6PKl0vN6Bcw30T8IDKZO"
  },
  "latest_invoice": "in_1Qmo6PKl0vN6Bcw3CCb2UGsv",
  "livemode": false,
  "metadata": {
    "foo": "bar"
  },
  "next_pending_invoice_item_invoice": null,
  "object": "subscription",
  "on_behalf_of": null,
  "pause_collection": null,
  "payment_settings": {
    "payment_method_options": null,
    "payment_method_types": null,
    "save_default_payment_method": "off"
  },
  "pending_invoice_item_interval": null,
  "pending_setup_intent": null,
  "pending_update": null,
  "plan": {
    "active": true,
    "aggregate_usage": null,
    "amount": 1500,
    "amount_decimal": "1500",
    "billing_scheme": "per_unit",
    "created": 1738206456,
    "currency": "usd",
    "id": "price_1Qmo6OKl0vN6Bcw3jp1Kq88z",
    "interval": "month",
    "interval_count": 1,
    "livemode": false,
    "metadata": {},
    "meter": null,
    "nickname": null,
    "object": "plan",
    "product": "prod_RgARzQhtOtYf5L",
    "tiers_mode": null,
    "transform_usage": null,
    "trial_period_days": null,
    "usage_type": "licensed"
  },
  "quantity": 1,
  "schedule": null,
  "start_date": 1738206457,
  "status": "active",
  "test_clock": null,
  "transfer_data": null,
  "trial_end": null,
  "trial_settings": {
    "end_behavior": {
      "missing_payment_method": "create_invoice"
    }
  },
  "trial_start": null
}

entitlements.active_entitlement_summary.updated

The event `entitlements.active_entitlement_summary.updated` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

invoice.created

{
  "account_country": "JP",
  "account_name": null,
  "account_tax_ids": null,
  "amount_due": 2000,
  "amount_paid": 0,
  "amount_remaining": 2000,
  "amount_shipping": 0,
  "application": null,
  "application_fee_amount": null,
  "attempt_count": 0,
  "attempted": false,
  "auto_advance": false,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null,
    "status": null
  },
  "automatically_finalizes_at": null,
  "billing_reason": "manual",
  "charge": null,
  "collection_method": "charge_automatically",
  "created": 1738206746,
  "currency": "usd",
  "custom_fields": null,
  "customer": "cus_RgAWOxTyLPEqo9",
  "customer_address": null,
  "customer_email": null,
  "customer_name": null,
  "customer_phone": null,
  "customer_shipping": null,
  "customer_tax_exempt": "none",
  "customer_tax_ids": [],
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": "(created by Stripe CLI)",
  "discount": null,
  "discounts": [],
  "due_date": null,
  "effective_at": null,
  "ending_balance": null,
  "footer": null,
  "from_invoice": null,
  "hosted_invoice_url": null,
  "id": "in_1QmoB4Kl0vN6Bcw338YvLY8T",
  "invoice_pdf": null,
  "issuer": {
    "type": "self"
  },
  "last_finalization_error": null,
  "latest_revision": null,
  "lines": {
    "data": [
      {
        "amount": 2000,
        "amount_excluding_tax": 2000,
        "currency": "usd",
        "description": "(created by Stripe CLI)",
        "discount_amounts": [],
        "discountable": true,
        "discounts": [],
        "id": "il_1QmoB4Kl0vN6Bcw3ueE3mSXQ",
        "invoice": "in_1QmoB4Kl0vN6Bcw338YvLY8T",
        "invoice_item": "ii_1QmoB4Kl0vN6Bcw3diB5PEKt",
        "livemode": false,
        "metadata": {},
        "object": "line_item",
        "period": {
          "end": 1738206746,
          "start": 1738206746
        },
        "plan": null,
        "pretax_credit_amounts": [],
        "price": {
          "active": false,
          "billing_scheme": "per_unit",
          "created": 1738206746,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmoB4Kl0vN6Bcw3jNdK6K3i",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAWNvVYHvYNim",
          "recurring": null,
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "one_time",
          "unit_amount": 2000,
          "unit_amount_decimal": "2000"
        },
        "proration": false,
        "proration_details": {
          "credited_items": null
        },
        "quantity": 1,
        "subscription": null,
        "tax_amounts": [],
        "tax_rates": [],
        "type": "invoiceitem",
        "unit_amount_excluding_tax": "2000"
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/invoices/in_1QmoB4Kl0vN6Bcw338YvLY8T/lines"
  },
  "livemode": false,
  "metadata": {},
  "next_payment_attempt": null,
  "number": null,
  "object": "invoice",
  "on_behalf_of": null,
  "paid": false,
  "paid_out_of_band": false,
  "payment_intent": null,
  "payment_settings": {
    "default_mandate": null,
    "payment_method_options": null,
    "payment_method_types": null
  },
  "period_end": 1738206746,
  "period_start": 1738206746,
  "post_payment_credit_notes_amount": 0,
  "pre_payment_credit_notes_amount": 0,
  "quote": null,
  "receipt_number": null,
  "rendering": {
    "amount_tax_display": null,
    "pdf": {
      "page_size": "auto"
    },
    "template": null,
    "template_version": null
  },
  "shipping_cost": null,
  "shipping_details": null,
  "starting_balance": 0,
  "statement_descriptor": null,
  "status": "draft",
  "status_transitions": {
    "finalized_at": null,
    "marked_uncollectible_at": null,
    "paid_at": null,
    "voided_at": null
  },
  "subscription": null,
  "subscription_details": {
    "metadata": null
  },
  "subtotal": 2000,
  "subtotal_excluding_tax": 2000,
  "tax": null,
  "test_clock": null,
  "total": 2000,
  "total_discount_amounts": [],
  "total_excluding_tax": 2000,
  "total_pretax_credit_amounts": [],
  "total_tax_amounts": [],
  "transfer_data": null,
  "webhooks_delivered_at": null
}

invoice.finalized

{
  "account_country": "JP",
  "account_name": null,
  "account_tax_ids": null,
  "amount_due": 2000,
  "amount_paid": 0,
  "amount_remaining": 2000,
  "amount_shipping": 0,
  "application": null,
  "application_fee_amount": null,
  "attempt_count": 0,
  "attempted": false,
  "auto_advance": false,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null,
    "status": null
  },
  "automatically_finalizes_at": null,
  "billing_reason": "manual",
  "charge": null,
  "collection_method": "charge_automatically",
  "created": 1738206784,
  "currency": "usd",
  "custom_fields": null,
  "customer": "cus_RgAWshtbC4uuwc",
  "customer_address": null,
  "customer_email": null,
  "customer_name": null,
  "customer_phone": null,
  "customer_shipping": null,
  "customer_tax_exempt": "none",
  "customer_tax_ids": [],
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": "(created by Stripe CLI)",
  "discount": null,
  "discounts": [],
  "due_date": null,
  "effective_at": 1738206785,
  "ending_balance": 0,
  "footer": null,
  "from_invoice": null,
  "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FXRmVPSmk2NTF1aHp5Y1lKc0I2b2FXT1ZzWmxzLDEyODc0NzU4Ng02000vrzVKCI?s=ap",
  "id": "in_1QmoBgKl0vN6Bcw3cPTDpRZ7",
  "invoice_pdf": "https://pay.stripe.com/invoice/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FXRmVPSmk2NTF1aHp5Y1lKc0I2b2FXT1ZzWmxzLDEyODc0NzU4Ng02000vrzVKCI/pdf?s=ap",
  "issuer": {
    "type": "self"
  },
  "last_finalization_error": null,
  "latest_revision": null,
  "lines": {
    "data": [
      {
        "amount": 2000,
        "amount_excluding_tax": 2000,
        "currency": "usd",
        "description": "(created by Stripe CLI)",
        "discount_amounts": [],
        "discountable": true,
        "discounts": [],
        "id": "il_1QmoBgKl0vN6Bcw3oWuJ9qak",
        "invoice": "in_1QmoBgKl0vN6Bcw3cPTDpRZ7",
        "invoice_item": "ii_1QmoBgKl0vN6Bcw3c54clJjJ",
        "livemode": false,
        "metadata": {},
        "object": "line_item",
        "period": {
          "end": 1738206784,
          "start": 1738206784
        },
        "plan": null,
        "pretax_credit_amounts": [],
        "price": {
          "active": false,
          "billing_scheme": "per_unit",
          "created": 1738206746,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmoB4Kl0vN6Bcw3jNdK6K3i",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAWNvVYHvYNim",
          "recurring": null,
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "one_time",
          "unit_amount": 2000,
          "unit_amount_decimal": "2000"
        },
        "proration": false,
        "proration_details": {
          "credited_items": null
        },
        "quantity": 1,
        "subscription": null,
        "tax_amounts": [],
        "tax_rates": [],
        "type": "invoiceitem",
        "unit_amount_excluding_tax": "2000"
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/invoices/in_1QmoBgKl0vN6Bcw3cPTDpRZ7/lines"
  },
  "livemode": false,
  "metadata": {},
  "next_payment_attempt": null,
  "number": "8A764E75-0001",
  "object": "invoice",
  "on_behalf_of": null,
  "paid": false,
  "paid_out_of_band": false,
  "payment_intent": "pi_3QmoBhKl0vN6Bcw30XmB7Z01",
  "payment_settings": {
    "default_mandate": null,
    "payment_method_options": null,
    "payment_method_types": null
  },
  "period_end": 1738206784,
  "period_start": 1738206784,
  "post_payment_credit_notes_amount": 0,
  "pre_payment_credit_notes_amount": 0,
  "quote": null,
  "receipt_number": null,
  "rendering": {
    "amount_tax_display": null,
    "pdf": {
      "page_size": "letter"
    },
    "template": null,
    "template_version": null
  },
  "shipping_cost": null,
  "shipping_details": null,
  "starting_balance": 0,
  "statement_descriptor": null,
  "status": "open",
  "status_transitions": {
    "finalized_at": 1738206785,
    "marked_uncollectible_at": null,
    "paid_at": null,
    "voided_at": null
  },
  "subscription": null,
  "subscription_details": {
    "metadata": null
  },
  "subtotal": 2000,
  "subtotal_excluding_tax": 2000,
  "tax": null,
  "test_clock": null,
  "total": 2000,
  "total_discount_amounts": [],
  "total_excluding_tax": 2000,
  "total_pretax_credit_amounts": [],
  "total_tax_amounts": [],
  "transfer_data": null,
  "webhooks_delivered_at": null
}

invoice.finalization_failed

The event `invoice.finalization_failed` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

invoice.paid

{
  "account_country": "JP",
  "account_name": null,
  "account_tax_ids": null,
  "amount_due": 2000,
  "amount_paid": 2000,
  "amount_remaining": 0,
  "amount_shipping": 0,
  "application": null,
  "application_fee_amount": null,
  "attempt_count": 1,
  "attempted": true,
  "auto_advance": false,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null,
    "status": null
  },
  "automatically_finalizes_at": null,
  "billing_reason": "manual",
  "charge": "ch_3QmoD0Kl0vN6Bcw31ZygYztH",
  "collection_method": "charge_automatically",
  "created": 1738206865,
  "currency": "usd",
  "custom_fields": null,
  "customer": "cus_RgAYcEkDP74nv6",
  "customer_address": null,
  "customer_email": null,
  "customer_name": null,
  "customer_phone": null,
  "customer_shipping": null,
  "customer_tax_exempt": "none",
  "customer_tax_ids": [],
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": "(created by Stripe CLI)",
  "discount": null,
  "discounts": [],
  "due_date": null,
  "effective_at": 1738206866,
  "ending_balance": 0,
  "footer": null,
  "from_invoice": null,
  "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FZTDhxd0pLM0xUVWE2VHRXZGMyWEZLQWU4d001LDEyODc0NzY2OA0200KGMeIv8S?s=ap",
  "id": "in_1QmoCzKl0vN6Bcw3k8NCBeGR",
  "invoice_pdf": "https://pay.stripe.com/invoice/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FZTDhxd0pLM0xUVWE2VHRXZGMyWEZLQWU4d001LDEyODc0NzY2OA0200KGMeIv8S/pdf?s=ap",
  "issuer": {
    "type": "self"
  },
  "last_finalization_error": null,
  "latest_revision": null,
  "lines": {
    "data": [
      {
        "amount": 2000,
        "amount_excluding_tax": 2000,
        "currency": "usd",
        "description": "(created by Stripe CLI)",
        "discount_amounts": [],
        "discountable": true,
        "discounts": [],
        "id": "il_1QmoCzKl0vN6Bcw3a5jQSt66",
        "invoice": "in_1QmoCzKl0vN6Bcw3k8NCBeGR",
        "invoice_item": "ii_1QmoCzKl0vN6Bcw3bohHB2cU",
        "livemode": false,
        "metadata": {},
        "object": "line_item",
        "period": {
          "end": 1738206865,
          "start": 1738206865
        },
        "plan": null,
        "pretax_credit_amounts": [],
        "price": {
          "active": false,
          "billing_scheme": "per_unit",
          "created": 1738206746,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmoB4Kl0vN6Bcw3jNdK6K3i",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAWNvVYHvYNim",
          "recurring": null,
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "one_time",
          "unit_amount": 2000,
          "unit_amount_decimal": "2000"
        },
        "proration": false,
        "proration_details": {
          "credited_items": null
        },
        "quantity": 1,
        "subscription": null,
        "tax_amounts": [],
        "tax_rates": [],
        "type": "invoiceitem",
        "unit_amount_excluding_tax": "2000"
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/invoices/in_1QmoCzKl0vN6Bcw3k8NCBeGR/lines"
  },
  "livemode": false,
  "metadata": {},
  "next_payment_attempt": null,
  "number": "08D9127E-0001",
  "object": "invoice",
  "on_behalf_of": null,
  "paid": true,
  "paid_out_of_band": false,
  "payment_intent": "pi_3QmoD0Kl0vN6Bcw31NTa7ijY",
  "payment_settings": {
    "default_mandate": null,
    "payment_method_options": null,
    "payment_method_types": null
  },
  "period_end": 1738206865,
  "period_start": 1738206865,
  "post_payment_credit_notes_amount": 0,
  "pre_payment_credit_notes_amount": 0,
  "quote": null,
  "receipt_number": null,
  "rendering": {
    "amount_tax_display": null,
    "pdf": {
      "page_size": "letter"
    },
    "template": null,
    "template_version": null
  },
  "shipping_cost": null,
  "shipping_details": null,
  "starting_balance": 0,
  "statement_descriptor": null,
  "status": "paid",
  "status_transitions": {
    "finalized_at": 1738206866,
    "marked_uncollectible_at": null,
    "paid_at": 1738206866,
    "voided_at": null
  },
  "subscription": null,
  "subscription_details": {
    "metadata": null
  },
  "subtotal": 2000,
  "subtotal_excluding_tax": 2000,
  "tax": null,
  "test_clock": null,
  "total": 2000,
  "total_discount_amounts": [],
  "total_excluding_tax": 2000,
  "total_pretax_credit_amounts": [],
  "total_tax_amounts": [],
  "transfer_data": null,
  "webhooks_delivered_at": null
}

invoice.payment_action_required

{
  "account_country": "JP",
  "account_name": null,
  "account_tax_ids": null,
  "amount_due": 2000,
  "amount_paid": 0,
  "amount_remaining": 2000,
  "amount_shipping": 0,
  "application": null,
  "application_fee_amount": null,
  "attempt_count": 1,
  "attempted": true,
  "auto_advance": false,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null,
    "status": null
  },
  "automatically_finalizes_at": null,
  "billing_reason": "manual",
  "charge": "ch_3QmoDmKl0vN6Bcw318VpPIXE",
  "collection_method": "charge_automatically",
  "created": 1738206913,
  "currency": "usd",
  "custom_fields": null,
  "customer": "cus_RgAYHIDlbJlxpC",
  "customer_address": null,
  "customer_email": null,
  "customer_name": null,
  "customer_phone": null,
  "customer_shipping": null,
  "customer_tax_exempt": "none",
  "customer_tax_ids": [],
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": "(created by Stripe CLI)",
  "discount": null,
  "discounts": [],
  "due_date": null,
  "effective_at": 1738206914,
  "ending_balance": 0,
  "footer": null,
  "from_invoice": null,
  "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FZVE5JeEY5TzhsbUEzdmcwNUNZemFIZ0YxQkZDLDEyODc0NzcxNw02002vV9xqSW?s=ap",
  "id": "in_1QmoDlKl0vN6Bcw3oKGelIUX",
  "invoice_pdf": "https://pay.stripe.com/invoice/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FZVE5JeEY5TzhsbUEzdmcwNUNZemFIZ0YxQkZDLDEyODc0NzcxNw02002vV9xqSW/pdf?s=ap",
  "issuer": {
    "type": "self"
  },
  "last_finalization_error": null,
  "latest_revision": null,
  "lines": {
    "data": [
      {
        "amount": 2000,
        "amount_excluding_tax": 2000,
        "currency": "usd",
        "description": "(created by Stripe CLI)",
        "discount_amounts": [],
        "discountable": true,
        "discounts": [],
        "id": "il_1QmoDlKl0vN6Bcw3XQgzO0Xf",
        "invoice": "in_1QmoDlKl0vN6Bcw3oKGelIUX",
        "invoice_item": "ii_1QmoDlKl0vN6Bcw3v8QrkGAg",
        "livemode": false,
        "metadata": {},
        "object": "line_item",
        "period": {
          "end": 1738206913,
          "start": 1738206913
        },
        "plan": null,
        "pretax_credit_amounts": [],
        "price": {
          "active": false,
          "billing_scheme": "per_unit",
          "created": 1738206746,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmoB4Kl0vN6Bcw3jNdK6K3i",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAWNvVYHvYNim",
          "recurring": null,
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "one_time",
          "unit_amount": 2000,
          "unit_amount_decimal": "2000"
        },
        "proration": false,
        "proration_details": {
          "credited_items": null
        },
        "quantity": 1,
        "subscription": null,
        "tax_amounts": [],
        "tax_rates": [],
        "type": "invoiceitem",
        "unit_amount_excluding_tax": "2000"
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/invoices/in_1QmoDlKl0vN6Bcw3oKGelIUX/lines"
  },
  "livemode": false,
  "metadata": {},
  "next_payment_attempt": null,
  "number": "C8D378E2-0001",
  "object": "invoice",
  "on_behalf_of": null,
  "paid": false,
  "paid_out_of_band": false,
  "payment_intent": "pi_3QmoDmKl0vN6Bcw31tX5GuEi",
  "payment_settings": {
    "default_mandate": null,
    "payment_method_options": null,
    "payment_method_types": null
  },
  "period_end": 1738206913,
  "period_start": 1738206913,
  "post_payment_credit_notes_amount": 0,
  "pre_payment_credit_notes_amount": 0,
  "quote": null,
  "receipt_number": null,
  "rendering": {
    "amount_tax_display": null,
    "pdf": {
      "page_size": "letter"
    },
    "template": null,
    "template_version": null
  },
  "shipping_cost": null,
  "shipping_details": null,
  "starting_balance": 0,
  "statement_descriptor": null,
  "status": "open",
  "status_transitions": {
    "finalized_at": 1738206914,
    "marked_uncollectible_at": null,
    "paid_at": null,
    "voided_at": null
  },
  "subscription": null,
  "subscription_details": {
    "metadata": null
  },
  "subtotal": 2000,
  "subtotal_excluding_tax": 2000,
  "tax": null,
  "test_clock": null,
  "total": 2000,
  "total_discount_amounts": [],
  "total_excluding_tax": 2000,
  "total_pretax_credit_amounts": [],
  "total_tax_amounts": [],
  "transfer_data": null,
  "webhooks_delivered_at": null
}

invoice.payment_failed

{
  "account_country": "JP",
  "account_name": null,
  "account_tax_ids": null,
  "amount_due": 2000,
  "amount_paid": 0,
  "amount_remaining": 2000,
  "amount_shipping": 0,
  "application": null,
  "application_fee_amount": null,
  "attempt_count": 1,
  "attempted": true,
  "auto_advance": false,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null,
    "status": null
  },
  "automatically_finalizes_at": null,
  "billing_reason": "manual",
  "charge": "ch_3QmoEVKl0vN6Bcw31hfMu7GN",
  "collection_method": "charge_automatically",
  "created": 1738206958,
  "currency": "usd",
  "custom_fields": null,
  "customer": "cus_RgAZzjKNU1OHzL",
  "customer_address": null,
  "customer_email": null,
  "customer_name": null,
  "customer_phone": null,
  "customer_shipping": null,
  "customer_tax_exempt": "none",
  "customer_tax_ids": [],
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": "(created by Stripe CLI)",
  "discount": null,
  "discounts": [],
  "due_date": null,
  "effective_at": 1738206959,
  "ending_balance": 0,
  "footer": null,
  "from_invoice": null,
  "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FaWkJYdVhDcjhQaWFObG5PdDNmODNjeG1lU0F2LDEyODc0Nzc2MQ0200Y5h1FCpf?s=ap",
  "id": "in_1QmoEUKl0vN6Bcw3vkFzZnkz",
  "invoice_pdf": "https://pay.stripe.com/invoice/acct_1QeY9UKl0vN6Bcw3/test_YWNjdF8xUWVZOVVLbDB2TjZCY3czLF9SZ0FaWkJYdVhDcjhQaWFObG5PdDNmODNjeG1lU0F2LDEyODc0Nzc2MQ0200Y5h1FCpf/pdf?s=ap",
  "issuer": {
    "type": "self"
  },
  "last_finalization_error": null,
  "latest_revision": null,
  "lines": {
    "data": [
      {
        "amount": 2000,
        "amount_excluding_tax": 2000,
        "currency": "usd",
        "description": "(created by Stripe CLI)",
        "discount_amounts": [],
        "discountable": true,
        "discounts": [],
        "id": "il_1QmoEUKl0vN6Bcw32tWK5ToQ",
        "invoice": "in_1QmoEUKl0vN6Bcw3vkFzZnkz",
        "invoice_item": "ii_1QmoEUKl0vN6Bcw30Fx0lPMS",
        "livemode": false,
        "metadata": {},
        "object": "line_item",
        "period": {
          "end": 1738206958,
          "start": 1738206958
        },
        "plan": null,
        "pretax_credit_amounts": [],
        "price": {
          "active": false,
          "billing_scheme": "per_unit",
          "created": 1738206746,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmoB4Kl0vN6Bcw3jNdK6K3i",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAWNvVYHvYNim",
          "recurring": null,
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "one_time",
          "unit_amount": 2000,
          "unit_amount_decimal": "2000"
        },
        "proration": false,
        "proration_details": {
          "credited_items": null
        },
        "quantity": 1,
        "subscription": null,
        "tax_amounts": [],
        "tax_rates": [],
        "type": "invoiceitem",
        "unit_amount_excluding_tax": "2000"
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/invoices/in_1QmoEUKl0vN6Bcw3vkFzZnkz/lines"
  },
  "livemode": false,
  "metadata": {},
  "next_payment_attempt": null,
  "number": "120AA3EE-0001",
  "object": "invoice",
  "on_behalf_of": null,
  "paid": false,
  "paid_out_of_band": false,
  "payment_intent": "pi_3QmoEVKl0vN6Bcw31wLPvdkU",
  "payment_settings": {
    "default_mandate": null,
    "payment_method_options": null,
    "payment_method_types": null
  },
  "period_end": 1738206958,
  "period_start": 1738206958,
  "post_payment_credit_notes_amount": 0,
  "pre_payment_credit_notes_amount": 0,
  "quote": null,
  "receipt_number": null,
  "rendering": {
    "amount_tax_display": null,
    "pdf": {
      "page_size": "letter"
    },
    "template": null,
    "template_version": null
  },
  "shipping_cost": null,
  "shipping_details": null,
  "starting_balance": 0,
  "statement_descriptor": null,
  "status": "open",
  "status_transitions": {
    "finalized_at": 1738206959,
    "marked_uncollectible_at": null,
    "paid_at": null,
    "voided_at": null
  },
  "subscription": null,
  "subscription_details": {
    "metadata": null
  },
  "subtotal": 2000,
  "subtotal_excluding_tax": 2000,
  "tax": null,
  "test_clock": null,
  "total": 2000,
  "total_discount_amounts": [],
  "total_excluding_tax": 2000,
  "total_pretax_credit_amounts": [],
  "total_tax_amounts": [],
  "transfer_data": null,
  "webhooks_delivered_at": null
}

invoice.upcoming

The event `invoice.upcoming` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

invoice.updated

{
  "account_country": "JP",
  "account_name": null,
  "account_tax_ids": null,
  "amount_due": 2000,
  "amount_paid": 0,
  "amount_remaining": 2000,
  "amount_shipping": 0,
  "application": null,
  "application_fee_amount": null,
  "attempt_count": 0,
  "attempted": false,
  "auto_advance": false,
  "automatic_tax": {
    "disabled_reason": null,
    "enabled": false,
    "liability": null,
    "status": null
  },
  "automatically_finalizes_at": null,
  "billing_reason": "manual",
  "charge": null,
  "collection_method": "charge_automatically",
  "created": 1738207033,
  "currency": "usd",
  "custom_fields": null,
  "customer": "cus_RgAaeucgz6Okhw",
  "customer_address": null,
  "customer_email": null,
  "customer_name": null,
  "customer_phone": null,
  "customer_shipping": null,
  "customer_tax_exempt": "none",
  "customer_tax_ids": [],
  "default_payment_method": null,
  "default_source": null,
  "default_tax_rates": [],
  "description": "(created by Stripe CLI)",
  "discount": null,
  "discounts": [],
  "due_date": null,
  "effective_at": null,
  "ending_balance": null,
  "footer": null,
  "from_invoice": null,
  "hosted_invoice_url": null,
  "id": "in_1QmoFhKl0vN6Bcw3DWwZdFdT",
  "invoice_pdf": null,
  "issuer": {
    "type": "self"
  },
  "last_finalization_error": null,
  "latest_revision": null,
  "lines": {
    "data": [
      {
        "amount": 2000,
        "amount_excluding_tax": 2000,
        "currency": "usd",
        "description": "(created by Stripe CLI)",
        "discount_amounts": [],
        "discountable": true,
        "discounts": [],
        "id": "il_1QmoFhKl0vN6Bcw33J3C5b4A",
        "invoice": "in_1QmoFhKl0vN6Bcw3DWwZdFdT",
        "invoice_item": "ii_1QmoFhKl0vN6Bcw3Ia2dZKUc",
        "livemode": false,
        "metadata": {},
        "object": "line_item",
        "period": {
          "end": 1738207033,
          "start": 1738207033
        },
        "plan": null,
        "pretax_credit_amounts": [],
        "price": {
          "active": false,
          "billing_scheme": "per_unit",
          "created": 1738206746,
          "currency": "usd",
          "custom_unit_amount": null,
          "id": "price_1QmoB4Kl0vN6Bcw3jNdK6K3i",
          "livemode": false,
          "lookup_key": null,
          "metadata": {},
          "nickname": null,
          "object": "price",
          "product": "prod_RgAWNvVYHvYNim",
          "recurring": null,
          "tax_behavior": "unspecified",
          "tiers_mode": null,
          "transform_quantity": null,
          "type": "one_time",
          "unit_amount": 2000,
          "unit_amount_decimal": "2000"
        },
        "proration": false,
        "proration_details": {
          "credited_items": null
        },
        "quantity": 1,
        "subscription": null,
        "tax_amounts": [],
        "tax_rates": [],
        "type": "invoiceitem",
        "unit_amount_excluding_tax": "2000"
      }
    ],
    "has_more": false,
    "object": "list",
    "total_count": 1,
    "url": "/v1/invoices/in_1QmoFhKl0vN6Bcw3DWwZdFdT/lines"
  },
  "livemode": false,
  "metadata": {
    "foo": "bar"
  },
  "next_payment_attempt": null,
  "number": null,
  "object": "invoice",
  "on_behalf_of": null,
  "paid": false,
  "paid_out_of_band": false,
  "payment_intent": null,
  "payment_settings": {
    "default_mandate": null,
    "payment_method_options": null,
    "payment_method_types": null
  },
  "period_end": 1738207033,
  "period_start": 1738207033,
  "post_payment_credit_notes_amount": 0,
  "pre_payment_credit_notes_amount": 0,
  "quote": null,
  "receipt_number": null,
  "rendering": {
    "amount_tax_display": null,
    "pdf": {
      "page_size": "auto"
    },
    "template": null,
    "template_version": null
  },
  "shipping_cost": null,
  "shipping_details": null,
  "starting_balance": 0,
  "statement_descriptor": null,
  "status": "draft",
  "status_transitions": {
    "finalized_at": null,
    "marked_uncollectible_at": null,
    "paid_at": null,
    "voided_at": null
  },
  "subscription": null,
  "subscription_details": {
    "metadata": null
  },
  "subtotal": 2000,
  "subtotal_excluding_tax": 2000,
  "tax": null,
  "test_clock": null,
  "total": 2000,
  "total_discount_amounts": [],
  "total_excluding_tax": 2000,
  "total_pretax_credit_amounts": [],
  "total_tax_amounts": [],
  "transfer_data": null,
  "webhooks_delivered_at": null
}

payment_intent.created

{
  "amount": 2000,
  "amount_capturable": 0,
  "amount_details": {
    "tip": {}
  },
  "amount_received": 0,
  "application": null,
  "application_fee_amount": null,
  "automatic_payment_methods": null,
  "canceled_at": null,
  "cancellation_reason": null,
  "capture_method": "automatic_async",
  "client_secret": "pi_3QmoGCKl0vN6Bcw30VqtdcwV_secret_7laRXav7DTqJUwIhLHGQq6FYx",
  "confirmation_method": "automatic",
  "created": 1738207064,
  "currency": "usd",
  "customer": null,
  "description": "(created by Stripe CLI)",
  "id": "pi_3QmoGCKl0vN6Bcw30VqtdcwV",
  "invoice": null,
  "last_payment_error": null,
  "latest_charge": null,
  "livemode": false,
  "metadata": {},
  "next_action": null,
  "object": "payment_intent",
  "on_behalf_of": null,
  "payment_method": null,
  "payment_method_configuration_details": null,
  "payment_method_options": {
    "card": {
      "installments": null,
      "mandate_options": null,
      "network": null,
      "request_three_d_secure": "automatic"
    }
  },
  "payment_method_types": [
    "card"
  ],
  "processing": null,
  "receipt_email": null,
  "review": null,
  "setup_future_usage": null,
  "shipping": null,
  "source": null,
  "statement_descriptor": null,
  "statement_descriptor_suffix": null,
  "status": "requires_payment_method",
  "transfer_data": null,
  "transfer_group": null
}

payment_intent.succeeded

{
  "amount": 2000,
  "amount_capturable": 0,
  "amount_details": {
    "tip": {}
  },
  "amount_received": 2000,
  "application": null,
  "application_fee_amount": null,
  "automatic_payment_methods": null,
  "canceled_at": null,
  "cancellation_reason": null,
  "capture_method": "automatic_async",
  "client_secret": "pi_3QmoGsKl0vN6Bcw31EAI85tx_secret_3kysMiFIqDHU0NBCqCUHPdr1Y",
  "confirmation_method": "automatic",
  "created": 1738207106,
  "currency": "usd",
  "customer": null,
  "description": "(created by Stripe CLI)",
  "id": "pi_3QmoGsKl0vN6Bcw31EAI85tx",
  "invoice": null,
  "last_payment_error": null,
  "latest_charge": "ch_3QmoGsKl0vN6Bcw315v2GxWK",
  "livemode": false,
  "metadata": {},
  "next_action": null,
  "object": "payment_intent",
  "on_behalf_of": null,
  "payment_method": "pm_1QmoGsKl0vN6Bcw3ymbcIBFP",
  "payment_method_configuration_details": null,
  "payment_method_options": {
    "card": {
      "installments": null,
      "mandate_options": null,
      "network": null,
      "request_three_d_secure": "automatic"
    }
  },
  "payment_method_types": [
    "card"
  ],
  "processing": null,
  "receipt_email": null,
  "review": null,
  "setup_future_usage": null,
  "shipping": {
    "address": {
      "city": "San Francisco",
      "country": "US",
      "line1": "510 Townsend St",
      "line2": null,
      "postal_code": "94103",
      "state": "CA"
    },
    "carrier": null,
    "name": "Jenny Rosen",
    "phone": null,
    "tracking_number": null
  },
  "source": null,
  "statement_descriptor": null,
  "statement_descriptor_suffix": null,
  "status": "succeeded",
  "transfer_data": null,
  "transfer_group": null
}

subscription_schedule.aborted

The event `subscription_schedule.aborted` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

subscription_schedule.canceled

{
  "application": null,
  "canceled_at": 1738207190,
  "completed_at": null,
  "created": 1738207190,
  "current_phase": null,
  "customer": "cus_RgAdrpTqLqw8fk",
  "default_settings": {
    "application_fee_percent": null,
    "automatic_tax": {
      "disabled_reason": null,
      "enabled": false,
      "liability": null
    },
    "billing_cycle_anchor": "automatic",
    "billing_thresholds": null,
    "collection_method": "charge_automatically",
    "default_payment_method": null,
    "default_source": null,
    "description": null,
    "invoice_settings": {
      "account_tax_ids": null,
      "days_until_due": null,
      "issuer": {
        "type": "self"
      }
    },
    "on_behalf_of": null,
    "transfer_data": null
  },
  "end_behavior": "release",
  "id": "sub_sched_1QmoIEKl0vN6Bcw35VGVSNMp",
  "livemode": false,
  "metadata": {},
  "object": "subscription_schedule",
  "phases": [
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1740712790,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoIDKl0vN6Bcw3WgWw0x7h",
          "price": "price_1QmoIDKl0vN6Bcw3WgWw0x7h",
          "quantity": 1,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1738207190,
      "transfer_data": null,
      "trial_end": null
    },
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1743304790,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoIDKl0vN6Bcw3WgWw0x7h",
          "price": "price_1QmoIDKl0vN6Bcw3WgWw0x7h",
          "quantity": 2,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1740712790,
      "transfer_data": null,
      "trial_end": null
    }
  ],
  "released_at": null,
  "released_subscription": null,
  "renewal_interval": null,
  "status": "canceled",
  "subscription": "sub_1QmoIEKl0vN6Bcw3VRIJZXuV",
  "test_clock": null
}

subscription_schedule.completed

The event `subscription_schedule.completed` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

subscription_schedule.created

{
  "application": null,
  "canceled_at": null,
  "completed_at": null,
  "created": 1738207265,
  "current_phase": {
    "end_date": 1740712865,
    "start_date": 1738207265
  },
  "customer": "cus_RgAe4T9G2xPtW1",
  "default_settings": {
    "application_fee_percent": null,
    "automatic_tax": {
      "disabled_reason": null,
      "enabled": false,
      "liability": null
    },
    "billing_cycle_anchor": "automatic",
    "billing_thresholds": null,
    "collection_method": "charge_automatically",
    "default_payment_method": null,
    "default_source": null,
    "description": null,
    "invoice_settings": {
      "account_tax_ids": null,
      "days_until_due": null,
      "issuer": {
        "type": "self"
      }
    },
    "on_behalf_of": null,
    "transfer_data": null
  },
  "end_behavior": "release",
  "id": "sub_sched_1QmoJRKl0vN6Bcw3F2NjZqAU",
  "livemode": false,
  "metadata": {},
  "object": "subscription_schedule",
  "phases": [
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1740712865,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoJRKl0vN6Bcw3QW0ez25h",
          "price": "price_1QmoJRKl0vN6Bcw3QW0ez25h",
          "quantity": 1,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1738207265,
      "transfer_data": null,
      "trial_end": null
    },
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1743304865,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoJRKl0vN6Bcw3QW0ez25h",
          "price": "price_1QmoJRKl0vN6Bcw3QW0ez25h",
          "quantity": 2,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1740712865,
      "transfer_data": null,
      "trial_end": null
    }
  ],
  "released_at": null,
  "released_subscription": null,
  "renewal_interval": null,
  "status": "active",
  "subscription": "sub_1QmoJRKl0vN6Bcw3JoPMLXJO",
  "test_clock": null
}

subscription_schedule.expiring

The event `subscription_schedule.expiring` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

subscription_schedule.released

{
  "application": null,
  "canceled_at": null,
  "completed_at": null,
  "created": 1738207360,
  "current_phase": null,
  "customer": "cus_RgAgJGgfgcNxlw",
  "default_settings": {
    "application_fee_percent": null,
    "automatic_tax": {
      "disabled_reason": null,
      "enabled": false,
      "liability": null
    },
    "billing_cycle_anchor": "automatic",
    "billing_thresholds": null,
    "collection_method": "charge_automatically",
    "default_payment_method": null,
    "default_source": null,
    "description": null,
    "invoice_settings": {
      "account_tax_ids": null,
      "days_until_due": null,
      "issuer": {
        "type": "self"
      }
    },
    "on_behalf_of": null,
    "transfer_data": null
  },
  "end_behavior": "release",
  "id": "sub_sched_1QmoKyKl0vN6Bcw30LGjJMk4",
  "livemode": false,
  "metadata": {},
  "object": "subscription_schedule",
  "phases": [
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1740712960,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoKyKl0vN6Bcw34h7w4wqq",
          "price": "price_1QmoKyKl0vN6Bcw34h7w4wqq",
          "quantity": 1,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1738207360,
      "transfer_data": null,
      "trial_end": null
    },
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1743304960,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoKyKl0vN6Bcw34h7w4wqq",
          "price": "price_1QmoKyKl0vN6Bcw34h7w4wqq",
          "quantity": 2,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1740712960,
      "transfer_data": null,
      "trial_end": null
    }
  ],
  "released_at": 1738207361,
  "released_subscription": "sub_1QmoKzKl0vN6Bcw3pcNp3GHb",
  "renewal_interval": null,
  "status": "released",
  "subscription": null,
  "test_clock": null
}

subscription_schedule.updated

{
  "application": null,
  "canceled_at": null,
  "completed_at": null,
  "created": 1738207403,
  "current_phase": {
    "end_date": 1740713003,
    "start_date": 1738207403
  },
  "customer": "cus_RgAhheOOT9Nm80",
  "default_settings": {
    "application_fee_percent": null,
    "automatic_tax": {
      "disabled_reason": null,
      "enabled": false,
      "liability": null
    },
    "billing_cycle_anchor": "automatic",
    "billing_thresholds": null,
    "collection_method": "charge_automatically",
    "default_payment_method": null,
    "default_source": null,
    "description": null,
    "invoice_settings": {
      "account_tax_ids": null,
      "days_until_due": null,
      "issuer": {
        "type": "self"
      }
    },
    "on_behalf_of": null,
    "transfer_data": null
  },
  "end_behavior": "release",
  "id": "sub_sched_1QmoLfKl0vN6Bcw36y6EdBMu",
  "livemode": false,
  "metadata": {
    "foo": "bar"
  },
  "object": "subscription_schedule",
  "phases": [
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1740713003,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoLfKl0vN6Bcw37Lpt58gq",
          "price": "price_1QmoLfKl0vN6Bcw37Lpt58gq",
          "quantity": 1,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1738207403,
      "transfer_data": null,
      "trial_end": null
    },
    {
      "add_invoice_items": [],
      "application_fee_percent": null,
      "billing_cycle_anchor": null,
      "billing_thresholds": null,
      "collection_method": null,
      "coupon": null,
      "currency": "usd",
      "default_payment_method": null,
      "default_tax_rates": [],
      "description": null,
      "discounts": [],
      "end_date": 1743305003,
      "invoice_settings": null,
      "items": [
        {
          "billing_thresholds": null,
          "discounts": [],
          "metadata": {},
          "plan": "price_1QmoLfKl0vN6Bcw37Lpt58gq",
          "price": "price_1QmoLfKl0vN6Bcw37Lpt58gq",
          "quantity": 2,
          "tax_rates": []
        }
      ],
      "metadata": {},
      "on_behalf_of": null,
      "proration_behavior": "create_prorations",
      "start_date": 1740713003,
      "transfer_data": null,
      "trial_end": null
    }
  ],
  "released_at": null,
  "released_subscription": null,
  "renewal_interval": null,
  "status": "active",
  "subscription": "sub_1QmoLfKl0vN6Bcw3nEdk3FJP",
  "test_clock": null
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?