Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_stripe: Drop prior-test events from Event.list fixtures.
Aman Agrawal73813ab2f9dd
diff --git a/corporate/lib/test_stripe_class.py b/corporate/lib/test_stripe_class.pyindex c661090a602..5ac68808af4 100644--- a/corporate/lib/test_stripe_class.py+++ b/corporate/lib/test_stripe_class.py@@ -1,3 +1,34 @@+"""Stripe billing class and test fixture generation++Record-and-replay fixture harness: ``mock_stripe`` intercepts every+``stripe.*`` call and either reads a saved JSON fixture (default,+offline) or hits the real Stripe test network (when+``--generate-stripe-fixtures`` is passed).++Fixtures live in ``corporate/tests/stripe_fixtures/``, one file+per call, named ``<test>--<Class>.<method>.<call_count>.json``+(e.g. ``upgrade_by_card--Customer.create.1.json``).++After each test, ``normalize_fixture_data`` rewrites every saved+fixture in place to collapse per-run variance (ids, timestamps, uuids,+etc.) so regenerating fixtures produces zero diff. See+``FIXTURE_NORMALIZE_REAL_TIMESTAMP_RE`` for how Stripe-generated+timestamps are distinguished from test-supplied 2012 ones.++Prior-test events, that Stripe finalizes after our cursor pin, are+dropped during normalization: their ``data.object.customer`` matches+``cus_UNRECORDED`` (no recorded ``Customer.create``) while our test's+customer matches the fixture file name.++To regenerate fixtures for a single test::++ ./tools/test-backend --generate-stripe-fixtures \\+ corporate.tests.test_stripe.StripeTest.test_foo++Requires ``stripe_secret_key`` for a Stripe sandbox account set in+``zproject/dev-secrets.conf``.+"""+import jsonimport operatorimport os@@ -223,10 +254,18 @@ def normalize_fixture_data(decorated_function: CallableT) -> None: # nocoverager'"account_name": "[^"]+"': '"account_name": "NORMALIZED"',}- # We'll replace cus_D7OT2jf5YAtZQ2 with something like cus_NORMALIZED0001+ # Customer IDs whose ``Customer.create`` we never recorded get the+ # ``cus_UNRECORDED`` suffix as the ``Event.list`` check below uses+ # that exact suffix to filter prior-test customers' webhook events.+ # Other ID placeholders use a generic ``<prefix>_NORMALIZED``, as+ # there's no load-bearing meaning and just a "this ID was redacted"+ # marker is sufficient. Customer IDs we did record are re-replaced+ # with their fixture filename by the ``"id":`` pass below.pattern_translations.update({- rf"{prefix}_[A-Za-z0-9]{{{length}}}": f"{prefix}_NORMALIZED"+ rf"{prefix}_[A-Za-z0-9]{{{length}}}": (+ f"{prefix}_UNRECORDED" if prefix == "cus" else f"{prefix}_NORMALIZED"+ )for prefix, length in id_lengths})@@ -295,6 +334,31 @@ def normalize_fixture_data(decorated_function: CallableT) -> None: # nocoverage# Unix timestampsfile_content = re.sub(FIXTURE_NORMALIZE_REAL_TIMESTAMP_RE, ": 1000000000", file_content)+ # Stripe returns events with the same ``created`` second in+ # non-deterministic order across runs. Sort the ``data`` array+ # by normalized-event content so the fixture is byte-stable.+ # Drop any event whose ``data.object.customer`` is+ # ``cus_UNRECORDED`` (i.e., the placeholder for any customer+ # we never recorded a ``Customer.create`` for), which for+ # ``Event.list`` means a prior-test customer that Stripe+ # finalized a webhook for after we anchored our cursor (and the+ # count of such leaked events varies regen to regen). The+ # current test's customer is re-replaced with the file-name+ # test string, so the check unambiguously distinguishes the two.+ if re.search(r"--Event\.list\.\d+\.json$", fixture_file):+ fixture_data = json.loads(file_content)+ fixture_data["data"] = sorted(+ (+ e+ for e in fixture_data["data"]+ if not (e.get("data", {}).get("object") or {})+ .get("customer", "")+ .endswith("_UNRECORDED")+ ),+ key=lambda e: json.dumps(e, sort_keys=True),+ )+ file_content = json.dumps(fixture_data, indent=2, sort_keys=True) + "\n"+with open(fixture_file, "w") as f:f.write(file_content)diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.jsonindex ffdc416b118..0b2f32179fe 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.jsonindex 295e4ef9282..82f9c1bd8d2 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 100000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 100000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 100000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 100000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 100000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 100000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 100000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 100000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 100000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 100000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 100000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 100000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 100000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 100000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "add_minimum_licenses--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 100000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 100000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "add_minimum_licenses--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "add_minimum_licenses--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "add_minimum_licenses--Event.list.1.json"+ },+ "payment_method": "add_minimum_licenses--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 100000,+ "amount_captured": 100000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "add_minimum_licenses--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "add_minimum_licenses--Event.list.1.json",+ "payment_method": "add_minimum_licenses--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 100000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 100000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 100000,+ "currency": "usd",+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.1.json",+ "invoice": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 100000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "proration": false,+ "quantity": 25,+ "quantity_decimal": "25",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "add_minimum_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.jsonindex 469a7863e39..13c33682ea1 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Event.list.2.json@@ -5,65 +5,117 @@"created": 1000000000,"data": {"object": {- "amount": 100000,- "amount_capturable": 0,- "amount_details": {- "tip": {}- },- "amount_received": 100000,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,"application": null,- "application_fee_amount": null,- "automatic_payment_methods": null,- "canceled_at": null,- "cancellation_reason": null,- "capture_method": "automatic",- "client_secret": "NORMALIZED",- "confirmation_method": "automatic",+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically","created": 1000000000,"currency": "usd",+ "custom_fields": null,"customer": "add_minimum_licenses--Customer.create.1.json",- "description": "Payment for Invoice",- "excluded_payment_method_types": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,"id": "add_minimum_licenses--Event.list.2.json",- "last_payment_error": null,- "latest_charge": "add_minimum_licenses--Charge.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.2.json/lines"+ },"livemode": false,- "metadata": {},- "next_action": null,- "object": "payment_intent",+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice","on_behalf_of": null,- "payment_details": {- "customer_reference": null,- "order_reference": "in_1SVWxVDwzgQ85STgwcmLVM"+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null},- "payment_method": "pm_NORMALIZED",- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "installments": null,- "mandate_options": null,- "network": null,- "request_three_d_secure": "automatic"+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "auto"},- "link": {- "persistent_token": null- }+ "template": null,+ "template_version": null},- "payment_method_types": [- "card",- "link"- ],- "processing": null,- "receipt_email": "[email protected]",- "review": null,- "setup_future_usage": null,- "shipping": null,- "source": null,+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "succeeded",- "transfer_data": null,- "transfer_group": null+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null}},"id": "add_minimum_licenses--Event.list.2.json",@@ -74,123 +126,181 @@"id": "add_minimum_licenses--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "payment_intent.succeeded"+ "type": "invoice.created"},{"api_version": "2025-11-17.clover","created": 1000000000,"data": {"object": {- "amount": 100000,- "amount_captured": 100000,- "amount_refunded": 0,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 100000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 100000,+ "amount_shipping": 0,"application": null,- "application_fee": null,- "application_fee_amount": null,- "balance_transaction": "txn_NORMALIZED",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null},- "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",- "captured": true,+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically","created": 1000000000,"currency": "usd",+ "custom_fields": null,"customer": "add_minimum_licenses--Customer.create.1.json",- "description": "Payment for Invoice",- "destination": null,- "dispute": null,- "disputed": false,- "failure_balance_transaction": null,- "failure_code": null,- "failure_message": null,- "fraud_details": {},- "id": "add_minimum_licenses--Charge.list.1.json",+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "add_minimum_licenses--Event.list.2.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 100000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "add_minimum_licenses--Event.list.2.json",+ "invoice": "add_minimum_licenses--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "add_minimum_licenses--Event.list.2.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4000"+ },+ "quantity": 25,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/add_minimum_licenses--Event.list.2.json/lines"+ },"livemode": false,- "metadata": {},- "object": "charge",+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice","on_behalf_of": null,- "order": null,- "outcome": {- "advice_code": null,- "network_advice_code": null,- "network_decline_code": null,- "network_status": "approved_by_network",- "reason": null,- "risk_level": "normal",- "risk_score": 0,- "seller_message": "Payment complete.",- "type": "authorized"+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null},- "paid": true,- "payment_intent": "add_minimum_licenses--Event.list.2.json",- "payment_method": "pm_NORMALIZED",- "payment_method_details": {- "card": {- "amount_authorized": 100000,- "authorization_code": "000000",- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "exp_month": 1,- "exp_year": 9999,- "extended_authorization": {- "status": "disabled"- },- "fingerprint": "NORMALIZED",- "funding": "credit",- "incremental_authorization": {- "status": "unavailable"- },- "installments": null,- "last4": "4242",- "mandate": null,- "multicapture": {- "status": "unavailable"- },- "network": "visa",- "network_token": {- "used": false- },- "network_transaction_id": "000000000000000",- "overcapture": {- "maximum_amount_capturable": 100000,- "status": "unavailable"- },- "regulated_status": "unregulated",- "three_d_secure": null,- "wallet": null+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"},- "type": "card"+ "template": null,+ "template_version": null},- "radar_options": {},- "receipt_email": "[email protected]",- "receipt_number": null,- "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",- "refunded": false,- "review": null,- "shipping": null,- "source": null,- "source_transfer": null,+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "succeeded",- "transfer_data": null,- "transfer_group": null+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 100000,+ "subtotal_excluding_tax": 100000,+ "test_clock": null,+ "total": 100000,+ "total_discount_amounts": [],+ "total_excluding_tax": 100000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }}},"id": "add_minimum_licenses--Event.list.2.json",@@ -201,7 +311,7 @@"id": "add_minimum_licenses--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "charge.succeeded"+ "type": "invoice.updated"},{"api_version": "2025-11-17.clover",@@ -416,13 +526,13 @@"description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.","discounts": [],"due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,+ "effective_at": null,+ "ending_balance": null,"footer": null,"from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "hosted_invoice_url": null,"id": "add_minimum_licenses--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "invoice_pdf": null,"issuer": {"type": "self"},@@ -487,7 +597,7 @@"user_id": "10"},"next_payment_attempt": null,- "number": "NORMALIZED",+ "number": null,"object": "invoice","on_behalf_of": null,"parent": null,@@ -504,7 +614,7 @@"rendering": {"amount_tax_display": null,"pdf": {- "page_size": "letter"+ "page_size": "auto"},"template": null,"template_version": null@@ -513,9 +623,9 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "open",+ "status": "draft","status_transitions": {- "finalized_at": 1000000000,+ "finalized_at": null,"marked_uncollectible_at": null,"paid_at": null,"voided_at": null@@ -531,20 +641,66 @@"webhooks_delivered_at": null},"previous_attributes": {- "effective_at": null,- "ending_balance": null,- "hosted_invoice_url": null,- "invoice_pdf": null,- "number": null,- "rendering": {- "pdf": {- "page_size": "auto"- }+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0},- "status": "draft",- "status_transitions": {- "finalized_at": null- }+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "add_minimum_licenses--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "add_minimum_licenses--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "pm_NORMALIZED",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null}},"id": "add_minimum_licenses--Event.list.2.json",@@ -555,7 +711,7 @@"id": "add_minimum_licenses--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.updated"+ "type": "customer.updated"},{"api_version": "2025-11-17.clover",@@ -634,170 +790,192 @@"created": 1000000000,"data": {"object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 100000,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 100000,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null+ "amount": 100000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}},- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",+ "amount_received": 100000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "custom_fields": null,"customer": "add_minimum_licenses--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",- "discounts": [],- "due_date": null,- "effective_at": null,- "ending_balance": null,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "add_minimum_licenses--Event.list.2.json",- "invoice_pdf": null,- "issuer": {- "type": "self"+ "last_payment_error": null,+ "latest_charge": "add_minimum_licenses--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "in_1SVWxVDwzgQ85STgwcmLVM"},- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 100000,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "add_minimum_licenses--Event.list.2.json",- "invoice": "add_minimum_licenses--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "add_minimum_licenses--Event.list.2.json",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "4000"- },- "quantity": 25,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/add_minimum_licenses--Event.list.2.json/lines"+ "payment_method": "pm_NORMALIZED",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "link": {+ "persistent_token": null+ }},- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "25",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"+ "payment_method_types": [+ "card",+ "link"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "add_minimum_licenses--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "add_minimum_licenses--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 100000,+ "amount_captured": 100000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null},- "next_payment_attempt": null,- "number": null,- "object": "invoice",+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "add_minimum_licenses--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "add_minimum_licenses--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge","on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"},- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "auto"+ "paid": true,+ "payment_intent": "add_minimum_licenses--Event.list.2.json",+ "payment_method": "pm_NORMALIZED",+ "payment_method_details": {+ "card": {+ "amount_authorized": 100000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 100000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null},- "template": null,- "template_version": null+ "type": "card"},- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,"statement_descriptor": "Zulip Cloud Standard",- "status": "draft",- "status_transitions": {- "finalized_at": null,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 100000,- "subtotal_excluding_tax": 100000,- "test_clock": null,- "total": 100000,- "total_discount_amounts": [],- "total_excluding_tax": 100000,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": null- },- "previous_attributes": {- "amount_due": 0,- "amount_remaining": 0,- "lines": {- "data": [],- "total_count": 0- },- "subtotal": 0,- "subtotal_excluding_tax": 0,- "total": 0,- "total_excluding_tax": 0+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null}},"id": "add_minimum_licenses--Event.list.2.json",@@ -808,7 +986,7 @@"id": "add_minimum_licenses--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.updated"+ "type": "charge.succeeded"},{"api_version": "2025-11-17.clover",@@ -856,184 +1034,6 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "invoiceitem.created"- },- {- "api_version": "2025-11-17.clover",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 0,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "add_minimum_licenses--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",- "discounts": [],- "due_date": null,- "effective_at": null,- "ending_balance": null,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": null,- "id": "add_minimum_licenses--Event.list.2.json",- "invoice_pdf": null,- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [],- "has_more": false,- "object": "list",- "total_count": 0,- "url": "/v1/invoices/add_minimum_licenses--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "25",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": null,- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "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": "Zulip Cloud Standard",- "status": "draft",- "status_transitions": {- "finalized_at": null,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 0,- "subtotal_excluding_tax": 0,- "test_clock": null,- "total": 0,- "total_discount_amounts": [],- "total_excluding_tax": 0,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": null- }- },- "id": "add_minimum_licenses--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "add_minimum_licenses--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.created"- },- {- "api_version": "2025-11-17.clover",- "created": 1000000000,- "data": {- "object": {- "address": null,- "balance": 0,- "created": 1000000000,- "currency": "usd",- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "add_minimum_licenses--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },- "livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"- },- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],- "shipping": null,- "tax_exempt": "none",- "test_clock": null- },- "previous_attributes": {- "currency": null- }- },- "id": "add_minimum_licenses--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "add_minimum_licenses--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "customer.updated"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.finalize_invoice.1.jsonindex e7e682da2d4..faa902445ff 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.pay.1.jsonindex f163574ebfb..047d716389e 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.jsonindex 748ed07c486..c03492d6864 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 100000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.create.1.jsonindex 072d089c1e3..74b7de195c7 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.retrieve.1.jsonindex 072d089c1e3..74b7de195c7 100644--- a/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/add_minimum_licenses--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.jsonindex 6c00111a7e3..00a228cdd82 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.jsonindex eb25cd1d2c3..9bf083ff225 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Charge.list.2.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,@@ -138,7 +138,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.jsonindex 2f166e5a8e9..c486fbdc6cb 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 7200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 7200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 7200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 7200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 7200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 7200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 7200,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 7200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 7200,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 7200,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 7200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 7200,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 7200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 7200,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "attach_discount_to_realm--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 7200,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 7200,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "attach_discount_to_realm--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "attach_discount_to_realm--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "attach_discount_to_realm--Event.list.1.json"+ },+ "payment_method": "attach_discount_to_realm--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 7200,+ "amount_captured": 7200,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "attach_discount_to_realm--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "attach_discount_to_realm--Event.list.1.json",+ "payment_method": "attach_discount_to_realm--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 7200,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 7200,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 7200,+ "currency": "usd",+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.1.json",+ "invoice": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 7200,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.jsonindex ff7c07de729..c6f7d82357d 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.2.json@@ -8,14 +8,142 @@"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 7200,+ "amount_due": 0,"amount_overpaid": 0,- "amount_paid": 7200,+ "amount_paid": 0,"amount_remaining": 0,"amount_shipping": 0,"application": null,- "attempt_count": 1,- "attempted": true,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "attach_discount_to_realm--Event.list.2.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.2.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 7200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,"auto_advance": false,"automatic_tax": {"disabled_reason": null,@@ -141,11 +269,11 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "paid",+ "status": "open","status_transitions": {"finalized_at": 1000000000,"marked_uncollectible_at": null,- "paid_at": 1000000000,+ "paid_at": null,"voided_at": null},"subtotal": 7200,@@ -159,13 +287,19 @@"webhooks_delivered_at": null},"previous_attributes": {- "amount_paid": 0,- "amount_remaining": 7200,- "attempt_count": 0,- "attempted": false,- "status": "open",+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft","status_transitions": {- "paid_at": null+ "finalized_at": null}}},@@ -184,192 +318,158 @@"created": 1000000000,"data": {"object": {- "amount": 7200,- "amount_capturable": 0,- "amount_details": {- "tip": {}- },- "amount_received": 7200,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 7200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 7200,+ "amount_shipping": 0,"application": null,- "application_fee_amount": null,- "automatic_payment_methods": null,- "canceled_at": null,- "cancellation_reason": null,- "capture_method": "automatic",- "client_secret": "NORMALIZED",- "confirmation_method": "automatic",+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically","created": 1000000000,"currency": "usd",+ "custom_fields": null,"customer": "attach_discount_to_realm--Customer.create.1.json",- "description": "Payment for Invoice",- "excluded_payment_method_types": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap","id": "attach_discount_to_realm--Event.list.2.json",- "last_payment_error": null,- "latest_charge": "attach_discount_to_realm--Charge.list.1.json",- "livemode": false,- "metadata": {},- "next_action": null,- "object": "payment_intent",- "on_behalf_of": null,- "payment_details": {- "customer_reference": null,- "order_reference": "in_1SVWxiDwzgQ85STgVVI3Kf"- },- "payment_method": "pm_NORMALIZED",- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "installments": null,- "mandate_options": null,- "network": null,- "request_three_d_secure": "automatic"- },- "link": {- "persistent_token": null- }+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"},- "payment_method_types": [- "card",- "link"- ],- "processing": null,- "receipt_email": "[email protected]",- "review": null,- "setup_future_usage": null,- "shipping": null,- "source": null,- "statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "succeeded",- "transfer_data": null,- "transfer_group": null- }- },- "id": "attach_discount_to_realm--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "attach_discount_to_realm--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "payment_intent.succeeded"- },- {- "api_version": "2025-11-17.clover",- "created": 1000000000,- "data": {- "object": {- "amount": 7200,- "amount_captured": 7200,- "amount_refunded": 0,- "application": null,- "application_fee": null,- "application_fee_amount": null,- "balance_transaction": "txn_NORMALIZED",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 7200,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.2.json",+ "invoice": "attach_discount_to_realm--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.2.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "quantity": 6,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.2.json/lines"},- "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",- "captured": true,- "created": 1000000000,- "currency": "usd",- "customer": "attach_discount_to_realm--Customer.create.1.json",- "description": "Payment for Invoice",- "destination": null,- "dispute": null,- "disputed": false,- "failure_balance_transaction": null,- "failure_code": null,- "failure_message": null,- "fraud_details": {},- "id": "attach_discount_to_realm--Charge.list.1.json","livemode": false,- "metadata": {},- "object": "charge",+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice","on_behalf_of": null,- "order": null,- "outcome": {- "advice_code": null,- "network_advice_code": null,- "network_decline_code": null,- "network_status": "approved_by_network",- "reason": null,- "risk_level": "normal",- "risk_score": 0,- "seller_message": "Payment complete.",- "type": "authorized"+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null},- "paid": true,- "payment_intent": "attach_discount_to_realm--Event.list.2.json",- "payment_method": "pm_NORMALIZED",- "payment_method_details": {- "card": {- "amount_authorized": 7200,- "authorization_code": "000000",- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "exp_month": 1,- "exp_year": 9999,- "extended_authorization": {- "status": "disabled"- },- "fingerprint": "NORMALIZED",- "funding": "credit",- "incremental_authorization": {- "status": "unavailable"- },- "installments": null,- "last4": "4242",- "mandate": null,- "multicapture": {- "status": "unavailable"- },- "network": "visa",- "network_token": {- "used": false- },- "network_transaction_id": "000000000000000",- "overcapture": {- "maximum_amount_capturable": 7200,- "status": "unavailable"- },- "regulated_status": "unregulated",- "three_d_secure": null,- "wallet": null+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "receipt_number": null,+ "rendering": {+ "amount_tax_display": null,+ "pdf": {+ "page_size": "letter"},- "type": "card"+ "template": null,+ "template_version": null},- "radar_options": {},- "receipt_email": "[email protected]",- "receipt_number": null,- "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",- "refunded": false,- "review": null,- "shipping": null,- "source": null,- "source_transfer": null,+ "shipping_cost": null,+ "shipping_details": null,+ "starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "succeeded",- "transfer_data": null,- "transfer_group": null+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 7200,+ "subtotal_excluding_tax": 7200,+ "test_clock": null,+ "total": 7200,+ "total_discount_amounts": [],+ "total_excluding_tax": 7200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -380,7 +480,7 @@"id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "charge.succeeded"+ "type": "invoice.finalized"},{"api_version": "2025-11-17.clover",@@ -426,13 +526,13 @@"description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.","discounts": [],"due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,+ "effective_at": null,+ "ending_balance": null,"footer": null,"from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "hosted_invoice_url": null,"id": "attach_discount_to_realm--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "invoice_pdf": null,"issuer": {"type": "self"},@@ -497,7 +597,7 @@"user_id": "10"},"next_payment_attempt": null,- "number": "NORMALIZED",+ "number": null,"object": "invoice","on_behalf_of": null,"parent": null,@@ -514,7 +614,7 @@"rendering": {"amount_tax_display": null,"pdf": {- "page_size": "letter"+ "page_size": "auto"},"template": null,"template_version": null@@ -523,9 +623,9 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "open",+ "status": "draft","status_transitions": {- "finalized_at": 1000000000,+ "finalized_at": null,"marked_uncollectible_at": null,"paid_at": null,"voided_at": null@@ -539,6 +639,18 @@"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -549,7 +661,7 @@"id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.finalized"+ "type": "invoice.updated"},{"api_version": "2025-11-17.clover",@@ -561,12 +673,12 @@"account_tax_ids": null,"amount_due": 7200,"amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 7200,+ "amount_paid": 7200,+ "amount_remaining": 0,"amount_shipping": 0,"application": null,- "attempt_count": 0,- "attempted": false,+ "attempt_count": 1,+ "attempted": true,"auto_advance": false,"automatic_tax": {"disabled_reason": null,@@ -692,11 +804,11 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "open",+ "status": "paid","status_transitions": {"finalized_at": 1000000000,"marked_uncollectible_at": null,- "paid_at": null,+ "paid_at": 1000000000,"voided_at": null},"subtotal": 7200,@@ -710,19 +822,13 @@"webhooks_delivered_at": null},"previous_attributes": {- "effective_at": null,- "ending_balance": null,- "hosted_invoice_url": null,- "invoice_pdf": null,- "number": null,- "rendering": {- "pdf": {- "page_size": "auto"- }- },- "status": "draft",+ "amount_paid": 0,+ "amount_remaining": 7200,+ "attempt_count": 0,+ "attempted": false,+ "status": "open","status_transitions": {- "finalized_at": null+ "paid_at": null}}},@@ -741,61 +847,94 @@"created": 1000000000,"data": {"object": {- "amount": 7200,- "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",- "client_secret": "NORMALIZED",- "confirmation_method": "automatic",+ "address": null,+ "balance": 0,"created": 1000000000,"currency": "usd",- "customer": "attach_discount_to_realm--Customer.create.1.json",- "description": "Payment for Invoice",- "excluded_payment_method_types": null,+ "default_source": null,+ "default_tax_rates": [],+ "description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap","id": "attach_discount_to_realm--Event.list.2.json",- "last_payment_error": null,- "latest_charge": null,+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 36000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.2.json",+ "invoice": "attach_discount_to_realm--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "attach_discount_to_realm--Event.list.2.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "6000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 36000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/attach_discount_to_realm--Event.list.2.json/lines"+ },"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"- },- "link": {- "persistent_token": null- }+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"},- "payment_method_types": [- "card",- "link"- ],- "processing": null,- "receipt_email": "[email protected]",- "review": null,- "setup_future_usage": null,+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],"shipping": null,- "source": null,- "statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "requires_payment_method",- "transfer_data": null,- "transfer_group": null+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -806,7 +945,7 @@"id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "payment_intent.created"+ "type": "customer.updated"},{"api_version": "2025-11-17.clover",@@ -816,14 +955,14 @@"account_country": "US","account_name": "NORMALIZED","account_tax_ids": null,- "amount_due": 7200,+ "amount_due": 36000,"amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 7200,+ "amount_paid": 36000,+ "amount_remaining": 0,"amount_shipping": 0,"application": null,- "attempt_count": 0,- "attempted": false,+ "attempt_count": 1,+ "attempted": true,"auto_advance": false,"automatic_tax": {"disabled_reason": null,@@ -839,6 +978,7 @@"currency": "usd","custom_fields": null,"customer": "attach_discount_to_realm--Customer.create.1.json",+ "customer_account": null,"customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -852,13 +992,13 @@"description": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.","discounts": [],"due_date": null,- "effective_at": null,- "ending_balance": null,+ "effective_at": 1000000000,+ "ending_balance": 0,"footer": null,"from_invoice": null,- "hosted_invoice_url": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap","id": "attach_discount_to_realm--Event.list.2.json",- "invoice_pdf": null,+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap","issuer": {"type": "self"},@@ -867,7 +1007,7 @@"lines": {"data": [{- "amount": 7200,+ "amount": 36000,"currency": "usd","description": "Zulip Cloud Standard","discount_amounts": [],@@ -887,6 +1027,7 @@},"subscription": null},+ "license_fee_subscription_details": null,"subscription_item_details": null,"type": "invoice_item_details"},@@ -901,9 +1042,11 @@"product": "prod_NORMALIZED"},"type": "price_details",- "unit_amount_decimal": "1200"+ "unit_amount_decimal": "6000"},"quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 36000,"taxes": []}],@@ -923,7 +1066,7 @@"user_id": "10"},"next_payment_attempt": null,- "number": null,+ "number": "NORMALIZED","object": "invoice","on_behalf_of": null,"parent": null,@@ -940,7 +1083,7 @@"rendering": {"amount_tax_display": null,"pdf": {- "page_size": "auto"+ "page_size": "letter"},"template": null,"template_version": null@@ -949,34 +1092,22 @@"shipping_details": null,"starting_balance": 0,"statement_descriptor": "Zulip Cloud Standard",- "status": "draft",+ "status": "paid","status_transitions": {- "finalized_at": null,+ "finalized_at": 1000000000,"marked_uncollectible_at": null,- "paid_at": null,+ "paid_at": 1000000000,"voided_at": null},- "subtotal": 7200,- "subtotal_excluding_tax": 7200,+ "subtotal": 36000,+ "subtotal_excluding_tax": 36000,"test_clock": null,- "total": 7200,+ "total": 36000,"total_discount_amounts": [],- "total_excluding_tax": 7200,+ "total_excluding_tax": 36000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": null- },- "previous_attributes": {- "amount_due": 0,- "amount_remaining": 0,- "lines": {- "data": [],- "total_count": 0- },- "subtotal": 0,- "subtotal_excluding_tax": 0,- "total": 0,- "total_excluding_tax": 0}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -987,171 +1118,144 @@"id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.updated"+ "type": "invoice.payment_succeeded"},{"api_version": "2025-11-17.clover","created": 1000000000,"data": {"object": {- "amount": 7200,+ "amount": 36000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,"currency": "usd","customer": "attach_discount_to_realm--Customer.create.1.json",- "date": 1000000000,- "description": "Zulip Cloud Standard",- "discountable": false,- "discounts": [],+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "attach_discount_to_realm--Event.list.2.json",- "invoice": "attach_discount_to_realm--Event.list.2.json",+ "last_payment_error": null,+ "latest_charge": null,"livemode": false,"metadata": {},- "net_amount": 7200,- "object": "invoiceitem",- "parent": null,- "period": {- "end": 1357095845,- "start": 1325473445- },- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"+ "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"},- "type": "price_details",- "unit_amount_decimal": "1200"+ "link": {+ "persistent_token": null+ }},- "proration": false,- "quantity": 6,- "tax_rates": [],- "test_clock": null- }- },- "id": "attach_discount_to_realm--Event.list.2.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "attach_discount_to_realm--Event.list.2.json",+ "payment_method_types": [+ "card",+ "link"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoiceitem.created"+ "type": "payment_intent.created"},{"api_version": "2025-11-17.clover","created": 1000000000,"data": {"object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 0,- "amount_overpaid": 0,- "amount_paid": 0,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 0,- "attempted": false,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null+ "amount": 7200,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}},- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",+ "amount_received": 7200,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "custom_fields": null,"customer": "attach_discount_to_realm--Customer.create.1.json",- "customer_address": null,- "customer_email": "[email protected]",- "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",- "discounts": [],- "due_date": null,- "effective_at": null,- "ending_balance": null,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,"id": "attach_discount_to_realm--Event.list.2.json",- "invoice_pdf": null,- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [],- "has_more": false,- "object": "list",- "total_count": 0,- "url": "/v1/invoices/attach_discount_to_realm--Event.list.2.json/lines"- },+ "last_payment_error": null,+ "latest_charge": "attach_discount_to_realm--Charge.list.1.json","livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "6",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": null,- "object": "invoice",+ "metadata": {},+ "next_action": null,+ "object": "payment_intent","on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null+ "payment_details": {+ "customer_reference": null,+ "order_reference": "in_1SVWxiDwzgQ85STgVVI3Kf"},- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "receipt_number": null,- "rendering": {- "amount_tax_display": null,- "pdf": {- "page_size": "auto"+ "payment_method": "pm_NORMALIZED",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"},- "template": null,- "template_version": null+ "link": {+ "persistent_token": null+ }},- "shipping_cost": null,- "shipping_details": null,- "starting_balance": 0,+ "payment_method_types": [+ "card",+ "link"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shipping": null,+ "source": null,"statement_descriptor": "Zulip Cloud Standard",- "status": "draft",- "status_transitions": {- "finalized_at": null,- "marked_uncollectible_at": null,- "paid_at": null,- "voided_at": null- },- "subtotal": 0,- "subtotal_excluding_tax": 0,- "test_clock": null,- "total": 0,- "total_discount_amounts": [],- "total_excluding_tax": 0,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": null+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -1162,46 +1266,170 @@"id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.created"+ "type": "payment_intent.succeeded"},{"api_version": "2025-11-17.clover","created": 1000000000,"data": {"object": {- "address": null,- "balance": 0,+ "amount": 7200,+ "amount_captured": 7200,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,"created": 1000000000,"currency": "usd",- "default_source": null,- "delinquent": false,- "description": "zulip (Zulip Dev)",- "discount": null,- "email": "[email protected]",- "id": "attach_discount_to_realm--Customer.create.1.json",- "invoice_prefix": "NORMALIZED",- "invoice_settings": {- "custom_fields": null,- "default_payment_method": "pm_NORMALIZED",- "footer": null,- "rendering_options": null- },+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "attach_discount_to_realm--Charge.list.1.json","livemode": false,- "metadata": {- "realm_id": "1",- "realm_str": "zulip"+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"},- "name": null,- "next_invoice_sequence": 1,- "object": "customer",- "phone": null,- "preferred_locales": [],+ "paid": true,+ "payment_intent": "attach_discount_to_realm--Event.list.2.json",+ "payment_method": "pm_NORMALIZED",+ "payment_method_details": {+ "card": {+ "amount_authorized": 7200,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 7200,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,"shipping": null,- "tax_exempt": "none",+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "attach_discount_to_realm--Event.list.2.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "attach_discount_to_realm--Event.list.2.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 7200,+ "currency": "usd",+ "customer": "attach_discount_to_realm--Customer.create.1.json",+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "attach_discount_to_realm--Event.list.2.json",+ "invoice": "attach_discount_to_realm--Event.list.2.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 7200,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "1200"+ },+ "proration": false,+ "quantity": 6,+ "tax_rates": [],"test_clock": null- },- "previous_attributes": {- "currency": null}},"id": "attach_discount_to_realm--Event.list.2.json",@@ -1212,7 +1440,7 @@"id": "attach_discount_to_realm--Event.list.2.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "customer.updated"+ "type": "invoiceitem.created"}],"has_more": false,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.jsonindex 0cc2cec278d..6d922067afe 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Event.list.3.json@@ -1,344 +1,5 @@{- "data": [- {- "api_version": "2025-11-17.clover",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 7200,- "amount_overpaid": 0,- "amount_paid": 7200,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "attach_discount_to_realm--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 7200,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "attach_discount_to_realm--Event.list.2.json",- "invoice": "attach_discount_to_realm--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "1200"- },- "quantity": 6,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/attach_discount_to_realm--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "6",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "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": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 7200,- "subtotal_excluding_tax": 7200,- "test_clock": null,- "total": 7200,- "total_discount_amounts": [],- "total_excluding_tax": 7200,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": null- }- },- "id": "attach_discount_to_realm--Event.list.3.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "attach_discount_to_realm--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.payment_succeeded"- },- {- "api_version": "2025-11-17.clover",- "created": 1000000000,- "data": {- "object": {- "account_country": "US",- "account_name": "NORMALIZED",- "account_tax_ids": null,- "amount_due": 7200,- "amount_overpaid": 0,- "amount_paid": 7200,- "amount_remaining": 0,- "amount_shipping": 0,- "application": null,- "attempt_count": 1,- "attempted": true,- "auto_advance": false,- "automatic_tax": {- "disabled_reason": null,- "enabled": false,- "liability": null,- "provider": null,- "status": null- },- "automatically_finalizes_at": null,- "billing_reason": "manual",- "collection_method": "charge_automatically",- "created": 1000000000,- "currency": "usd",- "custom_fields": null,- "customer": "cus_NORMALIZED",- "customer_address": null,- "customer_email": "[email protected]",- "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",- "discounts": [],- "due_date": null,- "effective_at": 1000000000,- "ending_balance": 0,- "footer": null,- "from_invoice": null,- "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",- "id": "attach_discount_to_realm--Event.list.2.json",- "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",- "issuer": {- "type": "self"- },- "last_finalization_error": null,- "latest_revision": null,- "lines": {- "data": [- {- "amount": 7200,- "currency": "usd",- "description": "Zulip Cloud Standard",- "discount_amounts": [],- "discountable": false,- "discounts": [],- "id": "attach_discount_to_realm--Event.list.2.json",- "invoice": "attach_discount_to_realm--Event.list.2.json",- "livemode": false,- "metadata": {},- "object": "line_item",- "parent": {- "invoice_item_details": {- "invoice_item": "ii_NORMALIZED",- "proration": false,- "proration_details": {- "credited_items": null- },- "subscription": null- },- "subscription_item_details": null,- "type": "invoice_item_details"- },- "period": {- "end": 1357095845,- "start": 1325473445- },- "pretax_credit_amounts": [],- "pricing": {- "price_details": {- "price": "price_NORMALIZED",- "product": "prod_NORMALIZED"- },- "type": "price_details",- "unit_amount_decimal": "1200"- },- "quantity": 6,- "taxes": []- }- ],- "has_more": false,- "object": "list",- "total_count": 1,- "url": "/v1/invoices/attach_discount_to_realm--Event.list.2.json/lines"- },- "livemode": false,- "metadata": {- "billing_schedule": "1",- "current_plan_id": "None",- "license_management": "automatic",- "licenses": "6",- "on_free_trial": "False",- "plan_tier": "1",- "user_id": "10"- },- "next_payment_attempt": null,- "number": "NORMALIZED",- "object": "invoice",- "on_behalf_of": null,- "parent": null,- "payment_settings": {- "default_mandate": null,- "payment_method_options": null,- "payment_method_types": null- },- "period_end": 1000000000,- "period_start": 1000000000,- "post_payment_credit_notes_amount": 0,- "pre_payment_credit_notes_amount": 0,- "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": "Zulip Cloud Standard",- "status": "paid",- "status_transitions": {- "finalized_at": 1000000000,- "marked_uncollectible_at": null,- "paid_at": 1000000000,- "voided_at": null- },- "subtotal": 7200,- "subtotal_excluding_tax": 7200,- "test_clock": null,- "total": 7200,- "total_discount_amounts": [],- "total_excluding_tax": 7200,- "total_pretax_credit_amounts": [],- "total_taxes": [],- "webhooks_delivered_at": null- }- },- "id": "attach_discount_to_realm--Event.list.3.json",- "livemode": false,- "object": "event",- "pending_webhooks": 0,- "request": {- "id": "attach_discount_to_realm--Event.list.2.json",- "idempotency_key": "00000000-0000-0000-0000-000000000000"- },- "type": "invoice.paid"- }- ],+ "data": [],"has_more": false,"object": "list","url": "/v1/events"diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.1.jsonindex 486fcd716a6..cb3d97a65f1 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.2.jsonindex 79e99bfdb8e..b41a376e837 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.3.jsonindex 1232680d95f..ef4deb32d3d 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.2.jsonindex f197dbc0fd1..5bb7ed53f09 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.4.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.4.jsonindex 11a621f9696..dfeac7871f3 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.4.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.4.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -180,7 +180,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.5.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.5.jsonindex 1477a2b8c90..40334a879be 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.5.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.list.5.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -326,7 +326,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.1.jsonindex 806bef139ff..67f820ff173 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.2.jsonindex e108a961900..6ea41fdb789 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--Invoice.pay.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.jsonindex c8c5448a45f..c8f5d49fa4e 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 7200,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.jsonindex bf00ecb74ee..523cb4581ed 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 36000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.jsonindex d54032e5772..8aef4e8ff35 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.1.jsonindex 2fcdefdbda1..ad529575138 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.2.jsonindex 90774407dfa..8349936daa3 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.create.2.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.1.jsonindex 2fcdefdbda1..ad529575138 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.2.json b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.2.jsonindex 90774407dfa..8349936daa3 100644--- a/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/attach_discount_to_realm--SetupIntent.retrieve.2.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.jsonindex 36092039953..287d6a2c6b6 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Event.list.1.json@@ -20,8 +20,208 @@},"status": "paid","status_transitions": {- "canceled_at": null,- "paid_at": 1000000000+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "billing_page_permissions--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/billing_page_permissions--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "9"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null}}},@@ -33,7 +233,1276 @@"id": null,"idempotency_key": null},- "type": "invoice_payment.paid"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "billing_page_permissions--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/billing_page_permissions--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "9"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "billing_page_permissions--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/billing_page_permissions--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "9"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "billing_page_permissions--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/billing_page_permissions--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "9"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "billing_page_permissions--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/billing_page_permissions--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "9"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "billing_page_permissions--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/billing_page_permissions--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "9"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "billing_page_permissions--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "billing_page_permissions--Customer.retrieve.1.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "billing_page_permissions--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "billing_page_permissions--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "billing_page_permissions--Event.list.1.json"+ },+ "payment_method": "billing_page_permissions--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "billing_page_permissions--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "billing_page_permissions--Event.list.1.json",+ "payment_method": "billing_page_permissions--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "billing_page_permissions--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "billing_page_permissions--Event.list.1.json",+ "invoice": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "billing_page_permissions--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "billing_page_permissions--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.finalize_invoice.1.jsonindex 519714828cd..00fa6e33c60 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.pay.1.jsonindex 015840911cc..e17e56620b7 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.jsonindex d152628060e..1dca3ce30cd 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.create.1.jsonindex 6df9e1ab677..156c105e5a0 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.retrieve.1.jsonindex 6df9e1ab677..156c105e5a0 100644--- a/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/billing_page_permissions--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.create.1.jsonindex 52ed0a6a2e7..772add23ff9 100644--- a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.jsonindex 52ed0a6a2e7..772add23ff9 100644--- a/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/cancel_downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.finalize_invoice.1.jsonindex 37c6a665f9f..caf97ac8936 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.jsonindex 33ea71fed42..1d07431accb 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.pay.1.json@@ -1,192 +1,7 @@{"_message": "Your card was declined.","code": "card_declined",- "error": {- "advice_code": "try_again_later",- "charge": "ch_NORMALIZED",- "code": "card_declined",- "decline_code": "generic_decline",- "doc_url": "https://stripe.com/docs/error-codes/card-declined",- "message": "Your card was declined.",- "network_decline_code": "01",- "param": null,- "payment_intent": {- "amount": 48000,- "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",- "client_secret": "NORMALIZED",- "confirmation_method": "automatic",- "created": 1000000000,- "currency": "usd",- "customer": "cus_NORMALIZED",- "description": "Payment for Invoice",- "excluded_payment_method_types": null,- "id": "card_attached_to_customer_but_payment_fails--Invoice.pay.1.json",- "last_payment_error": {- "advice_code": "try_again_later",- "charge": "ch_NORMALIZED",- "code": "card_declined",- "decline_code": "generic_decline",- "doc_url": "https://stripe.com/docs/error-codes/card-declined",- "message": "Your card was declined.",- "network_decline_code": "01",- "payment_method": {- "allow_redisplay": "unspecified",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "card": {- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "display_brand": "visa",- "exp_month": 1,- "exp_year": 9999,- "fingerprint": "NORMALIZED",- "funding": "credit",- "generated_from": null,- "last4": "0341",- "networks": {- "available": [- "visa"- ],- "preferred": null- },- "regulated_status": "unregulated",- "three_d_secure_usage": {- "supported": true- },- "wallet": null- },- "created": 1000000000,- "customer": "cus_NORMALIZED",- "id": "card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json",- "livemode": false,- "metadata": {},- "object": "payment_method",- "type": "card"- },- "type": "card_error"- },- "latest_charge": "ch_NORMALIZED",- "livemode": false,- "metadata": {},- "next_action": null,- "object": "payment_intent",- "on_behalf_of": null,- "payment_details": {- "customer_reference": null,- "order_reference": "in_1SVWkwDwzgQ85STgEeCcIY"- },- "payment_method": null,- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "installments": null,- "mandate_options": null,- "network": null,- "request_three_d_secure": "automatic"- },- "link": {- "persistent_token": null- }- },- "payment_method_types": [- "card",- "link"- ],- "processing": null,- "receipt_email": "[email protected]",- "review": null,- "setup_future_usage": null,- "shipping": null,- "source": null,- "statement_descriptor": "Zulip Cloud Standard",- "statement_descriptor_suffix": null,- "status": "requires_payment_method",- "transfer_data": null,- "transfer_group": null- },- "payment_method": {- "allow_redisplay": "unspecified",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "card": {- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "display_brand": "visa",- "exp_month": 1,- "exp_year": 9999,- "fingerprint": "NORMALIZED",- "funding": "credit",- "generated_from": null,- "last4": "0341",- "networks": {- "available": [- "visa"- ],- "preferred": null- },- "regulated_status": "unregulated",- "three_d_secure_usage": {- "supported": true- },- "wallet": null- },- "created": 1000000000,- "customer": "cus_NORMALIZED",- "id": "card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json",- "livemode": false,- "metadata": {},- "object": "payment_method",- "type": "card"- },- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763640877",- "setup_intent": null,- "source": null,- "type": "card_error"- },+ "error": "{\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"param\": null,\n \"payment_intent\": {\n \"amount\": 48000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"NORMALIZED\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"card_attached_to_customer_but_payment_fails--Customer.create.1.json\",\n \"customer_account\": null,\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"id\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json\",\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"card_attached_to_customer_but_payment_fails--Customer.create.1.json\",\n \"customer_account\": null,\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"livemode\": false,\n \"metadata\": {},\n \"object\": \"payment_method\",\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"managed_payments\": {\n \"enabled\": false\n },\n \"metadata\": {},\n \"next_action\": null,\n \"object\": \"payment_intent\",\n \"on_behalf_of\": null,\n \"payment_details\": {\n \"customer_reference\": null,\n \"order_reference\": \"card_attached_to_customer_but_payment_fails--Invoice.create.1.json\"\n },\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"cashapp\": {}\n },\n \"payment_method_types\": [\n \"card\",\n \"cashapp\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shared_payment_granted_token\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": \"Zulip Cloud Standard\",\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"card_attached_to_customer_but_payment_fails--Customer.create.1.json\",\n \"customer_account\": null,\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"livemode\": false,\n \"metadata\": {},\n \"object\": \"payment_method\",\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED\",\n \"setup_intent\": null,\n \"source\": null,\n \"type\": \"card_error\"\n}","headers": {"Access-Control-Allow-Credentials": "true","Access-Control-Allow-Methods": "GET, HEAD, PUT, PATCH, POST, DELETE",@@ -201,6 +16,8 @@"Date": "NORMALIZED DATETIME","Idempotency-Key": "00000000-0000-0000-0000-000000000000","Original-Request": "req_NORMALIZED",+ "Report-To": "{\"group\":\"csp\",\"max_age\":8640,\"endpoints\":[{\"url\":\"https://q.stripe.com/csp-report-v2?q=NORMALIZED&t=1\"}],\"include_subdomains\":true}",+ "Reporting-Endpoints": "csp=\"https://q.stripe.com/csp-report-v2?q=NORMALIZED&t=1\"","Request-Id": "req_NORMALIZED","Server": "nginx","Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload",@@ -211,7 +28,7 @@"X-Stripe-Routing-Context-Priority-Tier": "api-testmode","X-Wc": "ABGHIJ"},- "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_intent\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json\",\n \"object\": \"payment_intent\",\n \"amount\": 48000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"NORMALIZED\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"cus_NORMALIZED\",\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 11,\n \"exp_year\": 2026,\n \"fingerprint\": \"mZkoRizHb5PdJf0T\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_details\": {\n \"customer_reference\": null,\n \"order_reference\": \"in_1SVWkwDwzgQ85STgEeCcIY\"\n },\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"link\": {\n \"persistent_token\": null\n }\n },\n \"payment_method_types\": [\n \"card\",\n \"link\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": \"Zulip Cloud Standard\",\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 11,\n \"exp_year\": 2026,\n \"fingerprint\": \"mZkoRizHb5PdJf0T\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763640877\",\n \"type\": \"card_error\"\n }\n}\n",+ "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_intent\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Invoice.pay.1.json\",\n \"object\": \"payment_intent\",\n \"amount\": 48000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"NORMALIZED\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"card_attached_to_customer_but_payment_fails--Customer.create.1.json\",\n \"customer_account\": null,\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"card_attached_to_customer_but_payment_fails--Customer.create.1.json\",\n \"customer_account\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"managed_payments\": {\n \"enabled\": false\n },\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_details\": {\n \"customer_reference\": null,\n \"order_reference\": \"card_attached_to_customer_but_payment_fails--Invoice.create.1.json\"\n },\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"cashapp\": {}\n },\n \"payment_method_types\": [\n \"card\",\n \"cashapp\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shared_payment_granted_token\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": \"Zulip Cloud Standard\",\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"card_attached_to_customer_but_payment_fails--Customer.create.1.json\",\n \"customer_account\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED\",\n \"type\": \"card_error\"\n }\n}\n","http_status": 402,"json_body": {"error": {@@ -239,7 +56,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "card_attached_to_customer_but_payment_fails--Invoice.pay.1.json",@@ -295,7 +112,7 @@"wallet": null},"created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","id": "card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json","livemode": false,"metadata": {},@@ -387,14 +204,14 @@"wallet": null},"created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","id": "card_attached_to_customer_but_payment_fails--Customer.retrieve.1.json","livemode": false,"metadata": {},"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763640877",+ "request_log_url": "https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED","type": "card_error"}},diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.void_invoice.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.void_invoice.1.jsonindex 111b20ffce8..e05a6a9f137 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.void_invoice.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--Invoice.void_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.jsonindex 96d8dd5d822..eb58d4d7cb0 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.create.1.jsonindex 2d12bcd0d72..68fbfe7adcd 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.retrieve.1.jsonindex 2d12bcd0d72..68fbfe7adcd 100644--- a/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/card_attached_to_customer_but_payment_fails--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Customer.list_balance_transactions.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Customer.list_balance_transactions.1.jsonindex f5f87935b56..356c8f4627a 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Customer.list_balance_transactions.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Customer.list_balance_transactions.1.json@@ -6,7 +6,7 @@"created": 1000000000,"credit_note": null,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"ending_balance": 0,"id": "change_plan_tier_from_standard_to_plus--Customer.list_balance_transactions.1.json",@@ -22,7 +22,7 @@"created": 1000000000,"credit_note": null,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Credit from early termination of active plan","ending_balance": -7200,"id": "change_plan_tier_from_standard_to_plus--Customer.create_balance_transaction.1.json",diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.jsonindex d59723a0cbf..caabf915df0 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.jsonindex 7d090a51d92..7e069591f7b 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.jsonindex 68b24d6c785..418fcd5971b 100644--- a/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/change_plan_tier_from_standard_to_plus--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 12000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.create.1.jsonindex 27b870d82f5..8279a05e998 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_account": null,"description": null,"excluded_payment_method_types": null,diff --git a/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.retrieve.1.jsonindex 27b870d82f5..8279a05e998 100644--- a/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/check_upgrade_parameters--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_account": null,"description": null,"excluded_payment_method_types": null,diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.jsonindex c7700e4a008..f4c3bf28fd6 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_has_credit_card_as_default_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "11"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "customer_has_credit_card_as_default_payment_method--Event.list.1.json"+ },+ "payment_method": "customer_has_credit_card_as_default_payment_method--Customer.retrieve.2.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "payment_method": "customer_has_credit_card_as_default_payment_method--Customer.retrieve.2.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "customer_has_credit_card_as_default_payment_method--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "invoice": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_has_credit_card_as_default_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.finalize_invoice.1.jsonindex 6da080cb7d7..dcc00c6bc7d 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.pay.1.jsonindex 046d327a692..c60c358f43a 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.jsonindex 135a6b9e28d..7ef53ba183b 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.create.1.jsonindex 5ed67d04e07..e880f57dfce 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.retrieve.1.jsonindex 5ed67d04e07..e880f57dfce 100644--- a/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/customer_has_credit_card_as_default_payment_method--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.jsonindex ca50e490f51..94bf1828753 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 72000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 72000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 72000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 72000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 72000,+ "subtotal_excluding_tax": 72000,+ "test_clock": null,+ "total": 72000,+ "total_discount_amounts": [],+ "total_excluding_tax": 72000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 72000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 72000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 72000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 72000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 72000,+ "subtotal_excluding_tax": 72000,+ "test_clock": null,+ "total": 72000,+ "total_discount_amounts": [],+ "total_excluding_tax": 72000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 72000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 72000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 72000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 72000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 72000,+ "subtotal_excluding_tax": 72000,+ "test_clock": null,+ "total": 72000,+ "total_discount_amounts": [],+ "total_excluding_tax": 72000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 72000,+ "amount_overpaid": 0,+ "amount_paid": 72000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 72000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 72000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 72000,+ "subtotal_excluding_tax": 72000,+ "test_clock": null,+ "total": 72000,+ "total_discount_amounts": [],+ "total_excluding_tax": 72000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 72000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 72000,+ "amount_overpaid": 0,+ "amount_paid": 72000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 72000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 72000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 72000,+ "subtotal_excluding_tax": 72000,+ "test_clock": null,+ "total": 72000,+ "total_discount_amounts": [],+ "total_excluding_tax": 72000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 72000,+ "amount_overpaid": 0,+ "amount_paid": 72000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 72000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 72000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/customer_minimum_licenses_for_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 72000,+ "subtotal_excluding_tax": 72000,+ "test_clock": null,+ "total": 72000,+ "total_discount_amounts": [],+ "total_excluding_tax": 72000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 72000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 72000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 72000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "customer_minimum_licenses_for_plan--Event.list.1.json"+ },+ "payment_method": "customer_minimum_licenses_for_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 72000,+ "amount_captured": 72000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD PLUS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "payment_method": "customer_minimum_licenses_for_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 72000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 72000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 72000,+ "currency": "usd",+ "customer": "customer_minimum_licenses_for_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Plus",+ "discountable": false,+ "discounts": [],+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "invoice": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 72000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "customer_minimum_licenses_for_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.1.jsonindex 197e2735d66..737d2b3d630 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.2.jsonindex ad576c8ae2a..5711b3225a0 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.list.2.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.list.2.jsonindex e1370bcf62a..703b60f8610 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.pay.1.jsonindex 2c84dfdf806..e50bc1d0fbb 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.jsonindex ff4cefb394f..31477dfea86 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 72000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus","discountable": false,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.jsonindex 89ffa8735c0..c386e5f3302 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 72000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.create.1.jsonindex 7acfc87f812..c35e22eaee2 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.retrieve.1.jsonindex 7acfc87f812..c35e22eaee2 100644--- a/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/customer_minimum_licenses_for_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.create.1.jsonindex 93c9fe818f6..618bcfa1aee 100644--- a/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_account": null,"description": null,"excluded_payment_method_types": null,diff --git a/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.retrieve.1.jsonindex 93c9fe818f6..618bcfa1aee 100644--- a/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/delete_scheduled_fixed_price_plan_on_complimentary_access_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_account": null,"description": null,"excluded_payment_method_types": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.create.1.jsonindex 4326940b4fc..817e6a359c2 100644--- a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.jsonindex 4326940b4fc..817e6a359c2 100644--- a/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_at_end_of_free_trial--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.jsonindex ce0e72cb5ed..73fa289cc7c 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Event.list.1.json@@ -11,7 +11,321 @@"amount_due": 24000,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 24000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/downgrade_realm_and_void_open_invoices--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/downgrade_realm_and_void_open_invoices--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,"amount_shipping": 0,"application": null,"attempt_count": 0,@@ -30,7 +344,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -145,10 +459,27 @@"test_clock": null,"total": 24000,"total_discount_amounts": [],- "total_excluding_tax": 24000,+ "total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }}},"id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",@@ -159,7 +490,855 @@"id": "downgrade_realm_and_void_open_invoices--Event.list.1.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.finalized"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/downgrade_realm_and_void_open_invoices--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/downgrade_realm_and_void_open_invoices--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/downgrade_realm_and_void_open_invoices--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 0,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": 1000000000,+ "cancellation_reason": "duplicate",+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "downgrade_realm_and_void_open_invoices--Event.list.1.json"+ },+ "payment_method": null,+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "canceled",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "currency": "usd",+ "customer": "downgrade_realm_and_void_open_invoices--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "invoice": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 984000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "downgrade_realm_and_void_open_invoices--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.1.jsonindex 4c1a554b06d..693fcbfb5bc 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.2.jsonindex 8a94cda9c37..6fbfe174274 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.list.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.list.1.jsonindex 4b69a1dde6d..bfa0f11cfd2 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.pay.1.jsonindex 223b8e25117..185e5afe957 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.void_invoice.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.void_invoice.1.jsonindex 0a1392603b0..c9e04b7b739 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.void_invoice.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--Invoice.void_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.jsonindex b949528358c..14541daac58 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.jsonindex ab7cb1336cb..30cd70744cd 100644--- a/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_realm_and_void_open_invoices--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.1.jsonindex eb76da6683c..e800625abd1 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.2.jsonindex e4211c4ddac..f6a6fdc22ee 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.jsonindex 16c04e49278..2f31604b4c6 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.4.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.4.jsonindex 574a7f7d9c8..0cce740b28d 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.4.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.4.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.5.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.5.jsonindex 70c077a9094..177b569fb6a 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.5.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.5.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.6.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.6.jsonindex c7b9697154a..fc2cbb71a85 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.6.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.6.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.7.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.7.jsonindex 90a88489e6b..bae2f4e02a5 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.7.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.7.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.jsonindex 280f5926418..cb5f3c3a674 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.finalize_invoice.8.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.10.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.10.jsonindex 3a6ed47d5d7..5e0e5e719a1 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.10.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.10.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.12.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.12.jsonindex 0994101d268..7fd2ab9fb7e 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.12.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.12.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.13.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.13.jsonindex a89e5427240..7c30cb7b3cb 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.13.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.13.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.14.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.14.jsonindex bf8f70e8848..1f3575768e9 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.14.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.14.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.jsonindex 63069227930..02c6cc5fa4a 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.15.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.2.jsonindex 9b94ffa8980..40831728b51 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.3.jsonindex 9b94ffa8980..40831728b51 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.3.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.6.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.6.jsonindex 0994101d268..7fd2ab9fb7e 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.6.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.6.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.jsonindex 81af636600f..5f1fe9d2613 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.7.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.jsonindex 81af636600f..5f1fe9d2613 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.list.8.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.1.jsonindex 72c2c530a01..e0feaffcff9 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.2.jsonindex 095e15269ac..3e16079c68b 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.pay.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.1.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.1.jsonindex c2c3f9659b5..3fb2289568b 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.2.jsonindex 22e15c180f9..6209e178710 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.jsonindex 1ff1abcddab..510758af2c5 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--Invoice.void_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.jsonindex db67521ee87..0c59dca685d 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.jsonindex ce881adbcaf..8117ab27206 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.jsonindex 54270f2053c..b5103d0da26 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.jsonindex 86c4632d738..ef04ec29c58 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.jsonindex c1e301a4df3..1c6078dd7b0 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.5.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.jsonindex 1891db018fa..7dc1773b739 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.6.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.jsonindex 2c625a81b69..cdf5f0b6f54 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.7.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.json b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.jsonindex 2bbedc70bd9..8a94d12fec4 100644--- a/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.json+++ b/corporate/tests/stripe_fixtures/downgrade_small_realms_behind_on_payments_as_needed--InvoiceItem.create.8.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.create.1.jsonindex 0f67d0e8907..e304aae5ee0 100644--- a/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.retrieve.1.jsonindex 0f67d0e8907..e304aae5ee0 100644--- a/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/end_free_trial--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.jsonindex 66c27992721..cbbc53429ae 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Event.list.1.json@@ -1,5 +1,1136 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/fixed_price_plans--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "fixed_price_plans--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/fixed_price_plans--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "fixed_price_plans--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/fixed_price_plans--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "fixed_price_plans--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/fixed_price_plans--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "fixed_price_plans--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/fixed_price_plans--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "fixed_price_plans--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/fixed_price_plans--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "fixed_price_plans--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "fixed_price_plans--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -21,7 +1152,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "fixed_price_plans--Event.list.1.json",@@ -75,6 +1206,139 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "fixed_price_plans--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "currency": "usd",+ "customer": "fixed_price_plans--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "fixed_price_plans--Event.list.1.json",+ "invoice": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 984000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "fixed_price_plans--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "fixed_price_plans--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.1.jsonindex 3e93ce63fbe..02166e4197c 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.jsonindex d4d150bd36e..fb3b311c75e 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.jsonindex df72c14e878..c790e93eda2 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.pay.1.jsonindex 487ed12b94d..179a8dd1fba 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.jsonindex 437ad1e85eb..756c79d9377 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.jsonindex 250a793da6f..1416cc3b15b 100644--- a/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/fixed_price_plans--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 100,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.jsonindex d9df42f2618..602c36e62d1 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 6300,+ "amount_remaining": 6300,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "total": 6300,+ "total_excluding_tax": 6300+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 4300,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 6300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 6300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_not_available_for_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "test_clock": null,+ "total": 6300,+ "total_discount_amounts": [],+ "total_excluding_tax": 6300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 4300,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json"+ },+ "payment_method": "free_trial_not_available_for_complimentary_access_customer--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_captured": 4300,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "payment_method": "free_trial_not_available_for_complimentary_access_customer--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 4300,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 4300,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 6300,+ "currency": "usd",+ "customer": "free_trial_not_available_for_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 6300,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 18,+ "quantity_decimal": "18",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.finalize_invoice.1.jsonindex 499126a022f..7f9625bec56 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.pay.1.jsonindex 351c3c62c87..b41b8148354 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.jsonindex 935921a9af4..40afc3ff0e8 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 6300,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.jsonindex 0227ccb1664..81e07d87eee 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.create.1.jsonindex 9f1743e632f..10c85391cac 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.retrieve.1.jsonindex 9f1743e632f..10c85391cac 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_complimentary_access_customer--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.jsonindex 36caeb7c73a..539d0614f0e 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 6300,+ "amount_remaining": 6300,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "total": 6300,+ "total_excluding_tax": 6300+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 4300,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 6300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 6300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "test_clock": null,+ "total": 6300,+ "total_discount_amounts": [],+ "total_excluding_tax": 6300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 4300,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json"+ },+ "payment_method": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_captured": 4300,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "payment_method": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 4300,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 4300,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 6300,+ "currency": "usd",+ "customer": "free_trial_not_available_for_previous_complimentary_access_customer--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "invoice": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 6300,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 18,+ "quantity_decimal": "18",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_not_available_for_previous_complimentary_access_customer--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.jsonindex f620208fba4..68a5dbb0f4c 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.jsonindex cd228409084..fd4b7ebe02d 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.jsonindex f1457294886..8e669f67135 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 6300,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.jsonindex 9f69a4edc4b..f225c83f8d1 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.create.1.jsonindex 0bfbee27687..7ce76edcb7c 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.retrieve.1.jsonindex 0bfbee27687..7ce76edcb7c 100644--- a/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_not_available_for_previous_complimentary_access_customer--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.1.jsonindex 324849547b7..1cdc4dfd979 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.2.jsonindex 672a82cb90c..dca0ede8aed 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.jsonindex 9261d40fad3..8d90ea0b809 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.4.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.4.jsonindex 70abe5f265a..70ecc2f2ab9 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.4.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.4.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.5.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.5.jsonindex 70abe5f265a..70ecc2f2ab9 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.5.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.5.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.6.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.6.jsonindex 0fa8f57911a..3b990f24709 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.6.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.6.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.jsonindex 9354c17339a..da435ae114b 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--Invoice.list.7.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -318,7 +318,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.jsonindex e42be15ba4b..9d9a7bcb8e7 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.jsonindex b748810757b..c8685c392da 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 5172,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.jsonindex 7f12e36c584..9849795f411 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 152000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.create.1.jsonindex 6eff80e9fc2..f48cdaf6126 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.retrieve.1.jsonindex 6eff80e9fc2..f48cdaf6126 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_card--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.jsonindex accf7f4981e..d5e7a242ff6 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Event.list.1.json@@ -5,7 +5,362 @@"created": 1000000000,"data": {"object": {- "amount": 56000,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "invoice": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "43",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "invoice": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "43",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,"amount_capturable": 0,"amount_details": {"tip": {}@@ -21,7 +376,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "free_trial_upgrade_by_invoice--Event.list.1.json",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.jsonindex 1f5b2c53cdb..267a69f7702 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.jsonindex de9022a1a69..8aa9e39863e 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.jsonindex 6daa24f19a0..c80a069fcf0 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.jsonindex 6c726da16a6..05b9d52ab06 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.jsonindex 42a700bb63b..6e61cd95081 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json@@ -5,7 +5,362 @@"created": 1000000000,"data": {"object": {- "amount": 56000,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "invoice": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "44",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "invoice": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "44",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,"amount_capturable": 0,"amount_details": {"tip": {}@@ -21,7 +376,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "free_trial_upgrade_by_invoice_customer_fails_to_pay--Event.list.1.json",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.jsonindex 9e42cbed743..41cbf542f83 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.list.1.jsonindex d8d0232f219..ccb4aee20bf 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.pay.1.jsonindex 64e5db158c5..c193bec437c 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.refresh.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.refresh.1.jsonindex 9e42cbed743..41cbf542f83 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.refresh.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.refresh.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.retrieve.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.retrieve.1.jsonindex 9e42cbed743..41cbf542f83 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--Invoice.retrieve.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.jsonindex d4ffcabbe7e..56b3b0120f4 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_customer_fails_to_pay--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.jsonindex aa791cec52e..bf63d230558 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json@@ -1,5 +1,360 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "invoice": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "46",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "invoice": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "ii_NORMALIZED",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1362193445,+ "start": 1330657445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "46",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "True",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -21,7 +376,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "free_trial_upgrade_by_invoice_with_additional_users_after_payment--Event.list.1.json",diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.jsonindex a1e520b089f..fe5fa4e691a 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.2.jsonindex 67eb5989fd9..ffe97a7645e 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.jsonindex 8f55bebe08e..98db1837ab1 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.jsonindex 18ff1e0acf1..1482fb4ee4b 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.jsonindex a9646ffe491..b2efe1668c6 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.jsonindex 2a388fc10c5..c94d354d669 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.jsonindex a173e831bf0..9cce3d7c1f3 100644--- a/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/free_trial_upgrade_by_invoice_with_additional_users_after_payment--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 16000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.jsonindex 2250fa80d0f..9812a8313f5 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_for_additional_license--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_for_additional_license--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_for_additional_license--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_for_additional_license--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_for_additional_license--Event.list.1.json"+ },+ "payment_method": "invoice_for_additional_license--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_for_additional_license--Event.list.1.json",+ "payment_method": "invoice_for_additional_license--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "invoice_for_additional_license--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "invoice_for_additional_license--Event.list.1.json",+ "invoice": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_for_additional_license--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_for_additional_license--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.1.jsonindex 63ead74489f..71dfe50f6f5 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.2.jsonindex 1ef2cacd55e..46932182eba 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.list.2.jsonindex 966ab041e9e..00ea616f6c4 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.pay.1.jsonindex acd3de40a1c..f11dfa65d97 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.jsonindex 83a83581d7d..2331bd98517 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.jsonindex a973e3e4268..14f40b6d774 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 7781,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.create.1.jsonindex d617fe84ee3..7039eeabe44 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.retrieve.1.jsonindex d617fe84ee3..7039eeabe44 100644--- a/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_for_additional_license--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.jsonindex 22a4e7e4b39..279081b798e 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 3850,+ "amount_remaining": 3850,+ "lines": {+ "data": [+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 3850,+ "subtotal_excluding_tax": 3850,+ "total": 3850,+ "total_excluding_tax": 3850+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 1850,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 3850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 3850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_initial_remote_realm_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 3850,+ "subtotal_excluding_tax": 3850,+ "test_clock": null,+ "total": 3850,+ "total_discount_amounts": [],+ "total_excluding_tax": 3850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 1850,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_initial_remote_realm_upgrade--Event.list.1.json"+ },+ "payment_method": "invoice_initial_remote_realm_upgrade--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_captured": 1850,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "payment_method": "invoice_initial_remote_realm_upgrade--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 1850,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 1850,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 3850,+ "currency": "usd",+ "customer": "invoice_initial_remote_realm_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 3850,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 11,+ "quantity_decimal": "11",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_realm_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.finalize_invoice.1.jsonindex d37f3e34185..dee97dbae4b 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.list.2.jsonindex 109d87f6102..e1f0baae2d3 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.pay.1.jsonindex 27e44a55b37..a7769b0e366 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.jsonindex 43eb7a4f7ea..7cb3554c5bb 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 3850,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.jsonindex 8b4b081da52..4d5c14f53d6 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.create.1.jsonindex cfa9d3e8f89..4347cbcaa1c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.retrieve.1.jsonindex cfa9d3e8f89..4347cbcaa1c 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_realm_upgrade--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.jsonindex 75f13dcfdbc..2901ba3c2f2 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 6300,+ "amount_remaining": 6300,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "total": 6300,+ "total_excluding_tax": 6300+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 4300,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 6300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 6300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_initial_remote_server_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "test_clock": null,+ "total": 6300,+ "total_discount_amounts": [],+ "total_excluding_tax": 6300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 4300,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_initial_remote_server_upgrade--Event.list.1.json"+ },+ "payment_method": "invoice_initial_remote_server_upgrade--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_captured": 4300,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "payment_method": "invoice_initial_remote_server_upgrade--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 4300,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 4300,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 6300,+ "currency": "usd",+ "customer": "invoice_initial_remote_server_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "invoice": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 6300,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 18,+ "quantity_decimal": "18",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_initial_remote_server_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.finalize_invoice.1.jsonindex 3297fe2189e..ba9cc9e89db 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.list.2.jsonindex 4fd0db44979..f11470af57a 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.pay.1.jsonindex 02868fb769b..63e0a893bb8 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.jsonindex fe6f4116bc3..fa6328934df 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 6300,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.jsonindex 4a4c1d37f20..c1313f1c336 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.create.1.jsonindex d5fb18b3432..eab658cdbb0 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.retrieve.1.jsonindex d5fb18b3432..eab658cdbb0 100644--- a/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_initial_remote_server_upgrade--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.jsonindex 21bc8cd4bb2..40a8c413b44 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json"+ },+ "payment_method": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "payment_method": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "invoice_payment_succeeded_event_with_uncaught_exception--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "invoice": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_payment_succeeded_event_with_uncaught_exception--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.finalize_invoice.1.jsonindex c87568629d2..9e0978b0f60 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.pay.1.jsonindex e193aacafee..9d72b4d3525 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.jsonindex ded0a54d662..16b57eebf47 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.create.1.jsonindex a33ba4c040b..132486f0f98 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.retrieve.1.jsonindex a33ba4c040b..132486f0f98 100644--- a/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_payment_succeeded_event_with_uncaught_exception--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.jsonindex fd127071e5f..ca9958756d9 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_plan--Event.list.1.json"+ },+ "payment_method": "invoice_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_plan--Event.list.1.json",+ "payment_method": "invoice_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "invoice_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan--Event.list.1.json",+ "invoice": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.1.jsonindex 047b19e421c..671f662081b 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.2.jsonindex 2beaacc5571..c3e9761f293 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.list.2.jsonindex a68ffeb675c..50c971177a9 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -252,7 +252,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.pay.1.jsonindex ca6583b328a..c38d87ab761 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.jsonindex 4ad64e81e70..8fc02c2e602 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.jsonindex 5b1824fff69..aa23be1448c 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 56000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.jsonindex d86880a7ca2..6aa9ccc5d92 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 17442,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.jsonindex afc18118a14..812da07b672 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 7255,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.create.1.jsonindex 951ccf136d3..47948740328 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.retrieve.1.jsonindex 951ccf136d3..47948740328 100644--- a/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Event.list.1.jsonindex 3a195f037d4..6b491155e24 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plan_bundle_additional_licenses--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_plan_bundle_additional_licenses--Event.list.1.json"+ },+ "payment_method": "invoice_plan_bundle_additional_licenses--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "payment_method": "invoice_plan_bundle_additional_licenses--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "invoice_plan_bundle_additional_licenses--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "invoice": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plan_bundle_additional_licenses--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.1.jsonindex 9d6267f8823..1085d689e26 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.2.jsonindex ee2bf531338..e1e236e1ff2 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.list.2.jsonindex 7f61d019bf2..459f7707d1f 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -292,7 +292,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.pay.1.jsonindex d7e424af06b..800ae680e51 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.1.jsonindex 95d590d9704..12380e3c44b 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.2.jsonindex 2e1a8d69cee..f8506d8a6c2 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 389050,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.3.jsonindex d3506f1f77f..a5eab5c6638 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 767200,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.4.jsonindex 6f5fad6abd9..e7f1e945104 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 756300,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.5.jsonindex 271cd2d7cbd..6d442347438 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--InvoiceItem.create.5.json@@ -1,7 +1,7 @@{"amount": 372700,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.create.1.jsonindex c7eba1c5821..9168944bbc2 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.retrieve.1.jsonindex c7eba1c5821..9168944bbc2 100644--- a/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plan_bundle_additional_licenses--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.jsonindex 6249d16538e..1893218d627 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Event.list.1.json@@ -20,8 +20,250 @@},"status": "paid","status_transitions": {- "canceled_at": null,- "paid_at": 1000000000+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null}}},@@ -33,7 +275,1763 @@"id": null,"idempotency_key": null},- "type": "invoice_payment.paid"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 3850,+ "amount_remaining": 3850,+ "lines": {+ "data": [+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 3850,+ "subtotal_excluding_tax": 3850,+ "total": 3850,+ "total_excluding_tax": 3850+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 1850,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 3850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 3850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plans_as_needed--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 3850,+ "subtotal_excluding_tax": 3850,+ "test_clock": null,+ "total": 3850,+ "total_discount_amounts": [],+ "total_excluding_tax": 3850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip.testserver 5ac2cf2c-100",+ "discount": null,+ "email": "[email protected]",+ "id": "invoice_plans_as_needed--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "invoice_plans_as_needed--Customer.retrieve.1.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "remote_realm_host": "zulip.testserver",+ "remote_realm_uuid": "5ac2cf2c-1000-4839-a78a-4d40c7a10625"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 1850,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_plans_as_needed--Event.list.1.json"+ },+ "payment_method": "invoice_plans_as_needed--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_captured": 1850,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_plans_as_needed--Event.list.1.json",+ "payment_method": "invoice_plans_as_needed--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 1850,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 1850,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 3850,+ "currency": "usd",+ "customer": "invoice_plans_as_needed--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "invoice": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 3850,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 11,+ "quantity_decimal": "11",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.1.jsonindex edc0b9a01b2..71401653301 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.2.jsonindex 1e61c8ff9c6..34fff2528d2 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.list.2.jsonindex f57780ea3c4..f48f7cde42c 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -252,7 +252,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.pay.1.jsonindex 25c2c257e51..311ff4997ad 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.jsonindex c557db0a1ed..e1c2aac6797 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 3850,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.jsonindex f092d9f3fca..92b6c0d92dd 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.jsonindex fe88fd75bc4..b7f4a904a25 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 5600,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.jsonindex 5e087fe3c11..249c7ea4358 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 1635,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Basic license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.jsonindex 4929585cb1a..3e7ed25b5fd 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--InvoiceItem.create.5.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.create.1.jsonindex 3123f519825..2c19ce5ad1c 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.retrieve.1.jsonindex 3123f519825..2c19ce5ad1c 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.jsonindex f735bc64c08..0aeec6d67e8 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 6300,+ "amount_remaining": 6300,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "total": 6300,+ "total_excluding_tax": 6300+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 4300,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 6300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 6300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "invoice_plans_as_needed_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/invoice_plans_as_needed_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "test_clock": null,+ "total": 6300,+ "total_discount_amounts": [],+ "total_excluding_tax": 6300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 4300,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "invoice_plans_as_needed_server--Event.list.1.json"+ },+ "payment_method": "invoice_plans_as_needed_server--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_captured": 4300,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "invoice_plans_as_needed_server--Event.list.1.json",+ "payment_method": "invoice_plans_as_needed_server--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 4300,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 4300,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 6300,+ "currency": "usd",+ "customer": "invoice_plans_as_needed_server--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "invoice": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 6300,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 18,+ "quantity_decimal": "18",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "invoice_plans_as_needed_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.1.jsonindex ff359a8c2b7..47b8d87b2b9 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.2.jsonindex 9c3b34d077d..3279c58d37f 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.list.2.jsonindex cb8aafc1401..ffe42344692 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -252,7 +252,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.pay.1.jsonindex 23179e5fad9..cdafc0c851c 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.jsonindex c2a5d49c8f7..d66cd55f688 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 6300,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.jsonindex 19de314541a..81df782825d 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.jsonindex 8a8454cfef4..6a99ea19e56 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 8050,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.jsonindex 7a6daa2c81f..e7d7522eca9 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 1635,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Basic license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.jsonindex 528a65158d6..9c24d664118 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--InvoiceItem.create.5.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.create.1.jsonindex b5b2695c6d4..d47a4c3f0a3 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.retrieve.1.jsonindex b5b2695c6d4..d47a4c3f0a3 100644--- a/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_plans_as_needed_server--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.finalize_invoice.1.jsonindex 9921583eb6b..7e429d15ec3 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.list.2.jsonindex 3198dd9bf37..53e05553930 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.jsonindex fa57af4ed12..ebb18b4f0bc 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.jsonindex 4e23a50cff3..ccf01b7f9a6 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.create.1.jsonindex 30f3a70320d..27a739d799d 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.retrieve.1.jsonindex 30f3a70320d..27a739d799d 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_realm_complimentary_access_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.jsonindex 51b5992fff6..a72d0cda896 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.jsonindex f81726aec86..582d6343838 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.jsonindex 31a516df350..8f876e2f5b0 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.jsonindex 3a0d47d20fc..f8e7094c4b5 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.create.1.jsonindex cec4e109b77..0fc28b99959 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.retrieve.1.jsonindex cec4e109b77..0fc28b99959 100644--- a/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/invoice_scheduled_upgrade_server_complimentary_access_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.jsonindex 5dd86c401c1..21ea29c2cab 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 200000,+ "amount_remaining": 200000,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "total": 200000,+ "total_excluding_tax": 200000+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 176000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 200000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 200000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/migrate_customer_server_to_realms_and_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "test_clock": null,+ "total": 200000,+ "total_discount_amounts": [],+ "total_excluding_tax": 200000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 176000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json"+ },+ "payment_method": "migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_captured": 176000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BUSINESS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "payment_method": "migrate_customer_server_to_realms_and_upgrade--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 176000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 176000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 200000,+ "currency": "usd",+ "customer": "migrate_customer_server_to_realms_and_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Business",+ "discountable": false,+ "discounts": [],+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "invoice": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 200000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 25,+ "quantity_decimal": "25",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "migrate_customer_server_to_realms_and_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.jsonindex 838c937f652..874343ca7b5 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.jsonindex 89a5369f213..52f21ee697b 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.jsonindex 232314e40b4..0b852347b2c 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business","discountable": false,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.jsonindex 118017703ab..d3107a6d028 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.create.1.jsonindex 214f6802308..80956b40ec9 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.retrieve.1.jsonindex 214f6802308..80956b40ec9 100644--- a/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/migrate_customer_server_to_realms_and_upgrade--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.jsonindex a6b38be8d8d..833793b2b5a 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 200000,+ "amount_remaining": 200000,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "total": 200000,+ "total_excluding_tax": 200000+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 176000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 200000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 200000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "non_sponsorship_billing--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/non_sponsorship_billing--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "test_clock": null,+ "total": 200000,+ "total_discount_amounts": [],+ "total_excluding_tax": 200000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "non_sponsorship_billing--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 176000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "non_sponsorship_billing--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "non_sponsorship_billing--Event.list.1.json"+ },+ "payment_method": "non_sponsorship_billing--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_captured": 176000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BUSINESS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "non_sponsorship_billing--Event.list.1.json",+ "payment_method": "non_sponsorship_billing--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 176000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 176000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 200000,+ "currency": "usd",+ "customer": "non_sponsorship_billing--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Business",+ "discountable": false,+ "discounts": [],+ "id": "non_sponsorship_billing--Event.list.1.json",+ "invoice": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 200000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 25,+ "quantity_decimal": "25",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "non_sponsorship_billing--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "non_sponsorship_billing--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.finalize_invoice.1.jsonindex 8ef35a62a22..1a5dcf2a43e 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.pay.1.jsonindex 62cb03db6be..a257150af69 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.jsonindex df8812cb3cd..0e1b54b3801 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business","discountable": false,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.jsonindex e6cbeffb42b..4cf34b79c74 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.create.1.jsonindex 01e8d7c6178..c99dcdb6510 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.retrieve.1.jsonindex 01e8d7c6178..c99dcdb6510 100644--- a/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/non_sponsorship_billing--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.jsonindex 0a0843579ca..1475c3cf37a 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Event.list.1.json@@ -1,5 +1,1037 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "payment_method_string--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/payment_method_string--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "payment_method_string--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.1.json",+ "invoice": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "payment_method_string--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/payment_method_string--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "payment_method_string--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.1.json",+ "invoice": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "payment_method_string--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/payment_method_string--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "payment_method_string--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.1.json",+ "invoice": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "payment_method_string--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/payment_method_string--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "payment_method_string--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.1.json",+ "invoice": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "payment_method_string--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/payment_method_string--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "payment_method_string--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.1.json",+ "invoice": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "payment_method_string--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/payment_method_string--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1083,227 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 0,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": 1000000000,+ "cancellation_reason": "duplicate",+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "payment_method_string--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "payment_method_string--Event.list.1.json"+ },+ "payment_method": "payment_method_string--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "canceled",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "payment_method_string--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "currency": "usd",+ "customer": "payment_method_string--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "payment_method_string--Event.list.1.json",+ "invoice": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 984000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "payment_method_string--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "payment_method_string--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.jsonindex 3615d5cbddc..eceff363aff 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.jsonindex d7159fd4e27..748225a3457 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.jsonindex 00804e9af54..b618f87157a 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.create.1.jsonindex 39f630e774d..b8920ac3676 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.retrieve.1.jsonindex 39f630e774d..b8920ac3676 100644--- a/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/payment_method_string--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.jsonindex 3b3657fea32..55957661490 100644--- a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.jsonindex 3b3657fea32..55957661490 100644--- a/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.jsonindex fd1cea0f3cb..8ee827d6305 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.jsonindex fd1cea0f3cb..8ee827d6305 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_realm_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.jsonindex 15f37e1cdb9..c6608f00752 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.jsonindex 15f37e1cdb9..c6608f00752 100644--- a/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/redirect_for_remote_server_billing_page_downgrade_at_free_trial_end--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.jsonindex 898688a83b5..7675628525a 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "replace_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "replace_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "replace_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "replace_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "replace_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "replace_payment_method--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "replace_payment_method--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/replace_payment_method--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "replace_payment_method--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "replace_payment_method--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "replace_payment_method--Event.list.1.json"+ },+ "payment_method": "replace_payment_method--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "replace_payment_method--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "replace_payment_method--Event.list.1.json",+ "payment_method": "replace_payment_method--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "replace_payment_method--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "replace_payment_method--Event.list.1.json",+ "invoice": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "replace_payment_method--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "replace_payment_method--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.1.jsonindex 5b6ad6b2d8a..eb8259e079a 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.2.jsonindex cc40cdefd8c..1547044e0dc 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.2.jsonindex 1a9a0d962ce..c9e8dd78419 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.3.jsonindex 9b473d0f501..718b0c5d96b 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.3.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.4.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.4.jsonindex 0d84b733526..3260034c36a 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.4.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.list.4.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.1.jsonindex f5b6aa819b0..13094a4b703 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.jsonindex 84978ade467..03484965636 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.2.json@@ -1,192 +1,7 @@{"_message": "Your card was declined.","code": "card_declined",- "error": {- "advice_code": "try_again_later",- "charge": "ch_NORMALIZED",- "code": "card_declined",- "decline_code": "generic_decline",- "doc_url": "https://stripe.com/docs/error-codes/card-declined",- "message": "Your card was declined.",- "network_decline_code": "01",- "param": null,- "payment_intent": {- "amount": 5000,- "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",- "client_secret": "NORMALIZED",- "confirmation_method": "automatic",- "created": 1000000000,- "currency": "usd",- "customer": "cus_NORMALIZED",- "description": "Payment for Invoice",- "excluded_payment_method_types": null,- "id": "replace_payment_method--Invoice.pay.2.json",- "last_payment_error": {- "advice_code": "try_again_later",- "charge": "ch_NORMALIZED",- "code": "card_declined",- "decline_code": "generic_decline",- "doc_url": "https://stripe.com/docs/error-codes/card-declined",- "message": "Your card was declined.",- "network_decline_code": "01",- "payment_method": {- "allow_redisplay": "unspecified",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "card": {- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "display_brand": "visa",- "exp_month": 1,- "exp_year": 9999,- "fingerprint": "NORMALIZED",- "funding": "credit",- "generated_from": null,- "last4": "0341",- "networks": {- "available": [- "visa"- ],- "preferred": null- },- "regulated_status": "unregulated",- "three_d_secure_usage": {- "supported": true- },- "wallet": null- },- "created": 1000000000,- "customer": "cus_NORMALIZED",- "id": "replace_payment_method--Customer.retrieve.7.json",- "livemode": false,- "metadata": {},- "object": "payment_method",- "type": "card"- },- "type": "card_error"- },- "latest_charge": "ch_NORMALIZED",- "livemode": false,- "metadata": {},- "next_action": null,- "object": "payment_intent",- "on_behalf_of": null,- "payment_details": {- "customer_reference": null,- "order_reference": "in_1SVWoDDwzgQ85STg31e2Dg"- },- "payment_method": null,- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "installments": null,- "mandate_options": null,- "network": null,- "request_three_d_secure": "automatic"- },- "link": {- "persistent_token": null- }- },- "payment_method_types": [- "card",- "link"- ],- "processing": null,- "receipt_email": "[email protected]",- "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_method": {- "allow_redisplay": "unspecified",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "card": {- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "display_brand": "visa",- "exp_month": 1,- "exp_year": 9999,- "fingerprint": "NORMALIZED",- "funding": "credit",- "generated_from": null,- "last4": "0341",- "networks": {- "available": [- "visa"- ],- "preferred": null- },- "regulated_status": "unregulated",- "three_d_secure_usage": {- "supported": true- },- "wallet": null- },- "created": 1000000000,- "customer": "cus_NORMALIZED",- "id": "replace_payment_method--Customer.retrieve.7.json",- "livemode": false,- "metadata": {},- "object": "payment_method",- "type": "card"- },- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763641085",- "setup_intent": null,- "source": null,- "type": "card_error"- },+ "error": "{\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"param\": null,\n \"payment_intent\": {\n \"amount\": 5000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"NORMALIZED\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"id\": \"replace_payment_method--Invoice.pay.2.json\",\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"livemode\": false,\n \"metadata\": {},\n \"object\": \"payment_method\",\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"managed_payments\": {\n \"enabled\": false\n },\n \"metadata\": {},\n \"next_action\": null,\n \"object\": \"payment_intent\",\n \"on_behalf_of\": null,\n \"payment_details\": {\n \"customer_reference\": null,\n \"order_reference\": \"replace_payment_method--Invoice.create.2.json\"\n },\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"cashapp\": {}\n },\n \"payment_method_types\": [\n \"card\",\n \"cashapp\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shared_payment_granted_token\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": null,\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"livemode\": false,\n \"metadata\": {},\n \"object\": \"payment_method\",\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED\",\n \"setup_intent\": null,\n \"source\": null,\n \"type\": \"card_error\"\n}","headers": {"Access-Control-Allow-Credentials": "true","Access-Control-Allow-Methods": "GET, HEAD, PUT, PATCH, POST, DELETE",@@ -201,6 +16,8 @@"Date": "NORMALIZED DATETIME","Idempotency-Key": "00000000-0000-0000-0000-000000000000","Original-Request": "req_NORMALIZED",+ "Report-To": "{\"group\":\"csp\",\"max_age\":8640,\"endpoints\":[{\"url\":\"https://q.stripe.com/csp-report-v2?q=NORMALIZED&t=1\"}],\"include_subdomains\":true}",+ "Reporting-Endpoints": "csp=\"https://q.stripe.com/csp-report-v2?q=NORMALIZED&t=1\"","Request-Id": "req_NORMALIZED","Server": "nginx","Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload",@@ -211,7 +28,7 @@"X-Stripe-Routing-Context-Priority-Tier": "api-testmode","X-Wc": "ABGHIJ"},- "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_intent\": {\n \"id\": \"replace_payment_method--Invoice.pay.2.json\",\n \"object\": \"payment_intent\",\n \"amount\": 5000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"NORMALIZED\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"cus_NORMALIZED\",\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 11,\n \"exp_year\": 2026,\n \"fingerprint\": \"mZkoRizHb5PdJf0T\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_details\": {\n \"customer_reference\": null,\n \"order_reference\": \"in_1SVWoDDwzgQ85STg31e2Dg\"\n },\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"link\": {\n \"persistent_token\": null\n }\n },\n \"payment_method_types\": [\n \"card\",\n \"link\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": null,\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 11,\n \"exp_year\": 2026,\n \"fingerprint\": \"mZkoRizHb5PdJf0T\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763641085\",\n \"type\": \"card_error\"\n }\n}\n",+ "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_intent\": {\n \"id\": \"replace_payment_method--Invoice.pay.2.json\",\n \"object\": \"payment_intent\",\n \"amount\": 5000,\n \"amount_capturable\": 0,\n \"amount_details\": {\n \"tip\": {}\n },\n \"amount_received\": 0,\n \"application\": null,\n \"application_fee_amount\": null,\n \"automatic_payment_methods\": null,\n \"canceled_at\": null,\n \"cancellation_reason\": null,\n \"capture_method\": \"automatic\",\n \"client_secret\": \"NORMALIZED\",\n \"confirmation_method\": \"automatic\",\n \"created\": 1000000000,\n \"currency\": \"usd\",\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"description\": \"Payment for Invoice\",\n \"excluded_payment_method_types\": null,\n \"last_payment_error\": {\n \"advice_code\": \"try_again_later\",\n \"charge\": \"ch_NORMALIZED\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_charge\": \"ch_NORMALIZED\",\n \"livemode\": false,\n \"managed_payments\": {\n \"enabled\": false\n },\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_details\": {\n \"customer_reference\": null,\n \"order_reference\": \"replace_payment_method--Invoice.create.2.json\"\n },\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"installments\": null,\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n },\n \"cashapp\": {}\n },\n \"payment_method_types\": [\n \"card\",\n \"cashapp\"\n ],\n \"processing\": null,\n \"receipt_email\": \"[email protected]\",\n \"review\": null,\n \"setup_future_usage\": null,\n \"shared_payment_granted_token\": null,\n \"shipping\": null,\n \"source\": null,\n \"statement_descriptor\": null,\n \"statement_descriptor_suffix\": null,\n \"status\": \"requires_payment_method\",\n \"transfer_data\": null,\n \"transfer_group\": null\n },\n \"payment_method\": {\n \"id\": \"replace_payment_method--Customer.retrieve.7.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"ABa2sePBR7Lu711Z\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0341\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED\",\n \"type\": \"card_error\"\n }\n}\n","http_status": 402,"json_body": {"error": {@@ -239,7 +56,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "replace_payment_method--Invoice.pay.2.json",@@ -295,7 +112,7 @@"wallet": null},"created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","id": "replace_payment_method--Customer.retrieve.7.json","livemode": false,"metadata": {},@@ -387,14 +204,14 @@"wallet": null},"created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","id": "replace_payment_method--Customer.retrieve.7.json","livemode": false,"metadata": {},"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763641085",+ "request_log_url": "https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED","type": "card_error"}},diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.3.jsonindex 771ab435e69..7fa7c2254c9 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--Invoice.pay.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.jsonindex 1571930902b..06e050a0f6e 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.2.jsonindex 9979962a70b..45a2e4cafb6 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 5000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": null,"discountable": true,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.1.jsonindex 98531a6e8bf..94b19c5a858 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.jsonindex 4c6d7ade807..0f826c289ee 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.2.json@@ -1,165 +1,7 @@{"_message": "Your card was declined.","code": "card_declined",- "error": {- "advice_code": "try_again_later",- "charge": null,- "code": "card_declined",- "decline_code": "generic_decline",- "doc_url": "https://stripe.com/docs/error-codes/card-declined",- "message": "Your card was declined.",- "network_decline_code": "01",- "param": null,- "payment_intent": null,- "payment_method": {- "allow_redisplay": "unspecified",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "card": {- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "display_brand": "visa",- "exp_month": 1,- "exp_year": 9999,- "fingerprint": "NORMALIZED",- "funding": "credit",- "generated_from": null,- "last4": "0002",- "networks": {- "available": [- "visa"- ],- "preferred": null- },- "regulated_status": "unregulated",- "three_d_secure_usage": {- "supported": true- },- "wallet": null- },- "created": 1000000000,- "customer": null,- "id": "replace_payment_method--PaymentMethod.create.2.json",- "livemode": false,- "metadata": {},- "object": "payment_method",- "type": "card"- },- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763641081",- "setup_intent": {- "application": null,- "automatic_payment_methods": null,- "cancellation_reason": null,- "client_secret": "NORMALIZED",- "created": 1000000000,- "customer": "cus_NORMALIZED",- "description": null,- "excluded_payment_method_types": null,- "flow_directions": null,- "id": "replace_payment_method--SetupIntent.create.2.json",- "last_setup_error": {- "advice_code": "try_again_later",- "code": "card_declined",- "decline_code": "generic_decline",- "doc_url": "https://stripe.com/docs/error-codes/card-declined",- "message": "Your card was declined.",- "network_decline_code": "01",- "payment_method": {- "allow_redisplay": "unspecified",- "billing_details": {- "address": {- "city": "San Francisco",- "country": "US",- "line1": "123 Main St",- "line2": null,- "postal_code": "12345",- "state": "CA"- },- "email": null,- "name": "John Doe",- "phone": null,- "tax_id": null- },- "card": {- "brand": "visa",- "checks": {- "address_line1_check": "pass",- "address_postal_code_check": "pass",- "cvc_check": "pass"- },- "country": "US",- "display_brand": "visa",- "exp_month": 1,- "exp_year": 9999,- "fingerprint": "NORMALIZED",- "funding": "credit",- "generated_from": null,- "last4": "0002",- "networks": {- "available": [- "visa"- ],- "preferred": null- },- "regulated_status": "unregulated",- "three_d_secure_usage": {- "supported": true- },- "wallet": null- },- "created": 1000000000,- "customer": null,- "id": "replace_payment_method--PaymentMethod.create.2.json",- "livemode": false,- "metadata": {},- "object": "payment_method",- "type": "card"- },- "type": "card_error"- },- "latest_attempt": "setatt_NORMALIZED",- "livemode": false,- "mandate": null,- "metadata": {},- "next_action": null,- "object": "setup_intent",- "on_behalf_of": null,- "payment_method": null,- "payment_method_configuration_details": null,- "payment_method_options": {- "card": {- "mandate_options": null,- "network": null,- "request_three_d_secure": "automatic"- }- },- "payment_method_types": [- "card"- ],- "single_use_mandate": null,- "status": "requires_payment_method",- "usage": "off_session"- },- "source": null,- "type": "card_error"- },+ "error": "{\n \"advice_code\": \"try_again_later\",\n \"charge\": null,\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"param\": null,\n \"payment_intent\": null,\n \"payment_method\": {\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"hrFDcQvsK80IBqEa\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"customer_account\": null,\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"livemode\": false,\n \"metadata\": {},\n \"object\": \"payment_method\",\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED\",\n \"setup_intent\": {\n \"application\": null,\n \"automatic_payment_methods\": null,\n \"cancellation_reason\": null,\n \"client_secret\": \"NORMALIZED\",\n \"created\": 1000000000,\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"description\": null,\n \"excluded_payment_method_types\": null,\n \"flow_directions\": null,\n \"id\": \"replace_payment_method--SetupIntent.create.2.json\",\n \"last_setup_error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"hrFDcQvsK80IBqEa\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"customer_account\": null,\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"livemode\": false,\n \"metadata\": {},\n \"object\": \"payment_method\",\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_attempt\": \"setatt_NORMALIZED\",\n \"livemode\": false,\n \"managed_payments\": {\n \"enabled\": false\n },\n \"mandate\": null,\n \"metadata\": {},\n \"next_action\": null,\n \"object\": \"setup_intent\",\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n }\n },\n \"payment_method_types\": [\n \"card\"\n ],\n \"single_use_mandate\": null,\n \"status\": \"requires_payment_method\",\n \"usage\": \"off_session\"\n },\n \"source\": null,\n \"type\": \"card_error\"\n}","headers": {"Access-Control-Allow-Credentials": "true","Access-Control-Allow-Methods": "GET, HEAD, PUT, PATCH, POST, DELETE",@@ -174,6 +16,8 @@"Date": "NORMALIZED DATETIME","Idempotency-Key": "00000000-0000-0000-0000-000000000000","Original-Request": "req_NORMALIZED",+ "Report-To": "{\"group\":\"csp\",\"max_age\":8640,\"endpoints\":[{\"url\":\"https://q.stripe.com/csp-report-v2?q=NORMALIZED&t=1\"}],\"include_subdomains\":true}",+ "Reporting-Endpoints": "csp=\"https://q.stripe.com/csp-report-v2?q=NORMALIZED&t=1\"","Request-Id": "req_NORMALIZED","Server": "nginx","Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload",@@ -184,7 +28,7 @@"X-Stripe-Routing-Context-Priority-Tier": "api-testmode","X-Wc": "ABGHIJ"},- "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 11,\n \"exp_year\": 2026,\n \"fingerprint\": \"24NjHKFFK74pI6pi\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763641081\",\n \"setup_intent\": {\n \"id\": \"replace_payment_method--SetupIntent.create.2.json\",\n \"object\": \"setup_intent\",\n \"application\": null,\n \"automatic_payment_methods\": null,\n \"cancellation_reason\": null,\n \"client_secret\": \"NORMALIZED\",\n \"created\": 1000000000,\n \"customer\": \"cus_NORMALIZED\",\n \"description\": null,\n \"excluded_payment_method_types\": null,\n \"flow_directions\": null,\n \"last_setup_error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 11,\n \"exp_year\": 2026,\n \"fingerprint\": \"24NjHKFFK74pI6pi\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_attempt\": \"setatt_NORMALIZED\",\n \"livemode\": false,\n \"mandate\": null,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n }\n },\n \"payment_method_types\": [\n \"card\"\n ],\n \"single_use_mandate\": null,\n \"status\": \"requires_payment_method\",\n \"usage\": \"off_session\"\n },\n \"type\": \"card_error\"\n }\n}\n",+ "http_body": "{\n \"error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"hrFDcQvsK80IBqEa\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"customer_account\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"request_log_url\": \"https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED\",\n \"setup_intent\": {\n \"id\": \"replace_payment_method--SetupIntent.create.2.json\",\n \"object\": \"setup_intent\",\n \"application\": null,\n \"automatic_payment_methods\": null,\n \"cancellation_reason\": null,\n \"client_secret\": \"NORMALIZED\",\n \"created\": 1000000000,\n \"customer\": \"replace_payment_method--Customer.create.1.json\",\n \"customer_account\": null,\n \"description\": null,\n \"excluded_payment_method_types\": null,\n \"flow_directions\": null,\n \"last_setup_error\": {\n \"advice_code\": \"try_again_later\",\n \"code\": \"card_declined\",\n \"decline_code\": \"generic_decline\",\n \"doc_url\": \"https://stripe.com/docs/error-codes/card-declined\",\n \"message\": \"Your card was declined.\",\n \"network_decline_code\": \"01\",\n \"payment_method\": {\n \"id\": \"replace_payment_method--PaymentMethod.create.2.json\",\n \"object\": \"payment_method\",\n \"allow_redisplay\": \"unspecified\",\n \"billing_details\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"123 Main St\",\n \"line2\": null,\n \"postal_code\": \"94105\",\n \"state\": \"CA\"\n },\n \"email\": null,\n \"name\": \"John Doe\",\n \"phone\": null,\n \"tax_id\": null\n },\n \"card\": {\n \"brand\": \"visa\",\n \"checks\": {\n \"address_line1_check\": \"pass\",\n \"address_postal_code_check\": \"pass\",\n \"cvc_check\": \"pass\"\n },\n \"country\": \"US\",\n \"display_brand\": \"visa\",\n \"exp_month\": 5,\n \"exp_year\": 2027,\n \"fingerprint\": \"hrFDcQvsK80IBqEa\",\n \"funding\": \"credit\",\n \"generated_from\": null,\n \"last4\": \"0002\",\n \"networks\": {\n \"available\": [\n \"visa\"\n ],\n \"preferred\": null\n },\n \"regulated_status\": \"unregulated\",\n \"three_d_secure_usage\": {\n \"supported\": true\n },\n \"wallet\": null\n },\n \"created\": 1000000000,\n \"customer\": null,\n \"customer_account\": null,\n \"livemode\": false,\n \"metadata\": {},\n \"shared_payment_granted_token\": null,\n \"type\": \"card\"\n },\n \"type\": \"card_error\"\n },\n \"latest_attempt\": \"setatt_NORMALIZED\",\n \"livemode\": false,\n \"managed_payments\": {\n \"enabled\": false\n },\n \"mandate\": null,\n \"metadata\": {},\n \"next_action\": null,\n \"on_behalf_of\": null,\n \"payment_method\": null,\n \"payment_method_configuration_details\": null,\n \"payment_method_options\": {\n \"card\": {\n \"mandate_options\": null,\n \"network\": null,\n \"request_three_d_secure\": \"automatic\"\n }\n },\n \"payment_method_types\": [\n \"card\"\n ],\n \"single_use_mandate\": null,\n \"status\": \"requires_payment_method\",\n \"usage\": \"off_session\"\n },\n \"type\": \"card_error\"\n }\n}\n","http_status": 402,"json_body": {"error": {@@ -245,14 +89,14 @@"object": "payment_method","type": "card"},- "request_log_url": "https://dashboard.stripe.com/test/logs/req_NORMALIZED?t=1763641081",+ "request_log_url": "https://dashboard.stripe.com/acct_NORMALIZED/test/workbench/logs?object=req_NORMALIZED","setup_intent": {"application": null,"automatic_payment_methods": null,"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.3.jsonindex 512575fc433..2056b6a9c7c 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.3.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.4.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.4.jsonindex 25e0781420e..408e4ef4fe0 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.4.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.create.4.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.1.jsonindex 98531a6e8bf..94b19c5a858 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.2.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.2.jsonindex 512575fc433..2056b6a9c7c 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.2.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.2.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.3.json b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.3.jsonindex 25e0781420e..408e4ef4fe0 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.3.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--SetupIntent.retrieve.3.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.json b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.jsonindex 4aebcf740dd..5a10bdf8fcb 100644--- a/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.json+++ b/corporate/tests/stripe_fixtures/replace_payment_method--checkout.Session.create.5.json@@ -48,7 +48,7 @@"submit": null,"terms_of_service_acceptance": null},- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_creation": null,"customer_details": {"address": null,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.jsonindex 10781a3b1c6..12bc8ded7cc 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.jsonindex f7a5e6e48d9..1c4eb0ffc35 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.jsonindex 281cded8f14..44f506811b6 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.jsonindex 281cded8f14..44f506811b6 100644--- a/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.jsonindex 8d7e31ff493..67b22c8cf90 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json@@ -1,5 +1,1203 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 10000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1249,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 10000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json"+ },+ "payment_method": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "amount_captured": 10000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "payment_method": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 10000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 10000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "currency": "usd",+ "customer": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "invoice": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 10000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.1.jsonindex aec82ac66b4..b97a1cefdb1 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.10.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.10.jsonindex bcc8111f54d..36066e1bf05 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.10.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.10.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.jsonindex b02b8d48e13..071511598cd 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.11.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.12.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.12.jsonindex 2a9227def1a..5d02716ac91 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.12.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.12.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.13.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.13.jsonindex 433d7785367..dba5f1e99bd 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.13.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.13.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.2.jsonindex 3590656e9f3..f03ca992f6b 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.3.jsonindex 2af3f8e84d8..c92738129c4 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.4.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.4.jsonindex c2093754782..22624d8b46b 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.4.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.4.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.jsonindex 21abdbdd05a..895b2a14f9b 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.5.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.6.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.6.jsonindex c0188d4864b..75ad17ea6ef 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.6.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.6.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.7.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.7.jsonindex decd8718ba3..e72f3a23c7f 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.7.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.7.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.8.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.8.jsonindex dbd79f1afe8..02acbe85d5d 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.8.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.8.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.9.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.9.jsonindex 272e4e4fdc1..47b650fe978 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.9.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.finalize_invoice.9.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.pay.1.jsonindex 7641393cb1e..eebb2d04024 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.jsonindex 62928a7a734..15d0e6fb93f 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.jsonindex 0f7927e2412..655f8341b22 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.10.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.jsonindex 7f121858786..68533cc86ba 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.11.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.jsonindex abb758139e4..9d8a1857cc0 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.12.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.jsonindex 8d5da0c0e21..ad69622193f 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.13.json@@ -1,7 +1,7 @@{"amount": 14166,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.jsonindex 10f89f2a50b..def33bc1aef 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.jsonindex c72d1df5e75..0877b26f22b 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.jsonindex c6a360a909a..37bfeddd59c 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.jsonindex 9a59f5db6dd..4f93e811863 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.5.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.jsonindex c4c080e5f10..28b2c1987c9 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.6.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.jsonindex 07239f4ab95..bcee4bf67bc 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.7.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.jsonindex 322f72daae8..19249158dc2 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.8.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.jsonindex e34bcc2f13e..49df2ac3265 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--InvoiceItem.create.9.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.create.1.jsonindex 28f8e063fab..b3de5203e87 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.retrieve.1.jsonindex 28f8e063fab..b3de5203e87 100644--- a/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_fixed_price_plan_upgrade_to_another_fixed_price_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.jsonindex 787d3eaf0b7..f00c06ae58f 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.jsonindex 847398d1bef..101b5bdbefa 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.jsonindex 34733dfdb2d..4a2e4169204 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.jsonindex 34733dfdb2d..4a2e4169204 100644--- a/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_complimentary_access_plan_upgrade_to_fixed_price_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.jsonindex 2e536f28b64..b0833c0f73c 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 51600,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 51600,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 51600,+ "subtotal_excluding_tax": 51600,+ "test_clock": null,+ "total": 51600,+ "total_discount_amounts": [],+ "total_excluding_tax": 51600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 51600,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 51600,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 51600,+ "subtotal_excluding_tax": 51600,+ "test_clock": null,+ "total": 51600,+ "total_discount_amounts": [],+ "total_excluding_tax": 51600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 51600,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 51600,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 51600,+ "subtotal_excluding_tax": 51600,+ "test_clock": null,+ "total": 51600,+ "total_discount_amounts": [],+ "total_excluding_tax": 51600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 75600,+ "amount_remaining": 75600,+ "lines": {+ "data": [+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 75600,+ "subtotal_excluding_tax": 75600,+ "total": 75600,+ "total_excluding_tax": 75600+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 51600,+ "amount_overpaid": 0,+ "amount_paid": 51600,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 51600,+ "subtotal_excluding_tax": 51600,+ "test_clock": null,+ "total": 51600,+ "total_discount_amounts": [],+ "total_excluding_tax": 51600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 51600,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 51600,+ "amount_overpaid": 0,+ "amount_paid": 51600,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 51600,+ "subtotal_excluding_tax": 51600,+ "test_clock": null,+ "total": 51600,+ "total_discount_amounts": [],+ "total_excluding_tax": 51600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 51600,+ "amount_overpaid": 0,+ "amount_paid": 51600,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 51600,+ "subtotal_excluding_tax": 51600,+ "test_clock": null,+ "total": 51600,+ "total_discount_amounts": [],+ "total_excluding_tax": 51600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 75600,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 75600,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 75600,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 75600,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 75600,+ "subtotal_excluding_tax": 75600,+ "test_clock": null,+ "total": 75600,+ "total_discount_amounts": [],+ "total_excluding_tax": 75600,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 51600,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 51600,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 51600,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json"+ },+ "payment_method": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 51600,+ "amount_captured": 51600,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "payment_method": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 51600,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 51600,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 75600,+ "currency": "usd",+ "customer": "schedule_server_upgrade_to_fixed_price_business_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "invoice": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 75600,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "proration": false,+ "quantity": 18,+ "quantity_decimal": "18",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_server_upgrade_to_fixed_price_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.1.jsonindex fe0f7091646..8f1021ee374 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.jsonindex f997d4ebf61..793bf439cae 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.pay.1.jsonindex aeb238fef9e..a75bc232d03 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.jsonindex 18737802709..12bc86430ab 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 75600,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.jsonindex 603a29591d7..0d94b029279 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.jsonindex d4faf8b5bde..2058c7e9880 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.create.1.jsonindex cb483598633..07501cec800 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.retrieve.1.jsonindex cb483598633..07501cec800 100644--- a/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_server_upgrade_to_fixed_price_business_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.jsonindex 607e56db59d..060e33fa6bb 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 22200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 22200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 22200,+ "subtotal_excluding_tax": 22200,+ "test_clock": null,+ "total": 22200,+ "total_discount_amounts": [],+ "total_excluding_tax": 22200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 22200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 22200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 22200,+ "subtotal_excluding_tax": 22200,+ "test_clock": null,+ "total": 22200,+ "total_discount_amounts": [],+ "total_excluding_tax": 22200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 22200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 22200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 22200,+ "subtotal_excluding_tax": 22200,+ "test_clock": null,+ "total": 22200,+ "total_discount_amounts": [],+ "total_excluding_tax": 22200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 46200,+ "amount_remaining": 46200,+ "lines": {+ "data": [+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 46200,+ "subtotal_excluding_tax": 46200,+ "total": 46200,+ "total_excluding_tax": 46200+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 22200,+ "amount_overpaid": 0,+ "amount_paid": 22200,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 22200,+ "subtotal_excluding_tax": 22200,+ "test_clock": null,+ "total": 22200,+ "total_discount_amounts": [],+ "total_excluding_tax": 22200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 22200,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 22200,+ "amount_overpaid": 0,+ "amount_paid": 22200,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 22200,+ "subtotal_excluding_tax": 22200,+ "test_clock": null,+ "total": 22200,+ "total_discount_amounts": [],+ "total_excluding_tax": 22200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 22200,+ "amount_overpaid": 0,+ "amount_paid": 22200,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 22200,+ "subtotal_excluding_tax": 22200,+ "test_clock": null,+ "total": 22200,+ "total_discount_amounts": [],+ "total_excluding_tax": 22200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 46200,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 46200,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 46200,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 46200,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 46200,+ "subtotal_excluding_tax": 46200,+ "test_clock": null,+ "total": 46200,+ "total_discount_amounts": [],+ "total_excluding_tax": 46200,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 22200,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 22200,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 22200,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json"+ },+ "payment_method": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 22200,+ "amount_captured": 22200,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "payment_method": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 22200,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 22200,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 46200,+ "currency": "usd",+ "customer": "schedule_upgrade_to_fixed_price_annual_business_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "invoice": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 46200,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "4200"+ },+ "proration": false,+ "quantity": 11,+ "quantity_decimal": "11",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "schedule_upgrade_to_fixed_price_annual_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.1.jsonindex 885d5550f51..b32000e6f3d 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.2.jsonindex 3982b504075..9fc38f6d607 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.pay.1.jsonindex 4606df9411d..1e6f9a72865 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.jsonindex 7b45d074751..10ba77dc5be 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 46200,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.jsonindex 14d9d695455..805d881e32f 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.jsonindex ac4959d755d..d8940fc984f 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.create.1.jsonindex 1c20a79d661..88803e494bf 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.retrieve.1.jsonindex 1c20a79d661..88803e494bf 100644--- a/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/schedule_upgrade_to_fixed_price_annual_business_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.jsonindex 2b769e3c671..828c18028bd 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/sponsorship_access_for_realms_on_paid_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json"+ },+ "payment_method": "sponsorship_access_for_realms_on_paid_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "payment_method": "sponsorship_access_for_realms_on_paid_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "sponsorship_access_for_realms_on_paid_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "invoice": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "sponsorship_access_for_realms_on_paid_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.jsonindex 211416bf326..b048eed5274 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.jsonindex 4f875146960..1387e917b78 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.jsonindex 90bb6f73f46..2fb990a7663 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.create.1.jsonindex 9c1664b61ed..1cde2819d18 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.retrieve.1.jsonindex 9c1664b61ed..1cde2819d18 100644--- a/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/sponsorship_access_for_realms_on_paid_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.jsonindex 36ef5dd5711..6b0cdf25079 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Event.list.1.json@@ -7,7 +7,7 @@"object": {"configuration": "bpc_NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","flow": null,"id": "stripe_billing_portal_urls--Event.list.1.json","livemode": false,@@ -26,7 +26,1182 @@"id": "stripe_billing_portal_urls--Event.list.1.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "billing_portal.session.created"+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "stripe_billing_portal_urls--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "stripe_billing_portal_urls--Customer.retrieve.1.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 0,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": 1000000000,+ "cancellation_reason": "duplicate",+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "stripe_billing_portal_urls--Event.list.1.json"+ },+ "payment_method": "stripe_billing_portal_urls--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "canceled",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 984000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.jsonindex 12c9a3b678a..15a38bcc3c0 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.jsonindex c47e7f2e893..0dc11c67396 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.jsonindex 7935b1fe84b..f8cb311270b 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.create.1.jsonindex 0074193f54e..d0ec010f977 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.retrieve.1.jsonindex 0074193f54e..d0ec010f977 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.jsonindex db1399aa501..99d61161deb 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 200000,+ "amount_remaining": 200000,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "total": 200000,+ "total_excluding_tax": 200000+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 176000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 200000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 200000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_realm--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "test_clock": null,+ "total": 200000,+ "total_discount_amounts": [],+ "total_excluding_tax": 200000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 176000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json"+ },+ "payment_method": "stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_captured": 176000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BUSINESS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "payment_method": "stripe_billing_portal_urls_for_remote_realm--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 176000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 176000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 200000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_realm--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Business",+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 200000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 25,+ "quantity_decimal": "25",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_realm--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.finalize_invoice.1.jsonindex 11296f9ffee..6d1f17acf48 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.pay.1.jsonindex 68e42a44e7e..6ba3bc034bd 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.jsonindex 41bc0c163e5..4fb73500d67 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business","discountable": false,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.jsonindex 07543cd4097..661701fabdb 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.create.1.jsonindex bf12a9af317..53e68db92c9 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.retrieve.1.jsonindex bf12a9af317..53e68db92c9 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_realm--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.jsonindex b5a064c8402..b31a6cb9de2 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Event.list.1.json@@ -20,8 +20,250 @@},"status": "paid","status_transitions": {- "canceled_at": null,- "paid_at": 1000000000+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null}}},@@ -33,7 +275,1763 @@"id": null,"idempotency_key": null},- "type": "invoice_payment.paid"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 200000,+ "amount_remaining": 200000,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "total": 200000,+ "total_excluding_tax": 200000+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 176000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 200000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 200000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/stripe_billing_portal_urls_for_remote_server--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "test_clock": null,+ "total": 200000,+ "total_discount_amounts": [],+ "total_excluding_tax": 200000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "demo.example.com 6cde5f7a-1f7",+ "discount": null,+ "email": "[email protected]",+ "id": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "stripe_billing_portal_urls_for_remote_server--Customer.retrieve.1.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "remote_server_str": "demo.example.com 6cde5f7a-1f7",+ "remote_server_uuid": "6cde5f7a-1f7e-4978-9716-49f69ebfc9fe"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 176000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json"+ },+ "payment_method": "stripe_billing_portal_urls_for_remote_server--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_captured": 176000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BUSINESS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "payment_method": "stripe_billing_portal_urls_for_remote_server--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 176000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 176000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 200000,+ "currency": "usd",+ "customer": "stripe_billing_portal_urls_for_remote_server--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Business",+ "discountable": false,+ "discounts": [],+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "invoice": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 200000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 25,+ "quantity_decimal": "25",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "stripe_billing_portal_urls_for_remote_server--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.finalize_invoice.1.jsonindex 99d80002d4a..5e04f154edc 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.pay.1.jsonindex b7df4a570b8..dbd8ab5219a 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.jsonindex dcca97807da..04a1c44e0d7 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business","discountable": false,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.jsonindex 253ed376e52..96928addbe3 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.create.1.jsonindex bd594a12144..1ad22099c4d 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.retrieve.1.jsonindex bd594a12144..1ad22099c4d 100644--- a/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/stripe_billing_portal_urls_for_remote_server--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.jsonindex 42a2cac7a85..315ec9dca7b 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json"+ },+ "payment_method": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "payment_method": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.1.jsonindex 63aa134212c..b027be1a447 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.2.jsonindex f79759b7c20..ba92eb4f560 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.3.jsonindex 297edf06880..9943a696f52 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.2.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.2.jsonindex 6310e5bd76c..c06ad715716 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -212,7 +212,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.3.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.3.jsonindex 42138a42de8..001651c03ea 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.list.3.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -358,7 +358,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.pay.1.jsonindex fc9759f68f9..b7cf0e4121f 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.jsonindex bd529933ae4..c66f80f0358 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.jsonindex f6a7d499ded..ff4a379c728 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 112000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.jsonindex ad40986e792..6cf4b8b02b5 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 36610,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.jsonindex bb293eb50c4..fc3c3e86b31 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 20000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.create.1.jsonindex 44ba978dc93..7f949e3a167 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.retrieve.1.jsonindex 44ba978dc93..7f949e3a167 100644--- a/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_annual_plan_to_monthly_plan_for_automatic_license_management--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.jsonindex 9f2d75f3bc0..56ba30feba1 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4800,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4800,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 4800,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 4800,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4800,+ "subtotal_excluding_tax": 4800,+ "test_clock": null,+ "total": 4800,+ "total_discount_amounts": [],+ "total_excluding_tax": 4800,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4800,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4800,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 4800,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 4800,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4800,+ "subtotal_excluding_tax": 4800,+ "test_clock": null,+ "total": 4800,+ "total_discount_amounts": [],+ "total_excluding_tax": 4800,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4800,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4800,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 4800,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 4800,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4800,+ "subtotal_excluding_tax": 4800,+ "test_clock": null,+ "total": 4800,+ "total_discount_amounts": [],+ "total_excluding_tax": 4800,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4800,+ "amount_overpaid": 0,+ "amount_paid": 4800,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 4800,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 4800,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4800,+ "subtotal_excluding_tax": 4800,+ "test_clock": null,+ "total": 4800,+ "total_discount_amounts": [],+ "total_excluding_tax": 4800,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 4800,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4800,+ "amount_overpaid": 0,+ "amount_paid": 4800,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 4800,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 4800,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4800,+ "subtotal_excluding_tax": 4800,+ "test_clock": null,+ "total": 4800,+ "total_discount_amounts": [],+ "total_excluding_tax": 4800,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4800,+ "amount_overpaid": 0,+ "amount_paid": 4800,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 4800,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 4800,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4800,+ "subtotal_excluding_tax": 4800,+ "test_clock": null,+ "total": 4800,+ "total_discount_amounts": [],+ "total_excluding_tax": 4800,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4800,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4800,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 4800,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json"+ },+ "payment_method": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4800,+ "amount_captured": 4800,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "payment_method": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 4800,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 4800,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4800,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 4800,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.1.jsonindex 5dcafc5ba2e..e4d351c01f5 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.jsonindex 219613efd3f..35c436ada20 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.3.jsonindex 8b0770e7372..75bba18c1df 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.4.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.4.jsonindex d1af8f43df4..705677016f6 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.4.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.jsonindex 41e2512d546..99f6bfc9230 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.finalize_invoice.5.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.2.jsonindex ce8cc5fc5b4..b8ec71e22cb 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -212,7 +212,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -358,7 +358,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.3.jsonindex ea13abc4a80..4cd6bc3db59 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.3.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -358,7 +358,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -504,7 +504,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.jsonindex 8f3b5e4c6cf..6d3c1d1035c 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.list.4.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -318,7 +318,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -504,7 +504,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -650,7 +650,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.pay.1.jsonindex 6f22b552bcc..217cea1b46d 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.jsonindex acc0f29ccae..45424ba2485 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 4800,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.jsonindex 113b8b5c440..b27bec3ab81 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 11200,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.jsonindex a32b76e788a..f17037e11e9 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 160000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.jsonindex 1917ddc1274..8a32542fe17 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 40000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.jsonindex cf49be83cc7..dc90672b444 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.5.json@@ -1,7 +1,7 @@{"amount": 36830,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.jsonindex 84ae17110bf..f5f7633d001 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--InvoiceItem.create.6.json@@ -1,7 +1,7 @@{"amount": 240000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.create.1.jsonindex 703050fdb45..43475e5f2b7 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.retrieve.1.jsonindex 703050fdb45..43475e5f2b7 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_automatic_license_management--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.jsonindex e212cce80d3..e962e75300d 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 28000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 28000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 28000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 35,+ "quantity_decimal": "35",+ "subtotal": 28000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 28000,+ "subtotal_excluding_tax": 28000,+ "test_clock": null,+ "total": 28000,+ "total_discount_amounts": [],+ "total_excluding_tax": 28000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 28000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 28000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 28000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 35,+ "quantity_decimal": "35",+ "subtotal": 28000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 28000,+ "subtotal_excluding_tax": 28000,+ "test_clock": null,+ "total": 28000,+ "total_discount_amounts": [],+ "total_excluding_tax": 28000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 28000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 28000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 28000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 35,+ "quantity_decimal": "35",+ "subtotal": 28000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 28000,+ "subtotal_excluding_tax": 28000,+ "test_clock": null,+ "total": 28000,+ "total_discount_amounts": [],+ "total_excluding_tax": 28000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 28000,+ "amount_overpaid": 0,+ "amount_paid": 28000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 28000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 35,+ "quantity_decimal": "35",+ "subtotal": 28000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 28000,+ "subtotal_excluding_tax": 28000,+ "test_clock": null,+ "total": 28000,+ "total_discount_amounts": [],+ "total_excluding_tax": 28000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 28000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 28000,+ "amount_overpaid": 0,+ "amount_paid": 28000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 28000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 35,+ "quantity_decimal": "35",+ "subtotal": 28000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 28000,+ "subtotal_excluding_tax": 28000,+ "test_clock": null,+ "total": 28000,+ "total_discount_amounts": [],+ "total_excluding_tax": 28000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 28000,+ "amount_overpaid": 0,+ "amount_paid": 28000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 28000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "quantity": 35,+ "quantity_decimal": "35",+ "subtotal": 28000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "35",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 28000,+ "subtotal_excluding_tax": 28000,+ "test_clock": null,+ "total": 28000,+ "total_discount_amounts": [],+ "total_excluding_tax": 28000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 28000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 28000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 28000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json"+ },+ "payment_method": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 28000,+ "amount_captured": 28000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "payment_method": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 28000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 28000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 28000,+ "currency": "usd",+ "customer": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "invoice": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 28000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "800"+ },+ "proration": false,+ "quantity": 35,+ "quantity_decimal": "35",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.1.jsonindex c1a284559bf..5422285543a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.2.jsonindex d36393c9ac2..c106484065a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.3.jsonindex acb058ccfd3..b1642bde0a8 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.2.jsonindex ceea72bd255..4217a4c4f6b 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.3.jsonindex f013cd29e2d..301cb78f432 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.list.3.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -318,7 +318,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.pay.1.jsonindex 75cc352d6e9..df7bf21e4b8 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.jsonindex 2a9f3651a00..c315425be1f 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 28000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.jsonindex d533791352f..65df332055a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 280000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.jsonindex b9f7b76a359..1344cb4604a 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 280000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.create.1.jsonindex a8a21a41615..cfa3fd80828 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.retrieve.1.jsonindex a8a21a41615..cfa3fd80828 100644--- a/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/switch_from_monthly_plan_to_annual_plan_for_manual_license_management--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.create.1.jsonindex 08a9bc29068..a7a2f1539a8 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.retrieve.1.jsonindex 08a9bc29068..a7a2f1539a8 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_annual_to_monthly--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.create.1.jsonindex ee6825a452e..c55b97818ed 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.retrieve.1.jsonindex ee6825a452e..c55b97818ed 100644--- a/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/switch_now_free_trial_from_monthly_to_annual--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.jsonindex 532e6d73958..6d787ae353d 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/switch_realm_from_standard_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "switch_realm_from_standard_to_plus_plan--Event.list.1.json"+ },+ "payment_method": "switch_realm_from_standard_to_plus_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "payment_method": "switch_realm_from_standard_to_plus_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "switch_realm_from_standard_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "invoice": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "switch_realm_from_standard_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.jsonindex 62599396ad9..ef6856d66a4 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.jsonindex 862cbc5eb0b..9797ee1eb97 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.jsonindex eb1bf2fe2de..586054e1119 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.jsonindex 2bf715cbc6d..88cb81d49b1 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.jsonindex 7c9fa5072ee..3a5eaf210ba 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.create.1.jsonindex 0b56d0f2905..377b5484b9b 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.retrieve.1.jsonindex 0b56d0f2905..377b5484b9b 100644--- a/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/switch_realm_from_standard_to_plus_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.jsonindex f88a72c0775..94d057d2b66 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json@@ -5,7 +5,1138 @@"created": 1000000000,"data": {"object": {- "amount": 984000,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 800000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 800000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 800000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 100,+ "quantity_decimal": "100",+ "subtotal": 800000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 800000,+ "subtotal_excluding_tax": 800000,+ "test_clock": null,+ "total": 800000,+ "total_discount_amounts": [],+ "total_excluding_tax": 800000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 800000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 800000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 800000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 100,+ "quantity_decimal": "100",+ "subtotal": 800000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 800000,+ "subtotal_excluding_tax": 800000,+ "test_clock": null,+ "total": 800000,+ "total_discount_amounts": [],+ "total_excluding_tax": 800000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 800000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 800000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 800000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 100,+ "quantity_decimal": "100",+ "subtotal": 800000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 800000,+ "subtotal_excluding_tax": 800000,+ "test_clock": null,+ "total": 800000,+ "total_discount_amounts": [],+ "total_excluding_tax": 800000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 800000,+ "amount_overpaid": 0,+ "amount_paid": 800000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 800000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 100,+ "quantity_decimal": "100",+ "subtotal": 800000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 800000,+ "subtotal_excluding_tax": 800000,+ "test_clock": null,+ "total": 800000,+ "total_discount_amounts": [],+ "total_excluding_tax": 800000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 800000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 800000,+ "amount_overpaid": 0,+ "amount_paid": 800000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 800000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 100,+ "quantity_decimal": "100",+ "subtotal": 800000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/update_licenses_of_manual_plan_from_billing_page--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "100",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 800000,+ "subtotal_excluding_tax": 800000,+ "test_clock": null,+ "total": 800000,+ "total_discount_amounts": [],+ "total_excluding_tax": 800000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 800000,"amount_capturable": 0,"amount_details": {"tip": {}@@ -21,7 +1152,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",@@ -75,6 +1206,139 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 800000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 800000,+ "currency": "usd",+ "customer": "update_licenses_of_manual_plan_from_billing_page--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "invoice": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 800000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 100,+ "quantity_decimal": "100",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "update_licenses_of_manual_plan_from_billing_page--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.1.jsonindex d1284b859f4..05cb9b338a2 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.2.jsonindex 170243fb59b..2c7563d894a 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.3.jsonindex e82e0e8c687..f61a5faf522 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.4.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.4.jsonindex 7517a6a1a23..d38d6c7e928 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.4.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.finalize_invoice.4.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.1.jsonindex 4654b0bc080..83b21167597 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -318,7 +318,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.2.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.2.jsonindex e64f642578b..280e165ae71 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -318,7 +318,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -464,7 +464,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.pay.1.jsonindex 40279c417ec..ae04387abc8 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.jsonindex 904292e11b7..be15c353e4a 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 800000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.jsonindex 289f5d3f9db..c9c7f727041 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 400000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.jsonindex 60f2195b846..66cbbe7c5c7 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 1200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.json b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.jsonindex ae39c3ad484..b0aabeb5982 100644--- a/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.json+++ b/corporate/tests/stripe_fixtures/update_licenses_of_manual_plan_from_billing_page--InvoiceItem.create.4.json@@ -1,7 +1,7 @@{"amount": 960000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.jsonindex c77ee58b18e..f5add3751df 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.jsonindex bfa4e1d5a54..91128974d80 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card--Event.list.1.json@@ -5,7 +5,1263 @@"created": 1000000000,"data": {"object": {- "amount": 800000,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_card--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "upgrade_by_card--Customer.retrieve.2.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,"amount_capturable": 0,"amount_details": {"tip": {}@@ -21,7 +1277,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "upgrade_by_card--Event.list.1.json",@@ -74,7 +1330,263 @@"id": "upgrade_by_card--Event.list.1.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "payment_intent.canceled"+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_by_card--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_by_card--Event.list.1.json"+ },+ "payment_method": "upgrade_by_card--Customer.retrieve.2.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_by_card--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_by_card--Event.list.1.json",+ "payment_method": "upgrade_by_card--Customer.retrieve.2.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "upgrade_by_card--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card--Event.list.1.json",+ "invoice": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_card--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.jsonindex 469388a2ceb..c83d27d18b8 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.jsonindex 65d7105b3c0..d57e1131d57 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 120000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 120000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 120000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 10,+ "quantity_decimal": "10",+ "subtotal": 120000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 120000,+ "subtotal_excluding_tax": 120000,+ "test_clock": null,+ "total": 120000,+ "total_discount_amounts": [],+ "total_excluding_tax": 120000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 120000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 120000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 120000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 10,+ "quantity_decimal": "10",+ "subtotal": 120000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 120000,+ "subtotal_excluding_tax": 120000,+ "test_clock": null,+ "total": 120000,+ "total_discount_amounts": [],+ "total_excluding_tax": 120000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 120000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 120000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 120000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 10,+ "quantity_decimal": "10",+ "subtotal": 120000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 120000,+ "subtotal_excluding_tax": 120000,+ "test_clock": null,+ "total": 120000,+ "total_discount_amounts": [],+ "total_excluding_tax": 120000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 120000,+ "amount_overpaid": 0,+ "amount_paid": 120000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 120000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 10,+ "quantity_decimal": "10",+ "subtotal": 120000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 120000,+ "subtotal_excluding_tax": 120000,+ "test_clock": null,+ "total": 120000,+ "total_discount_amounts": [],+ "total_excluding_tax": 120000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 120000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 120000,+ "amount_overpaid": 0,+ "amount_paid": 120000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 120000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 10,+ "quantity_decimal": "10",+ "subtotal": 120000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 120000,+ "subtotal_excluding_tax": 120000,+ "test_clock": null,+ "total": 120000,+ "total_discount_amounts": [],+ "total_excluding_tax": 120000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 120000,+ "amount_overpaid": 0,+ "amount_paid": 120000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 120000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 10,+ "quantity_decimal": "10",+ "subtotal": 120000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "10",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 120000,+ "subtotal_excluding_tax": 120000,+ "test_clock": null,+ "total": 120000,+ "total_discount_amounts": [],+ "total_excluding_tax": 120000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 120000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 120000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 120000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_by_card_to_plus_plan--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_by_card_to_plus_plan--Event.list.1.json"+ },+ "payment_method": "upgrade_by_card_to_plus_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 120000,+ "amount_captured": 120000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD PLUS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_by_card_to_plus_plan--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "payment_method": "upgrade_by_card_to_plus_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 120000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 120000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 120000,+ "currency": "usd",+ "customer": "upgrade_by_card_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Plus",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 120000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "proration": false,+ "quantity": 10,+ "quantity_decimal": "10",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.finalize_invoice.1.jsonindex 5e0aeae077c..e5d85869214 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.list.2.jsonindex 0319a1eb27e..2296d2613fa 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.pay.1.jsonindex 92c114ae697..ac0732359e6 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.jsonindex 6e33e18a0c3..7168728e0e4 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 120000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.create.1.jsonindex 43a71168c81..2db61295843 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.retrieve.1.jsonindex 43a71168c81..2db61295843 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_to_plus_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.jsonindex a0f4445b043..e55270e6f04 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.jsonindex 542a89f415d..1f7f1dc8dcd 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json"+ },+ "payment_method": "upgrade_by_card_with_outdated_lower_seat_count--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "payment_method": "upgrade_by_card_with_outdated_lower_seat_count--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_lower_seat_count--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_lower_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.finalize_invoice.1.jsonindex e76281a7739..d8472a09022 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.list.2.jsonindex 0817134bf94..3324cc45436 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.pay.1.jsonindex 62261867c11..c430a94bcca 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.jsonindex 955f25b8251..1a8e2c8235f 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.create.1.jsonindex e786c874ca1..5545ac4fd0e 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.retrieve.1.jsonindex e786c874ca1..5545ac4fd0e 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_lower_seat_count--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.jsonindex ed28e502c0f..4e8871468cf 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.jsonindex 0affe71552c..a35b3043949 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Event.list.1.json@@ -20,8 +20,499 @@},"status": "paid","status_transitions": {- "canceled_at": null,- "paid_at": 1000000000+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {},+ "next_payment_attempt": 1000000000,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 136000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 136000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 136000,+ "currency": "usd",+ "description": "Additional Zulip Cloud Standard license",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 17,+ "quantity_decimal": "17",+ "subtotal": 136000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {},+ "next_payment_attempt": 1000000000,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 136000,+ "subtotal_excluding_tax": 136000,+ "test_clock": null,+ "total": 136000,+ "total_discount_amounts": [],+ "total_excluding_tax": 136000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 136000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 136000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 136000,+ "currency": "usd",+ "description": "Additional Zulip Cloud Standard license",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 17,+ "quantity_decimal": "17",+ "subtotal": 136000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {},+ "next_payment_attempt": 1000000000,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 136000,+ "subtotal_excluding_tax": 136000,+ "test_clock": null,+ "total": 136000,+ "total_discount_amounts": [],+ "total_excluding_tax": 136000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null}}},@@ -33,7 +524,1754 @@"id": null,"idempotency_key": null},- "type": "invoice_payment.paid"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 136000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 136000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 136000,+ "currency": "usd",+ "description": "Additional Zulip Cloud Standard license",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 17,+ "quantity_decimal": "17",+ "subtotal": 136000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {},+ "next_payment_attempt": 1000000000,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 136000,+ "subtotal_excluding_tax": 136000,+ "test_clock": null,+ "total": 136000,+ "total_discount_amounts": [],+ "total_excluding_tax": 136000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "upgrade_by_card_with_outdated_seat_count--Customer.retrieve.1.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 136000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 136000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Additional Zulip Cloud Standard license",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 136000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 17,+ "quantity_decimal": "17",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_by_card_with_outdated_seat_count--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json"+ },+ "payment_method": "upgrade_by_card_with_outdated_seat_count--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_by_card_with_outdated_seat_count--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "payment_method": "upgrade_by_card_with_outdated_seat_count--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.jsonindex f415fcc45c3..937c18c1b84 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.2.jsonindex 5428e03cab4..379bf49c662 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.jsonindex 62e232f04d6..a6cc22c2a1e 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -172,7 +172,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.jsonindex 804ec5ea9da..5c5d017ce45 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.jsonindex ed024ae74c3..f42a3c07358 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.jsonindex a0bad090aa4..fea3055b2c7 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 136000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Additional Zulip Cloud Standard license","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.create.1.jsonindex f03628960f7..58061d74af8 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.retrieve.1.jsonindex f03628960f7..58061d74af8 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.jsonindex 1d4f945c70a..01d70f33c67 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json@@ -26,7 +26,7 @@"captured": true,"created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","destination": null,"dispute": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.jsonindex d0520a8caa9..9972099f66a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 40000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "quantity_decimal": "5",+ "subtotal": 40000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 40000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "quantity_decimal": "5",+ "subtotal": 40000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 40000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "quantity_decimal": "5",+ "subtotal": 40000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 40000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "quantity_decimal": "5",+ "subtotal": 40000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 40000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 40000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "quantity_decimal": "5",+ "subtotal": 40000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 40000,+ "amount_overpaid": 0,+ "amount_paid": 40000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 40000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 5,+ "quantity_decimal": "5",+ "subtotal": 40000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "5",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 40000,+ "subtotal_excluding_tax": 40000,+ "test_clock": null,+ "total": 40000,+ "total_discount_amounts": [],+ "total_excluding_tax": 40000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 40000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 40000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 40000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json"+ },+ "payment_method": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 40000,+ "amount_captured": 40000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Charge.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "payment_method": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 40000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 40000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 40000,+ "currency": "usd",+ "customer": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "invoice": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 40000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 5,+ "quantity_decimal": "5",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.jsonindex 3c24526b332..43958d4bf04 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.jsonindex 2c9779147c7..3fedcf699ca 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.jsonindex 913a280ff62..03c20658707 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.jsonindex 8ebb6928568..7fbe24386e1 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 40000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.create.1.jsonindex 3aa2449bef1..dee73b0fb44 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.retrieve.1.jsonindex 3aa2449bef1..dee73b0fb44 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_card_with_outdated_seat_count_and_minimum_for_plan_tier--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.jsonindex 207bb43fa59..71962deeebb 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Event.list.1.json@@ -11,7 +11,321 @@"amount_due": 960000,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 960000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,"amount_shipping": 0,"application": null,"attempt_count": 0,@@ -30,7 +344,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -145,10 +459,27 @@"test_clock": null,"total": 960000,"total_discount_amounts": [],- "total_excluding_tax": 960000,+ "total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }}},"id": "upgrade_by_invoice--Event.list.1.json",@@ -159,7 +490,855 @@"id": "upgrade_by_invoice--Event.list.1.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.finalized"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_invoice--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_invoice--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 0,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": 1000000000,+ "cancellation_reason": "duplicate",+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_invoice--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_by_invoice--Event.list.1.json"+ },+ "payment_method": null,+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "canceled",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_invoice--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "currency": "usd",+ "customer": "upgrade_by_invoice--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice--Event.list.1.json",+ "invoice": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 984000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_invoice--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.finalize_invoice.1.jsonindex 465275322f0..53fd6cdbf39 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.list.1.jsonindex af3695c14b5..1df3a3d5e92 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.pay.1.jsonindex 6968dea06c7..ba94a6a7ed9 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.jsonindex 1a5f1b4fedc..9d5ac73034d 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.jsonindex 8d52befe9fb..a28b631757b 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Event.list.1.json@@ -5,7 +5,1138 @@"created": 1000000000,"data": {"object": {- "amount": 984000,+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_by_invoice_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1476000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1476000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 1476000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 1476000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1476000,+ "subtotal_excluding_tax": 1476000,+ "test_clock": null,+ "total": 1476000,+ "total_discount_amounts": [],+ "total_excluding_tax": 1476000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1476000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1476000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 1476000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 1476000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1476000,+ "subtotal_excluding_tax": 1476000,+ "test_clock": null,+ "total": 1476000,+ "total_discount_amounts": [],+ "total_excluding_tax": 1476000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1476000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1476000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 1476000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 1476000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1476000,+ "subtotal_excluding_tax": 1476000,+ "test_clock": null,+ "total": 1476000,+ "total_discount_amounts": [],+ "total_excluding_tax": 1476000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1476000,+ "amount_overpaid": 0,+ "amount_paid": 1476000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 1476000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 1476000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1476000,+ "subtotal_excluding_tax": 1476000,+ "test_clock": null,+ "total": 1476000,+ "total_discount_amounts": [],+ "total_excluding_tax": 1476000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 1476000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1476000,+ "amount_overpaid": 0,+ "amount_paid": 1476000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 1476000,+ "currency": "usd",+ "description": "Zulip Cloud Plus",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 1476000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_by_invoice_to_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "2",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Plus",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1476000,+ "subtotal_excluding_tax": 1476000,+ "test_clock": null,+ "total": 1476000,+ "total_discount_amounts": [],+ "total_excluding_tax": 1476000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1476000,"amount_capturable": 0,"amount_details": {"tip": {}@@ -21,7 +1152,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",@@ -75,6 +1206,139 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1476000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Plus",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1476000,+ "currency": "usd",+ "customer": "upgrade_by_invoice_to_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Plus",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "invoice": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 1476000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "12000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_by_invoice_to_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.jsonindex 6a4900dfdd2..7a78b3cf91a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.jsonindex 210dc38b567..fc4a81ac9bf 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.jsonindex 9d261482e28..af57b5b7b7a 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.jsonindex 83e2509ba4f..cba3e4191d4 100644--- a/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_by_invoice_to_plus_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 1476000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.create.1.jsonindex 5ba5e9b24f1..373250d90c6 100644--- a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.retrieve.1.jsonindex 5ba5e9b24f1..373250d90c6 100644--- a/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_complimentary_access_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.create.1.jsonindex d3658aea0d3..fa940a7efc2 100644--- a/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.retrieve.1.jsonindex d3658aea0d3..fa940a7efc2 100644--- a/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_license_counts--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.jsonindex d8b27378a12..3206396d8a5 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.jsonindex d8b27378a12..3206396d8a5 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.refresh.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.jsonindex d8b27378a12..3206396d8a5 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--Invoice.retrieve.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.jsonindex 0ae07de2866..8ee25195d49 100644--- a/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_pay_by_invoice--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 320000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.jsonindex 69c762789be..bf43efe4e3a 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Event.list.1.json@@ -1,5 +1,1210 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 48000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 48000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 48000,+ "amount_overpaid": 0,+ "amount_paid": 48000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 48000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 6,+ "quantity_decimal": "6",+ "subtotal": 48000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_race_condition_during_card_upgrade--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "6",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 48000,+ "subtotal_excluding_tax": 48000,+ "test_clock": null,+ "total": 48000,+ "total_discount_amounts": [],+ "total_excluding_tax": 48000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1256,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 48000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_race_condition_during_card_upgrade--Event.list.1.json"+ },+ "payment_method": "upgrade_race_condition_during_card_upgrade--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "amount_captured": 48000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP CLOUD STANDARD",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "payment_method": "upgrade_race_condition_during_card_upgrade--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 48000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 48000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 48000,+ "currency": "usd",+ "customer": "upgrade_race_condition_during_card_upgrade--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "invoice": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 48000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1000000000,+ "start": 1000000000+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 6,+ "quantity_decimal": "6",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_race_condition_during_card_upgrade--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.finalize_invoice.1.jsonindex a2e8ba8b5ad..d6b56d99cae 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.list.2.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.list.2.jsonindex 12ae8344ae8..277a63c25d0 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.list.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.list.2.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.pay.1.jsonindex 57d2e1e3200..f443b63451b 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.jsonindex de70be3810e..d9d392ad313 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 48000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.create.1.jsonindex ae6f823ecac..86c36c5cce6 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.retrieve.1.jsonindex ae6f823ecac..86c36c5cce6 100644--- a/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_race_condition_during_card_upgrade--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.jsonindex a954fb097a8..3c0ce1f53b4 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 1850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 3850,+ "amount_remaining": 3850,+ "lines": {+ "data": [+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 3850,+ "subtotal_excluding_tax": 3850,+ "total": 3850,+ "total_excluding_tax": 3850+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 1850,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 1850,+ "amount_overpaid": 0,+ "amount_paid": 1850,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 1850,+ "subtotal_excluding_tax": 1850,+ "test_clock": null,+ "total": 1850,+ "total_discount_amounts": [],+ "total_excluding_tax": 1850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 3850,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 3850,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 3850,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 11,+ "quantity_decimal": "11",+ "subtotal": 3850,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 3850,+ "subtotal_excluding_tax": 3850,+ "test_clock": null,+ "total": 3850,+ "total_discount_amounts": [],+ "total_excluding_tax": 3850,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 1850,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json"+ },+ "payment_method": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 1850,+ "amount_captured": 1850,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "payment_method": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 1850,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 1850,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 3850,+ "currency": "usd",+ "customer": "upgrade_remote_realm_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 3850,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 11,+ "quantity_decimal": "11",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_remote_realm_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.jsonindex ee7946c4891..7c3eeb23de6 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.pay.1.jsonindex d21793527e6..bbb71ce3225 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.jsonindex 7417d7d04f9..7bdb5ee1564 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 3850,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.jsonindex cd2dfb22154..c02dd668008 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.create.1.jsonindex 28065c0e3c3..2aac95abdc9 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.retrieve.1.jsonindex 28065c0e3c3..2aac95abdc9 100644--- a/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_remote_realm_user_to_monthly_basic_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.jsonindex e14d73b5736..ac7d9ce1809 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json@@ -1,5 +1,1203 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 10000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1249,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 10000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json"+ },+ "payment_method": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "amount_captured": 10000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "payment_method": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 10000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 10000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "currency": "usd",+ "customer": "upgrade_server_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 10000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.jsonindex aba3c72ca04..456361344e2 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.jsonindex 1d61dbb7694..e0ea4473909 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.jsonindex 1050b4058f8..825c82a45f1 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.3.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.jsonindex b4d3a5d361f..a34980378e5 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.jsonindex d8c96e20d53..8571ccbab5b 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.jsonindex 2ac0d71e173..fb6304c25ba 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.jsonindex 047ac7aeaa1..1b8b6f84096 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--InvoiceItem.create.3.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.jsonindex 60cf014bca5..06d704389b4 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.jsonindex 60cf014bca5..06d704389b4 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.jsonindex 03f90aa7107..1d5bbcd4328 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json@@ -20,8 +20,250 @@},"status": "paid","status_transitions": {- "canceled_at": null,- "paid_at": 1000000000+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null}}},@@ -33,7 +275,1763 @@"id": null,"idempotency_key": null},- "type": "invoice_payment.paid"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 4300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 6300,+ "amount_remaining": 6300,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "total": 6300,+ "total_excluding_tax": 6300+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 4300,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 4300,+ "amount_overpaid": 0,+ "amount_paid": 4300,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -2000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -2000,+ "taxes": []+ },+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 4300,+ "subtotal_excluding_tax": 4300,+ "test_clock": null,+ "total": 4300,+ "total_discount_amounts": [],+ "total_excluding_tax": 4300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 6300,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 6300,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 6300,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "quantity": 18,+ "quantity_decimal": "18",+ "subtotal": 6300,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_server_user_to_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "18",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 6300,+ "subtotal_excluding_tax": 6300,+ "test_clock": null,+ "total": 6300,+ "total_discount_amounts": [],+ "total_excluding_tax": 6300,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "demo.example.com 6cde5f7a-1f7",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": "upgrade_server_user_to_monthly_basic_plan--Customer.retrieve.1.json",+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "remote_server_str": "demo.example.com 6cde5f7a-1f7",+ "remote_server_uuid": "6cde5f7a-1f7e-4978-9716-49f69ebfc9fe"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -2000,+ "currency": "usd",+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -2000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-2000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 4300,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json"+ },+ "payment_method": "upgrade_server_user_to_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 4300,+ "amount_captured": 4300,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "payment_method": "upgrade_server_user_to_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 4300,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 4300,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 6300,+ "currency": "usd",+ "customer": "upgrade_server_user_to_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 6300,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1328151845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "350"+ },+ "proration": false,+ "quantity": 18,+ "quantity_decimal": "18",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_server_user_to_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.jsonindex 984ece1a896..4bfe8fb7477 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.pay.1.jsonindex 1c0b5010b3f..45c6afebbe1 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.jsonindex c5c6931c5a3..9ca96b054ba 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 6300,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.jsonindex 9dd6f26f178..1f537744ec8 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -2000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.create.1.jsonindex 19f0aff36a6..ae571579f22 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.retrieve.1.jsonindex 19f0aff36a6..ae571579f22 100644--- a/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_server_user_to_monthly_basic_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.jsonindex 40ed9df7735..38bfd03abf6 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Event.list.1.json@@ -11,7 +11,321 @@"amount_due": 2285250,"amount_overpaid": 0,"amount_paid": 0,- "amount_remaining": 2285250,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,"amount_shipping": 0,"application": null,"attempt_count": 0,@@ -30,7 +344,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,@@ -265,10 +579,27 @@"test_clock": null,"total": 2285250,"total_discount_amounts": [],- "total_excluding_tax": 2285250,+ "total_excluding_tax": 984000,"total_pretax_credit_amounts": [],"total_taxes": [],"webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }}},"id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",@@ -279,7 +610,855 @@"id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json","idempotency_key": "00000000-0000-0000-0000-000000000000"},- "type": "invoice.finalized"+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 984000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 984000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 984000,+ "amount_overpaid": 0,+ "amount_paid": 984000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 984000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 123,+ "quantity_decimal": "123",+ "subtotal": 984000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_to_fixed_price_plus_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "123",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 984000,+ "subtotal_excluding_tax": 984000,+ "test_clock": null,+ "total": 984000,+ "total_discount_amounts": [],+ "total_excluding_tax": 984000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 0,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": 1000000000,+ "cancellation_reason": "duplicate",+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_to_fixed_price_plus_plan--Event.list.1.json"+ },+ "payment_method": null,+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "canceled",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 984000,+ "currency": "usd",+ "customer": "upgrade_to_fixed_price_plus_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "invoice": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 984000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 123,+ "quantity_decimal": "123",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_to_fixed_price_plus_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.1.jsonindex d646d6567ae..01f25f91be8 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.jsonindex 102099750e8..2e03f707271 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.pay.1.jsonindex 7ef32e074d9..4e70db03785 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.jsonindex 1bd6a15401c..96881e557c1 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 984000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.jsonindex 50a5a50e8fd..382d7645b24 100644--- a/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_to_fixed_price_plus_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 36000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Plus - renewal","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.create.1.jsonindex 46f09e07f86..191d68d57bc 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.retrieve.1.jsonindex 46f09e07f86..191d68d57bc 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.create.1.jsonindex ef2db2fb967..314d50bf74a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.retrieve.1.jsonindex ef2db2fb967..314d50bf74a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_basic_plan_free_trial_remote_server--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.jsonindex eb38723986f..1601ac4f0f9 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Event.list.1.json@@ -1,5 +1,1689 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 176000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 200000,+ "amount_remaining": 200000,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "total_count": 1+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "total": 200000,+ "total_excluding_tax": 200000+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 176000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 176000,+ "amount_overpaid": 0,+ "amount_paid": 176000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": -24000,+ "currency": "usd",+ "description": "$20.00/month new customer discount",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": -24000,+ "taxes": []+ },+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 2,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 176000,+ "subtotal_excluding_tax": 176000,+ "test_clock": null,+ "total": 176000,+ "total_discount_amounts": [],+ "total_excluding_tax": 176000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 200000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 200000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 200000,+ "currency": "usd",+ "description": "Zulip Business",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_business_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 25,+ "quantity_decimal": "25",+ "subtotal": 200000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_business_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "25",+ "on_free_trial": "False",+ "plan_tier": "104"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Business",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 200000,+ "subtotal_excluding_tax": 200000,+ "test_clock": null,+ "total": 200000,+ "total_discount_amounts": [],+ "total_excluding_tax": 200000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1735,386 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": -24000,+ "currency": "usd",+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "$20.00/month new customer discount",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": -24000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "-24000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 176000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_user_to_business_plan--Event.list.1.json"+ },+ "payment_method": "upgrade_user_to_business_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 176000,+ "amount_captured": 176000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BUSINESS",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_user_to_business_plan--Event.list.1.json",+ "payment_method": "upgrade_user_to_business_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 176000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 176000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Business",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 200000,+ "currency": "usd",+ "customer": "upgrade_user_to_business_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Business",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 200000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 25,+ "quantity_decimal": "25",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_business_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.finalize_invoice.1.jsonindex e5c6950d983..9dbfc8b3b0a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.pay.1.jsonindex 9fc9e7ee71c..22f7d012634 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.jsonindex fa115a34525..9a27b12a868 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 200000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Business","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.jsonindex de10a7bb0f7..d01a8347a45 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": -24000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "$20.00/month new customer discount","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.create.1.jsonindex 06b4e991f54..e39c857539e 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.retrieve.1.jsonindex 06b4e991f54..e39c857539e 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_business_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.jsonindex ef2d0c15207..8349917056e 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json@@ -1,5 +1,1203 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 10000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 10000,+ "attempt_count": 0,+ "attempted": false,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 10000,+ "amount_overpaid": 0,+ "amount_paid": 10000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 1,+ "attempted": true,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "charge_automatically",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": null,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 10000,+ "currency": "usd",+ "description": "Zulip Basic",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "quantity": 1,+ "quantity_decimal": "1",+ "subtotal": 10000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "2",+ "current_plan_id": "None",+ "license_management": "automatic",+ "licenses": "11",+ "on_free_trial": "False",+ "plan_tier": "103"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Basic",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 10000,+ "subtotal_excluding_tax": 10000,+ "test_clock": null,+ "total": 10000,+ "total_discount_amounts": [],+ "total_excluding_tax": 10000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.payment_succeeded"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -51,6 +1249,337 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "amount_capturable": 0,+ "amount_details": {+ "tip": {}+ },+ "amount_received": 10000,+ "application": null,+ "application_fee_amount": null,+ "automatic_payment_methods": null,+ "canceled_at": null,+ "cancellation_reason": null,+ "capture_method": "automatic",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "managed_payments": {+ "enabled": false+ },+ "metadata": {},+ "next_action": null,+ "object": "payment_intent",+ "on_behalf_of": null,+ "payment_details": {+ "customer_reference": null,+ "order_reference": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json"+ },+ "payment_method": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_configuration_details": null,+ "payment_method_options": {+ "card": {+ "installments": null,+ "mandate_options": null,+ "network": null,+ "request_three_d_secure": "automatic"+ },+ "cashapp": {}+ },+ "payment_method_types": [+ "card",+ "cashapp"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "amount_captured": 10000,+ "amount_refunded": 0,+ "application": null,+ "application_fee": null,+ "application_fee_amount": null,+ "balance_transaction": "txn_NORMALIZED",+ "billing_details": {+ "address": {+ "city": "San Francisco",+ "country": "US",+ "line1": "123 Main St",+ "line2": null,+ "postal_code": "12345",+ "state": "CA"+ },+ "email": null,+ "name": "John Doe",+ "phone": null,+ "tax_id": null+ },+ "calculated_statement_descriptor": "ZULIP BASIC",+ "captured": true,+ "created": 1000000000,+ "currency": "usd",+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "description": "Payment for Invoice",+ "destination": null,+ "dispute": null,+ "disputed": false,+ "failure_balance_transaction": null,+ "failure_code": null,+ "failure_message": null,+ "fraud_details": {},+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "charge",+ "on_behalf_of": null,+ "order": null,+ "outcome": {+ "advice_code": null,+ "network_advice_code": null,+ "network_decline_code": null,+ "network_status": "approved_by_network",+ "reason": null,+ "risk_level": "normal",+ "risk_score": 0,+ "seller_message": "Payment complete.",+ "type": "authorized"+ },+ "paid": true,+ "payment_intent": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "payment_method": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.retrieve.1.json",+ "payment_method_details": {+ "card": {+ "amount_authorized": 10000,+ "authorization_code": "000000",+ "brand": "visa",+ "checks": {+ "address_line1_check": "pass",+ "address_postal_code_check": "pass",+ "cvc_check": "pass"+ },+ "country": "US",+ "ds_transaction_id": null,+ "exp_month": 1,+ "exp_year": 9999,+ "extended_authorization": {+ "status": "disabled"+ },+ "fingerprint": "NORMALIZED",+ "funding": "credit",+ "incremental_authorization": {+ "status": "unavailable"+ },+ "installments": null,+ "last4": "4242",+ "mandate": null,+ "multicapture": {+ "status": "unavailable"+ },+ "network": "visa",+ "network_token": {+ "used": false+ },+ "network_transaction_id": "000000000000000",+ "overcapture": {+ "maximum_amount_capturable": 10000,+ "status": "unavailable"+ },+ "regulated_status": "unregulated",+ "three_d_secure": null,+ "wallet": null+ },+ "type": "card"+ },+ "radar_options": {},+ "receipt_email": "[email protected]",+ "receipt_number": null,+ "receipt_url": "https://pay.stripe.com/receipts/invoices/NORMALIZED?s=ap",+ "refunded": false,+ "review": null,+ "shipping": null,+ "source": null,+ "source_transfer": null,+ "statement_descriptor": "Zulip Basic",+ "statement_descriptor_suffix": null,+ "status": "succeeded",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "charge.succeeded"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 10000,+ "currency": "usd",+ "customer": "upgrade_user_to_fixed_price_monthly_basic_plan--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Basic",+ "discountable": false,+ "discounts": [],+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "invoice": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 10000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "10000"+ },+ "proration": false,+ "quantity": 1,+ "quantity_decimal": "1",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "upgrade_user_to_fixed_price_monthly_basic_plan--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.jsonindex 8197d77013f..8975a70990a 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.pay.1.jsonindex 715104b7e98..31d6104e8a6 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.jsonindex aa7b4e7560d..7b870ee9884 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 10000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Basic","discountable": false,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.jsonindex 44c4ca8906f..b74c146092b 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.jsonindex 44c4ca8906f..b74c146092b 100644--- a/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_user_to_fixed_price_monthly_basic_plan--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.create.1.json b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.create.1.jsonindex f729c5344ac..41f7863cb1e 100644--- a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.create.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.create.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.retrieve.1.json b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.retrieve.1.jsonindex f729c5344ac..41f7863cb1e 100644--- a/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.retrieve.1.json+++ b/corporate/tests/stripe_fixtures/upgrade_with_uncaught_exception--SetupIntent.retrieve.1.json@@ -4,7 +4,7 @@"cancellation_reason": null,"client_secret": "NORMALIZED","created": 1000000000,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": null,"excluded_payment_method_types": null,"flow_directions": null,diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.jsonindex 42f5ab3c164..467bff7965f 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Event.list.1.json@@ -1,5 +1,1136 @@{"data": [+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 0,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [],+ "has_more": false,+ "object": "list",+ "total_count": 0,+ "url": "/v1/invoices/validate_licenses_for_manual_plan_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "7",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "test_clock": null,+ "total": 0,+ "total_discount_amounts": [],+ "total_excluding_tax": 0,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 56000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 56000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": 1000000000,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": null,+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice_pdf": null,+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 56000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 7,+ "quantity_decimal": "7",+ "subtotal": 56000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/validate_licenses_for_manual_plan_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "7",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": null,+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "draft",+ "status_transitions": {+ "finalized_at": null,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 56000,+ "subtotal_excluding_tax": 56000,+ "test_clock": null,+ "total": 56000,+ "total_discount_amounts": [],+ "total_excluding_tax": 56000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_due": 0,+ "amount_remaining": 0,+ "lines": {+ "data": [],+ "total_count": 0+ },+ "subtotal": 0,+ "subtotal_excluding_tax": 0,+ "total": 0,+ "total_excluding_tax": 0+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 56000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 56000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 56000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 7,+ "quantity_decimal": "7",+ "subtotal": 56000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/validate_licenses_for_manual_plan_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "7",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 56000,+ "subtotal_excluding_tax": 56000,+ "test_clock": null,+ "total": 56000,+ "total_discount_amounts": [],+ "total_excluding_tax": 56000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "automatically_finalizes_at": 1000000000,+ "effective_at": null,+ "ending_balance": null,+ "hosted_invoice_url": null,+ "invoice_pdf": null,+ "number": null,+ "rendering": {+ "pdf": {+ "page_size": "auto"+ }+ },+ "status": "draft",+ "status_transitions": {+ "finalized_at": null+ }+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 56000,+ "amount_overpaid": 0,+ "amount_paid": 0,+ "amount_remaining": 56000,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": true,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 56000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 7,+ "quantity_decimal": "7",+ "subtotal": 56000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/validate_licenses_for_manual_plan_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "7",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "open",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": null,+ "voided_at": null+ },+ "subtotal": 56000,+ "subtotal_excluding_tax": 56000,+ "test_clock": null,+ "total": 56000,+ "total_discount_amounts": [],+ "total_excluding_tax": 56000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.finalized"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 56000,+ "amount_overpaid": 0,+ "amount_paid": 56000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 56000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 7,+ "quantity_decimal": "7",+ "subtotal": 56000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/validate_licenses_for_manual_plan_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "7",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 56000,+ "subtotal_excluding_tax": 56000,+ "test_clock": null,+ "total": 56000,+ "total_discount_amounts": [],+ "total_excluding_tax": 56000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ },+ "previous_attributes": {+ "amount_paid": 0,+ "amount_remaining": 56000,+ "auto_advance": true,+ "status": "open",+ "status_transitions": {+ "paid_at": null+ }+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "account_country": "US",+ "account_name": "NORMALIZED",+ "account_tax_ids": null,+ "amount_due": 56000,+ "amount_overpaid": 0,+ "amount_paid": 56000,+ "amount_remaining": 0,+ "amount_shipping": 0,+ "application": null,+ "attempt_count": 0,+ "attempted": false,+ "auto_advance": false,+ "automatic_tax": {+ "disabled_reason": null,+ "enabled": false,+ "liability": null,+ "provider": null,+ "status": null+ },+ "automatically_finalizes_at": null,+ "billing_reason": "manual",+ "collection_method": "send_invoice",+ "created": 1000000000,+ "currency": "usd",+ "custom_fields": null,+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "customer_address": null,+ "customer_email": "[email protected]",+ "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": "If paying by bank transfer outside of the US, use the OUR option for who should pay bank transfer fees, to make sure that your invoice is paid in full.",+ "discounts": [],+ "due_date": 1000000000,+ "effective_at": 1000000000,+ "ending_balance": 0,+ "footer": null,+ "from_invoice": null,+ "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED/test_NORMALIZED?s=ap",+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED/test_NORMALIZED/pdf?s=ap",+ "issuer": {+ "type": "self"+ },+ "last_finalization_error": null,+ "latest_revision": null,+ "lines": {+ "data": [+ {+ "amount": 56000,+ "currency": "usd",+ "description": "Zulip Cloud Standard",+ "discount_amounts": [],+ "discountable": false,+ "discounts": [],+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "object": "line_item",+ "parent": {+ "invoice_item_details": {+ "invoice_item": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "proration": false,+ "proration_details": {+ "credited_items": null+ },+ "subscription": null+ },+ "license_fee_subscription_details": null,+ "subscription_item_details": null,+ "type": "invoice_item_details"+ },+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pretax_credit_amounts": [],+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "quantity": 7,+ "quantity_decimal": "7",+ "subtotal": 56000,+ "taxes": []+ }+ ],+ "has_more": false,+ "object": "list",+ "total_count": 1,+ "url": "/v1/invoices/validate_licenses_for_manual_plan_management--Event.list.1.json/lines"+ },+ "livemode": false,+ "metadata": {+ "billing_schedule": "1",+ "current_plan_id": "None",+ "license_management": "manual",+ "licenses": "7",+ "on_free_trial": "False",+ "plan_tier": "1",+ "user_id": "10"+ },+ "next_payment_attempt": null,+ "number": "NORMALIZED",+ "object": "invoice",+ "on_behalf_of": null,+ "parent": null,+ "payment_settings": {+ "default_mandate": null,+ "payment_method_options": null,+ "payment_method_types": null+ },+ "period_end": 1000000000,+ "period_start": 1000000000,+ "post_payment_credit_notes_amount": 0,+ "pre_payment_credit_notes_amount": 0,+ "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": "Zulip Cloud Standard",+ "status": "paid",+ "status_transitions": {+ "finalized_at": 1000000000,+ "marked_uncollectible_at": null,+ "paid_at": 1000000000,+ "voided_at": null+ },+ "subtotal": 56000,+ "subtotal_excluding_tax": 56000,+ "test_clock": null,+ "total": 56000,+ "total_discount_amounts": [],+ "total_excluding_tax": 56000,+ "total_pretax_credit_amounts": [],+ "total_taxes": [],+ "webhooks_delivered_at": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoice.paid"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": "usd",+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ },+ "previous_attributes": {+ "currency": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.updated"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "address": null,+ "balance": 0,+ "created": 1000000000,+ "currency": null,+ "customer_account": null,+ "default_source": null,+ "delinquent": false,+ "description": "zulip (Zulip Dev)",+ "discount": null,+ "email": "[email protected]",+ "id": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "invoice_prefix": "NORMALIZED",+ "invoice_settings": {+ "custom_fields": null,+ "default_payment_method": null,+ "footer": null,+ "rendering_options": null+ },+ "livemode": false,+ "metadata": {+ "realm_id": "1",+ "realm_str": "zulip"+ },+ "name": null,+ "next_invoice_sequence": 1,+ "object": "customer",+ "phone": null,+ "preferred_locales": [],+ "shipping": null,+ "tax_exempt": "none",+ "test_clock": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "customer.created"+ },{"api_version": "2025-11-17.clover","created": 1000000000,@@ -21,7 +1152,7 @@"confirmation_method": "automatic","created": 1000000000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","description": "Payment for Invoice","excluded_payment_method_types": null,"id": "validate_licenses_for_manual_plan_management--Event.list.1.json",@@ -75,6 +1206,139 @@"idempotency_key": "00000000-0000-0000-0000-000000000000"},"type": "payment_intent.canceled"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 56000,+ "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",+ "client_secret": "NORMALIZED",+ "confirmation_method": "automatic",+ "created": 1000000000,+ "currency": "usd",+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "description": "Payment for Invoice",+ "excluded_payment_method_types": null,+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "last_payment_error": null,+ "latest_charge": null,+ "livemode": false,+ "managed_payments": {+ "enabled": 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"+ },+ "cashapp": {},+ "customer_balance": {+ "funding_type": null+ },+ "wechat_pay": {+ "app_id": null,+ "client": null+ }+ },+ "payment_method_types": [+ "card",+ "cashapp",+ "customer_balance",+ "wechat_pay"+ ],+ "processing": null,+ "receipt_email": "[email protected]",+ "review": null,+ "setup_future_usage": null,+ "shared_payment_granted_token": null,+ "shipping": null,+ "source": null,+ "statement_descriptor": "Zulip Cloud Standard",+ "statement_descriptor_suffix": null,+ "status": "requires_payment_method",+ "transfer_data": null,+ "transfer_group": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "payment_intent.created"+ },+ {+ "api_version": "2025-11-17.clover",+ "created": 1000000000,+ "data": {+ "object": {+ "amount": 56000,+ "currency": "usd",+ "customer": "validate_licenses_for_manual_plan_management--Customer.create.1.json",+ "customer_account": null,+ "date": 1000000000,+ "description": "Zulip Cloud Standard",+ "discountable": false,+ "discounts": [],+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "invoice": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "metadata": {},+ "net_amount": 56000,+ "object": "invoiceitem",+ "parent": null,+ "period": {+ "end": 1357095845,+ "start": 1325473445+ },+ "pricing": {+ "price_details": {+ "price": "price_NORMALIZED",+ "product": "prod_NORMALIZED"+ },+ "type": "price_details",+ "unit_amount_decimal": "8000"+ },+ "proration": false,+ "quantity": 7,+ "quantity_decimal": "7",+ "tax_rates": [],+ "test_clock": null+ }+ },+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "livemode": false,+ "object": "event",+ "pending_webhooks": 0,+ "request": {+ "id": "validate_licenses_for_manual_plan_management--Event.list.1.json",+ "idempotency_key": "00000000-0000-0000-0000-000000000000"+ },+ "type": "invoiceitem.created"}],"has_more": true,diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.jsonindex 579a363bf97..b14d81cd749 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.jsonindex 81516bdaaae..be66d97f65b 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--Invoice.pay.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.jsonindex 75bad22ce22..a19ad665743 100644--- a/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/validate_licenses_for_manual_plan_management--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 56000,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard","discountable": false,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.1.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.1.jsonindex cbbce7ec5e8..63ada77b094 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.1.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.2.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.2.jsonindex c97c0336a5b..92dddaf4481 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.2.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.finalize_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.1.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.1.jsonindex d3ad6dbea58..6522161101f 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.1.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.1.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.3.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.3.jsonindex 6b42fd4b223..b23a6daf015 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.3.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.3.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.4.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.4.jsonindex 66800cdbe33..b5d72d8ad48 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.4.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.4.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.6.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.6.jsonindex cc962015274..a7f1b480a65 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.6.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.list.6.json@@ -26,7 +26,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.1.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.1.jsonindex 46cdcd9995b..5a314ccf918 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.1.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.1.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.2.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.2.jsonindex 8c44f145103..e969fccfd66 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.2.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--Invoice.void_invoice.2.json@@ -24,7 +24,7 @@"created": 1000000000,"currency": "usd","custom_fields": null,- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","customer_address": null,"customer_email": "[email protected]","customer_name": null,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.jsonindex cc762d5c9d1..c063e0ee573 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.1.json@@ -1,7 +1,7 @@{"amount": 6400,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard upgrade","discountable": false,diff --git a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.json b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.jsonindex ce6482f453c..956831d0f3e 100644--- a/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.json+++ b/corporate/tests/stripe_fixtures/void_all_open_invoices--InvoiceItem.create.2.json@@ -1,7 +1,7 @@{"amount": 6400,"currency": "usd",- "customer": "cus_NORMALIZED",+ "customer": "cus_UNRECORDED","date": 1000000000,"description": "Zulip Cloud Standard upgrade","discountable": false,