{
  "data": [
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "account_country": "US",
          "account_name": "NORMALIZED-1",
          "account_tax_ids": null,
          "amount_due": 0,
          "amount_paid": 0,
          "amount_remaining": 0,
          "application_fee_amount": null,
          "attempt_count": 0,
          "attempted": true,
          "auto_advance": false,
          "automatic_tax": {
            "enabled": false,
            "status": null
          },
          "billing_reason": "manual",
          "charge": null,
          "collection_method": "charge_automatically",
          "created": 1000000000,
          "currency": "usd",
          "custom_fields": null,
          "customer": "cus_NORMALIZED0001",
          "customer_address": null,
          "customer_email": "hamlet@zulip.com",
          "customer_name": null,
          "customer_phone": null,
          "customer_shipping": null,
          "customer_tax_exempt": "none",
          "customer_tax_ids": [],
          "default_payment_method": null,
          "default_source": null,
          "default_tax_rates": [],
          "description": null,
          "discount": null,
          "discounts": [],
          "due_date": null,
          "ending_balance": 0,
          "footer": null,
          "hosted_invoice_url": "https://invoice.stripe.com/i/acct_NORMALIZED000001/test_NORMALIZED01cDVIU2FXWHl2RnBLLF9LaG9BRzhHOXVXS0dTMk5hbEl2TEhOdnM1ZUF0dloz0100yY43uPHV",
          "id": "in_NORMALIZED00000000000002",
          "invoice_pdf": "https://pay.stripe.com/invoice/acct_NORMALIZED000001/test_NORMALIZED01cDVIU2FXWHl2RnBLLF9LaG9BRzhHOXVXS0dTMk5hbEl2TEhOdnM1ZUF0dloz0100yY43uPHV/pdf",
          "last_finalization_error": null,
          "lines": {
            "data": [
              {
                "amount": 48000,
                "currency": "usd",
                "description": "Zulip Cloud Standard",
                "discount_amounts": [],
                "discountable": false,
                "discounts": [],
                "id": "il_NORMALIZED00000000000004",
                "invoice_item": "ii_NORMALIZED00000000000004",
                "livemode": false,
                "metadata": {},
                "object": "line_item",
                "period": {
                  "end": 1000000000,
                  "start": 1000000000
                },
                "plan": null,
                "price": {
                  "active": false,
                  "billing_scheme": "per_unit",
                  "created": 1000000000,
                  "currency": "usd",
                  "id": "price_NORMALIZED00000000000004",
                  "livemode": false,
                  "lookup_key": null,
                  "metadata": {},
                  "nickname": null,
                  "object": "price",
                  "product": "prod_NORMALIZED0004",
                  "recurring": null,
                  "tax_behavior": "unspecified",
                  "tiers_mode": null,
                  "transform_quantity": null,
                  "type": "one_time",
                  "unit_amount": 8000,
                  "unit_amount_decimal": "8000"
                },
                "proration": false,
                "quantity": 6,
                "subscription": null,
                "tax_amounts": [],
                "tax_rates": [],
                "type": "invoiceitem"
              },
              {
                "amount": -48000,
                "currency": "usd",
                "description": "Payment (Card ending in 4242)",
                "discount_amounts": [],
                "discountable": false,
                "discounts": [],
                "id": "il_NORMALIZED00000000000005",
                "invoice_item": "ii_NORMALIZED00000000000005",
                "livemode": false,
                "metadata": {},
                "object": "line_item",
                "period": {
                  "end": 1000000000,
                  "start": 1000000000
                },
                "plan": null,
                "price": {
                  "active": false,
                  "billing_scheme": "per_unit",
                  "created": 1000000000,
                  "currency": "usd",
                  "id": "price_NORMALIZED00000000000005",
                  "livemode": false,
                  "lookup_key": null,
                  "metadata": {},
                  "nickname": null,
                  "object": "price",
                  "product": "prod_NORMALIZED0005",
                  "recurring": null,
                  "tax_behavior": "unspecified",
                  "tiers_mode": null,
                  "transform_quantity": null,
                  "type": "one_time",
                  "unit_amount": -48000,
                  "unit_amount_decimal": "-48000"
                },
                "proration": false,
                "quantity": 1,
                "subscription": null,
                "tax_amounts": [],
                "tax_rates": [],
                "type": "invoiceitem"
              }
            ],
            "has_more": false,
            "object": "list",
            "total_count": 2,
            "url": "/v1/invoices/in_NORMALIZED00000000000002/lines"
          },
          "livemode": false,
          "metadata": {},
          "next_payment_attempt": null,
          "number": "NORMALI-0002",
          "object": "invoice",
          "on_behalf_of": null,
          "paid": true,
          "payment_intent": null,
          "payment_settings": {
            "payment_method_options": null,
            "payment_method_types": null
          },
          "period_end": 1000000000,
          "period_start": 1000000000,
          "post_payment_credit_notes_amount": 0,
          "pre_payment_credit_notes_amount": 0,
          "quote": null,
          "receipt_number": 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
          },
          "subscription": null,
          "subtotal": 0,
          "tax": null,
          "total": 0,
          "total_discount_amounts": [],
          "total_tax_amounts": [],
          "transfer_data": null,
          "webhooks_delivered_at": null
        },
        "previous_attributes": {
          "attempted": false,
          "auto_advance": true,
          "ending_balance": null,
          "hosted_invoice_url": null,
          "invoice_pdf": null,
          "next_payment_attempt": 1000000000,
          "number": null,
          "paid": false,
          "status": "draft",
          "status_transitions": {
            "finalized_at": null,
            "paid_at": null
          }
        }
      },
      "id": "evt_1K2OXkHSaWXyvFpKYcsJI7yW",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 2,
      "request": {
        "id": "req_NORMALIZED0008",
        "idempotency_key": "cae8e48c-5622-4bdf-85a2-cb06a7ed12d4"
      },
      "type": "invoice.updated"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "account_country": "US",
          "account_name": "NORMALIZED-1",
          "account_tax_ids": null,
          "amount_due": 0,
          "amount_paid": 0,
          "amount_remaining": 0,
          "application_fee_amount": null,
          "attempt_count": 0,
          "attempted": false,
          "auto_advance": true,
          "automatic_tax": {
            "enabled": false,
            "status": null
          },
          "billing_reason": "manual",
          "charge": null,
          "collection_method": "charge_automatically",
          "created": 1000000000,
          "currency": "usd",
          "custom_fields": null,
          "customer": "cus_NORMALIZED0001",
          "customer_address": null,
          "customer_email": "hamlet@zulip.com",
          "customer_name": null,
          "customer_phone": null,
          "customer_shipping": null,
          "customer_tax_exempt": "none",
          "customer_tax_ids": [],
          "default_payment_method": null,
          "default_source": null,
          "default_tax_rates": [],
          "description": null,
          "discount": null,
          "discounts": [],
          "due_date": null,
          "ending_balance": null,
          "footer": null,
          "hosted_invoice_url": null,
          "id": "in_NORMALIZED00000000000002",
          "invoice_pdf": null,
          "last_finalization_error": null,
          "lines": {
            "data": [
              {
                "amount": 48000,
                "currency": "usd",
                "description": "Zulip Cloud Standard",
                "discount_amounts": [],
                "discountable": false,
                "discounts": [],
                "id": "il_NORMALIZED00000000000004",
                "invoice_item": "ii_NORMALIZED00000000000004",
                "livemode": false,
                "metadata": {},
                "object": "line_item",
                "period": {
                  "end": 1000000000,
                  "start": 1000000000
                },
                "plan": null,
                "price": {
                  "active": false,
                  "billing_scheme": "per_unit",
                  "created": 1000000000,
                  "currency": "usd",
                  "id": "price_NORMALIZED00000000000004",
                  "livemode": false,
                  "lookup_key": null,
                  "metadata": {},
                  "nickname": null,
                  "object": "price",
                  "product": "prod_NORMALIZED0004",
                  "recurring": null,
                  "tax_behavior": "unspecified",
                  "tiers_mode": null,
                  "transform_quantity": null,
                  "type": "one_time",
                  "unit_amount": 8000,
                  "unit_amount_decimal": "8000"
                },
                "proration": false,
                "quantity": 6,
                "subscription": null,
                "tax_amounts": [],
                "tax_rates": [],
                "type": "invoiceitem"
              },
              {
                "amount": -48000,
                "currency": "usd",
                "description": "Payment (Card ending in 4242)",
                "discount_amounts": [],
                "discountable": false,
                "discounts": [],
                "id": "il_NORMALIZED00000000000005",
                "invoice_item": "ii_NORMALIZED00000000000005",
                "livemode": false,
                "metadata": {},
                "object": "line_item",
                "period": {
                  "end": 1000000000,
                  "start": 1000000000
                },
                "plan": null,
                "price": {
                  "active": false,
                  "billing_scheme": "per_unit",
                  "created": 1000000000,
                  "currency": "usd",
                  "id": "price_NORMALIZED00000000000005",
                  "livemode": false,
                  "lookup_key": null,
                  "metadata": {},
                  "nickname": null,
                  "object": "price",
                  "product": "prod_NORMALIZED0005",
                  "recurring": null,
                  "tax_behavior": "unspecified",
                  "tiers_mode": null,
                  "transform_quantity": null,
                  "type": "one_time",
                  "unit_amount": -48000,
                  "unit_amount_decimal": "-48000"
                },
                "proration": false,
                "quantity": 1,
                "subscription": null,
                "tax_amounts": [],
                "tax_rates": [],
                "type": "invoiceitem"
              }
            ],
            "has_more": false,
            "object": "list",
            "total_count": 2,
            "url": "/v1/invoices/in_NORMALIZED00000000000002/lines"
          },
          "livemode": false,
          "metadata": {},
          "next_payment_attempt": 1000000000,
          "number": null,
          "object": "invoice",
          "on_behalf_of": null,
          "paid": false,
          "payment_intent": null,
          "payment_settings": {
            "payment_method_options": null,
            "payment_method_types": null
          },
          "period_end": 1000000000,
          "period_start": 1000000000,
          "post_payment_credit_notes_amount": 0,
          "pre_payment_credit_notes_amount": 0,
          "quote": null,
          "receipt_number": 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
          },
          "subscription": null,
          "subtotal": 0,
          "tax": null,
          "total": 0,
          "total_discount_amounts": [],
          "total_tax_amounts": [],
          "transfer_data": null,
          "webhooks_delivered_at": null
        }
      },
      "id": "evt_1K2OXkHSaWXyvFpKOkjXx6zh",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0009",
        "idempotency_key": "c9f24029-798e-412b-916a-53148163cc02"
      },
      "type": "invoice.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "amount": -48000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0001",
          "date": 1000000000,
          "description": "Payment (Card ending in 4242)",
          "discountable": false,
          "discounts": [],
          "id": "ii_NORMALIZED00000000000005",
          "invoice": "in_NORMALIZED00000000000002",
          "livemode": false,
          "metadata": {},
          "object": "invoiceitem",
          "period": {
            "end": 1000000000,
            "start": 1000000000
          },
          "plan": null,
          "price": {
            "active": false,
            "billing_scheme": "per_unit",
            "created": 1000000000,
            "currency": "usd",
            "id": "price_NORMALIZED00000000000005",
            "livemode": false,
            "lookup_key": null,
            "metadata": {},
            "nickname": null,
            "object": "price",
            "product": "prod_NORMALIZED0005",
            "recurring": null,
            "tax_behavior": "unspecified",
            "tiers_mode": null,
            "transform_quantity": null,
            "type": "one_time",
            "unit_amount": -48000,
            "unit_amount_decimal": "-48000"
          },
          "proration": false,
          "quantity": 1,
          "subscription": null,
          "tax_rates": [],
          "unit_amount": -48000,
          "unit_amount_decimal": "-48000"
        },
        "previous_attributes": {
          "invoice": null
        }
      },
      "id": "evt_1K2OXkHSaWXyvFpKTisKoOHL",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0009",
        "idempotency_key": "c9f24029-798e-412b-916a-53148163cc02"
      },
      "type": "invoiceitem.updated"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "amount": 48000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0001",
          "date": 1000000000,
          "description": "Zulip Cloud Standard",
          "discountable": false,
          "discounts": [],
          "id": "ii_NORMALIZED00000000000004",
          "invoice": "in_NORMALIZED00000000000002",
          "livemode": false,
          "metadata": {},
          "object": "invoiceitem",
          "period": {
            "end": 1000000000,
            "start": 1000000000
          },
          "plan": null,
          "price": {
            "active": false,
            "billing_scheme": "per_unit",
            "created": 1000000000,
            "currency": "usd",
            "id": "price_NORMALIZED00000000000004",
            "livemode": false,
            "lookup_key": null,
            "metadata": {},
            "nickname": null,
            "object": "price",
            "product": "prod_NORMALIZED0004",
            "recurring": null,
            "tax_behavior": "unspecified",
            "tiers_mode": null,
            "transform_quantity": null,
            "type": "one_time",
            "unit_amount": 8000,
            "unit_amount_decimal": "8000"
          },
          "proration": false,
          "quantity": 6,
          "subscription": null,
          "tax_rates": [],
          "unit_amount": 8000,
          "unit_amount_decimal": "8000"
        },
        "previous_attributes": {
          "invoice": null
        }
      },
      "id": "evt_1K2OXkHSaWXyvFpK7Qta8IQL",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0009",
        "idempotency_key": "c9f24029-798e-412b-916a-53148163cc02"
      },
      "type": "invoiceitem.updated"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "amount": 48000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0001",
          "date": 1000000000,
          "description": "Zulip Cloud Standard",
          "discountable": false,
          "discounts": [],
          "id": "ii_NORMALIZED00000000000004",
          "invoice": null,
          "livemode": false,
          "metadata": {},
          "object": "invoiceitem",
          "period": {
            "end": 1000000000,
            "start": 1000000000
          },
          "plan": null,
          "price": {
            "active": false,
            "billing_scheme": "per_unit",
            "created": 1000000000,
            "currency": "usd",
            "id": "price_NORMALIZED00000000000004",
            "livemode": false,
            "lookup_key": null,
            "metadata": {},
            "nickname": null,
            "object": "price",
            "product": "prod_NORMALIZED0004",
            "recurring": null,
            "tax_behavior": "unspecified",
            "tiers_mode": null,
            "transform_quantity": null,
            "type": "one_time",
            "unit_amount": 8000,
            "unit_amount_decimal": "8000"
          },
          "proration": false,
          "quantity": 6,
          "subscription": null,
          "tax_rates": [],
          "unit_amount": 8000,
          "unit_amount_decimal": "8000"
        }
      },
      "id": "evt_1K2OXjHSaWXyvFpKFtnyKeHT",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0010",
        "idempotency_key": "7f3be5c7-c04a-4b57-b1f1-6d0fd7f5a8d0"
      },
      "type": "invoiceitem.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "amount": -48000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0001",
          "date": 1000000000,
          "description": "Payment (Card ending in 4242)",
          "discountable": false,
          "discounts": [],
          "id": "ii_NORMALIZED00000000000005",
          "invoice": null,
          "livemode": false,
          "metadata": {},
          "object": "invoiceitem",
          "period": {
            "end": 1000000000,
            "start": 1000000000
          },
          "plan": null,
          "price": {
            "active": false,
            "billing_scheme": "per_unit",
            "created": 1000000000,
            "currency": "usd",
            "id": "price_NORMALIZED00000000000005",
            "livemode": false,
            "lookup_key": null,
            "metadata": {},
            "nickname": null,
            "object": "price",
            "product": "prod_NORMALIZED0005",
            "recurring": null,
            "tax_behavior": "unspecified",
            "tiers_mode": null,
            "transform_quantity": null,
            "type": "one_time",
            "unit_amount": -48000,
            "unit_amount_decimal": "-48000"
          },
          "proration": false,
          "quantity": 1,
          "subscription": null,
          "tax_rates": [],
          "unit_amount": -48000,
          "unit_amount_decimal": "-48000"
        }
      },
      "id": "evt_1K2OXjHSaWXyvFpKHzWNcx7g",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0011",
        "idempotency_key": "b6734dc5-f8c8-43da-9c51-638233a98e34"
      },
      "type": "invoiceitem.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "address": null,
          "balance": 0,
          "created": 1000000000,
          "currency": "usd",
          "default_source": null,
          "delinquent": false,
          "description": "zulip (Zulip Dev)",
          "discount": null,
          "email": "hamlet@zulip.com",
          "id": "cus_NORMALIZED0001",
          "invoice_prefix": "NORMA01",
          "invoice_settings": {
            "custom_fields": null,
            "default_payment_method": "pm_1K2OXeHSaWXyvFpKfQsNmKNC",
            "footer": 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"
        },
        "previous_attributes": {
          "currency": null
        }
      },
      "id": "evt_1K2OXjHSaWXyvFpKnwnXoL8s",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0011",
        "idempotency_key": "b6734dc5-f8c8-43da-9c51-638233a98e34"
      },
      "type": "customer.updated"
    }
  ],
  "has_more": false,
  "object": "list",
  "url": "/v1/events"
}
