{
  "data": [
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "amount": 48000,
          "amount_captured": 0,
          "amount_refunded": 0,
          "application": null,
          "application_fee": null,
          "application_fee_amount": null,
          "balance_transaction": null,
          "billing_details": {
            "address": {
              "city": null,
              "country": null,
              "line1": null,
              "line2": null,
              "postal_code": null,
              "state": null
            },
            "email": null,
            "name": null,
            "phone": null
          },
          "calculated_statement_descriptor": "ZULIP STANDARD",
          "captured": false,
          "created": 1000000000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0001",
          "description": "Upgrade to Zulip Cloud Standard, $80.0 x 6",
          "destination": null,
          "dispute": null,
          "disputed": false,
          "failure_code": "card_declined",
          "failure_message": "Your card was declined.",
          "fraud_details": {},
          "id": "ch_NORMALIZED00000000000001",
          "invoice": null,
          "livemode": false,
          "metadata": {
            "billing_modality": "charge_automatically",
            "billing_schedule": "1",
            "license_management": "automatic",
            "licenses": "6",
            "price_per_license": "8000",
            "realm_id": "1",
            "realm_str": "zulip",
            "seat_count": "6",
            "type": "upgrade",
            "user_email": "hamlet@zulip.com",
            "user_id": "10"
          },
          "object": "charge",
          "on_behalf_of": null,
          "order": null,
          "outcome": {
            "network_status": "declined_by_network",
            "reason": "generic_decline",
            "risk_level": "normal",
            "risk_score": 0,
            "seller_message": "The bank did not return any further details with this decline.",
            "type": "issuer_declined"
          },
          "paid": false,
          "payment_intent": "pi_NORMALIZED00000000000001",
          "payment_method": "pm_1K2Ob7HSaWXyvFpKia7kC5ud",
          "payment_method_details": {
            "card": {
              "brand": "visa",
              "checks": {
                "address_line1_check": null,
                "address_postal_code_check": null,
                "cvc_check": "pass"
              },
              "country": "US",
              "exp_month": 3,
              "exp_year": 2033,
              "fingerprint": "NORMALIZED000001",
              "funding": "credit",
              "installments": null,
              "last4": "0341",
              "network": "visa",
              "three_d_secure": null,
              "wallet": null
            },
            "type": "card"
          },
          "receipt_email": "hamlet@zulip.com",
          "receipt_number": null,
          "receipt_url": null,
          "refunded": false,
          "refunds": {
            "data": [],
            "has_more": false,
            "object": "list",
            "total_count": 0,
            "url": "/v1/charges/ch_NORMALIZED00000000000001/refunds"
          },
          "review": null,
          "shipping": null,
          "source": null,
          "source_transfer": null,
          "statement_descriptor": "Zulip Cloud Standard",
          "statement_descriptor_suffix": null,
          "status": "failed",
          "transfer_data": null,
          "transfer_group": null
        }
      },
      "id": "evt_3K2Ob8HSaWXyvFpK1ELDcUE3",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0002",
        "idempotency_key": "5fcc79f4-a027-436d-b434-662fc47bf825"
      },
      "type": "charge.failed"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "address": null,
          "balance": 0,
          "created": 1000000000,
          "currency": null,
          "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_1K2Ob7HSaWXyvFpKia7kC5ud",
            "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": {
          "invoice_settings": {
            "default_payment_method": null
          }
        }
      },
      "id": "evt_1K2ObBHSaWXyvFpK7jZvrrbF",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0003",
        "idempotency_key": "107e89d2-20cd-487d-b4eb-9797bf4d8bd9"
      },
      "type": "customer.updated"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "application": null,
          "cancellation_reason": null,
          "client_secret": "seti_1K2Ob9HSaWXyvFpKRiJvsaVN_secret_KhoD5wlt1SCJWK07REBoYBdCYbPmkmH",
          "created": 1000000000,
          "customer": "cus_NORMALIZED0001",
          "description": null,
          "id": "seti_1K2Ob9HSaWXyvFpKRiJvsaVN",
          "last_setup_error": null,
          "latest_attempt": "setatt_1K2Ob9HSaWXyvFpKYuFYyW5G",
          "livemode": false,
          "mandate": null,
          "metadata": {
            "billing_modality": "charge_automatically",
            "billing_schedule": "1",
            "license_management": "automatic",
            "licenses": "6",
            "price_per_license": "8000",
            "realm_id": "1",
            "realm_str": "zulip",
            "seat_count": "6",
            "type": "upgrade",
            "user_email": "hamlet@zulip.com",
            "user_id": "10"
          },
          "next_action": null,
          "object": "setup_intent",
          "on_behalf_of": null,
          "payment_method": "pm_1K2Ob7HSaWXyvFpKia7kC5ud",
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "automatic"
            }
          },
          "payment_method_types": [
            "card"
          ],
          "single_use_mandate": null,
          "status": "succeeded",
          "usage": "off_session"
        }
      },
      "id": "evt_1K2ObAHSaWXyvFpKbfxb6qfR",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0004",
        "idempotency_key": "f623e949-c4d1-49cd-bc3a-015ed8de6500"
      },
      "type": "setup_intent.succeeded"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "billing_details": {
            "address": {
              "city": null,
              "country": null,
              "line1": null,
              "line2": null,
              "postal_code": null,
              "state": null
            },
            "email": null,
            "name": null,
            "phone": null
          },
          "card": {
            "brand": "visa",
            "checks": {
              "address_line1_check": null,
              "address_postal_code_check": null,
              "cvc_check": "pass"
            },
            "country": "US",
            "exp_month": 3,
            "exp_year": 2033,
            "fingerprint": "NORMALIZED000001",
            "funding": "credit",
            "generated_from": null,
            "last4": "0341",
            "networks": {
              "available": [
                "visa"
              ],
              "preferred": null
            },
            "three_d_secure_usage": {
              "supported": true
            },
            "wallet": null
          },
          "created": 1000000000,
          "customer": "cus_NORMALIZED0001",
          "id": "pm_1K2Ob7HSaWXyvFpKia7kC5ud",
          "livemode": false,
          "metadata": {},
          "object": "payment_method",
          "type": "card"
        }
      },
      "id": "evt_1K2ObAHSaWXyvFpKVQNlXAQk",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0004",
        "idempotency_key": "f623e949-c4d1-49cd-bc3a-015ed8de6500"
      },
      "type": "payment_method.attached"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "application": null,
          "cancellation_reason": null,
          "client_secret": "seti_1K2Ob9HSaWXyvFpKRiJvsaVN_secret_KhoD5wlt1SCJWK07REBoYBdCYbPmkmH",
          "created": 1000000000,
          "customer": "cus_NORMALIZED0001",
          "description": null,
          "id": "seti_1K2Ob9HSaWXyvFpKRiJvsaVN",
          "last_setup_error": null,
          "latest_attempt": "setatt_1K2Ob9HSaWXyvFpKYuFYyW5G",
          "livemode": false,
          "mandate": null,
          "metadata": {
            "billing_modality": "charge_automatically",
            "billing_schedule": "1",
            "license_management": "automatic",
            "licenses": "6",
            "price_per_license": "8000",
            "realm_id": "1",
            "realm_str": "zulip",
            "seat_count": "6",
            "type": "upgrade",
            "user_email": "hamlet@zulip.com",
            "user_id": "10"
          },
          "next_action": null,
          "object": "setup_intent",
          "on_behalf_of": null,
          "payment_method": "pm_1K2Ob7HSaWXyvFpKia7kC5ud",
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "automatic"
            }
          },
          "payment_method_types": [
            "card"
          ],
          "single_use_mandate": null,
          "status": "succeeded",
          "usage": "off_session"
        }
      },
      "id": "evt_1K2ObAHSaWXyvFpK18hxxPzJ",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0004",
        "idempotency_key": "f623e949-c4d1-49cd-bc3a-015ed8de6500"
      },
      "type": "setup_intent.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "application": null,
          "cancellation_reason": null,
          "client_secret": "seti_1K2Ob9HSaWXyvFpKJ7PhmgSv_secret_KhoDqA0hxvAki4Gmnb10q6HHGYpnmvS",
          "created": 1000000000,
          "customer": "cus_NORMALIZED0001",
          "description": null,
          "id": "seti_1K2Ob9HSaWXyvFpKJ7PhmgSv",
          "last_setup_error": null,
          "latest_attempt": null,
          "livemode": false,
          "mandate": null,
          "metadata": {
            "billing_modality": "charge_automatically",
            "billing_schedule": "1",
            "license_management": "automatic",
            "licenses": "6",
            "price_per_license": "8000",
            "realm_id": "1",
            "realm_str": "zulip",
            "seat_count": "6",
            "type": "upgrade",
            "user_email": "hamlet@zulip.com",
            "user_id": "10"
          },
          "next_action": null,
          "object": "setup_intent",
          "on_behalf_of": null,
          "payment_method": null,
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "automatic"
            }
          },
          "payment_method_types": [
            "card"
          ],
          "single_use_mandate": null,
          "status": "requires_payment_method",
          "usage": "off_session"
        }
      },
      "id": "evt_1K2Ob9HSaWXyvFpKLaNdhL03",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0005",
        "idempotency_key": "fb934d99-9dd4-40d5-b1fb-aa1a44e4ec7d"
      },
      "type": "setup_intent.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "amount": 48000,
          "amount_capturable": 0,
          "amount_received": 0,
          "application": null,
          "application_fee_amount": null,
          "automatic_payment_methods": null,
          "canceled_at": null,
          "cancellation_reason": null,
          "capture_method": "automatic",
          "charges": {
            "data": [],
            "has_more": false,
            "object": "list",
            "total_count": 0,
            "url": "/v1/charges?payment_intent=pi_NORMALIZED00000000000001"
          },
          "client_secret": "pi_NORMALIZED00000000000001_secret_eT8bz4tckMExuwElmoq8NBykB",
          "confirmation_method": "automatic",
          "created": 1000000000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0001",
          "description": "Upgrade to Zulip Cloud Standard, $80.0 x 6",
          "id": "pi_NORMALIZED00000000000001",
          "invoice": null,
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "billing_modality": "charge_automatically",
            "billing_schedule": "1",
            "license_management": "automatic",
            "licenses": "6",
            "price_per_license": "8000",
            "realm_id": "1",
            "realm_str": "zulip",
            "seat_count": "6",
            "type": "upgrade",
            "user_email": "hamlet@zulip.com",
            "user_id": "10"
          },
          "next_action": null,
          "object": "payment_intent",
          "on_behalf_of": null,
          "payment_method": null,
          "payment_method_options": {
            "card": {
              "installments": null,
              "network": null,
              "request_three_d_secure": "automatic"
            }
          },
          "payment_method_types": [
            "card"
          ],
          "receipt_email": "hamlet@zulip.com",
          "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": "evt_3K2Ob8HSaWXyvFpK19myPSeN",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0006",
        "idempotency_key": "ca006e69-277d-4328-b7cd-95ad7ebd7008"
      },
      "type": "payment_intent.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "address": null,
          "balance": 0,
          "created": 1000000000,
          "currency": null,
          "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": null,
            "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"
        }
      },
      "id": "evt_1K2Ob8HSaWXyvFpKJb6du0WM",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": "req_NORMALIZED0007",
        "idempotency_key": "7fc48053-0de9-40b9-af6c-b3b8bc8ed4c5"
      },
      "type": "customer.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "ach_credit_transfer": {
            "account_number": "test_NORMALIZED02",
            "bank_name": "TEST BANK",
            "fingerprint": "NORMALIZED000003",
            "refund_account_holder_name": null,
            "refund_account_holder_type": null,
            "refund_routing_number": null,
            "routing_number": "110000000",
            "swift_code": "TSTEZ122"
          },
          "amount": null,
          "client_secret": "src_client_secret_NORMALIZED00000000000001",
          "created": 1000000000,
          "currency": "usd",
          "customer": "cus_NORMALIZED0002",
          "flow": "receiver",
          "id": "src_NORMALIZED00000000000001",
          "livemode": false,
          "metadata": {},
          "object": "source",
          "owner": {
            "address": null,
            "email": "amount_0@stripe.com",
            "name": null,
            "phone": null,
            "verified_address": null,
            "verified_email": null,
            "verified_name": null,
            "verified_phone": null
          },
          "receiver": {
            "address": "000000000-test_NORMALIZED01",
            "amount_charged": 0,
            "amount_received": 0,
            "amount_returned": 0,
            "refund_attributes_method": "email",
            "refund_attributes_status": "missing"
          },
          "statement_descriptor": null,
          "status": "pending",
          "type": "ach_credit_transfer",
          "usage": "reusable"
        }
      },
      "id": "evt_1K2Ob8HSaWXyvFpKWVWtNSU5",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": null,
        "idempotency_key": "4bdb33de-f7f8-4a58-830f-881205a983c9"
      },
      "type": "customer.source.created"
    },
    {
      "api_version": "2020-08-27",
      "created": 1000000000,
      "data": {
        "object": {
          "address": null,
          "balance": 0,
          "created": 1000000000,
          "currency": "usd",
          "default_source": "src_NORMALIZED00000000000001",
          "delinquent": false,
          "description": "zulip (Zulip Dev)",
          "discount": null,
          "email": "hamlet@zulip.com",
          "id": "cus_NORMALIZED0002",
          "invoice_prefix": "NORMA02",
          "invoice_settings": {
            "custom_fields": null,
            "default_payment_method": null,
            "footer": null
          },
          "livemode": false,
          "metadata": {
            "realm_id": "1",
            "realm_str": "zulip"
          },
          "name": null,
          "next_invoice_sequence": 2,
          "object": "customer",
          "phone": null,
          "preferred_locales": [],
          "shipping": null,
          "tax_exempt": "none"
        },
        "previous_attributes": {
          "default_source": null
        }
      },
      "id": "evt_1K2Ob8HSaWXyvFpKAtjQCiQZ",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": null,
        "idempotency_key": "4bdb33de-f7f8-4a58-830f-881205a983c9"
      },
      "type": "customer.updated"
    }
  ],
  "has_more": true,
  "object": "list",
  "url": "/v1/events"
}
