{
    "object": "event",
    "type": "invoice.updated",
    "pending_webhooks": 1,
    "created": 1560064810,
    "livemode": false,
    "request": {
        "idempotency_key": null,
        "id": "req_4ITsSSm2tprAwz"
    },
    "data": {
        "previous_attributes": {
            "status": "draft",
            "due_date": null,
            "invoice_pdf": null,
            "attempted": false,
            "number": "113948B9-DRAFT",
            "ending_balance": null,
            "auto_advance": true,
            "paid": false,
            "status_transitions": {
                "finalized_at": null,
                "paid_at": null
            },
            "hosted_invoice_url": null
        },
        "object": {
            "default_tax_rates": [],
            "livemode": false,
            "tax": null,
            "number": "113948B9-0001",
            "attempt_count": 0,
            "currency": "usd",
            "payment_intent": null,
            "default_payment_method": null,
            "total": 100,
            "account_name": null,
            "custom_fields": null,
            "customer_name": "Hemanth V. Alluri",
            "customer_shipping": null,
            "customer_tax_ids": [],
            "invoice_pdf": "https://pay.stripe.com/invoice/invst_iTAW0hYwxklggGxPhtXkSyUF8y/pdf",
            "billing": "send_invoice",
            "footer": null,
            "description": null,
            "customer_phone": null,
            "id": "in_1EjLINHuGUuNWDDZjDf2WNqd",
            "webhooks_delivered_at": 1560064708,
            "charge": null,
            "period_end": 1560064707,
            "discount": null,
            "customer_tax_exempt": "none",
            "post_payment_credit_notes_amount": 0,
            "metadata": {},
            "status": "paid",
            "due_date": 1560151211,
            "pre_payment_credit_notes_amount": 0,
            "customer_email": "hemanth.alluri.123@gmail.com",
            "collection_method": "send_invoice",
            "statement_descriptor": null,
            "attempted": true,
            "amount_paid": 100,
            "object": "invoice",
            "amount_remaining": 0,
            "paid": true,
            "customer_address": null,
            "auto_advance": false,
            "ending_balance": 0,
            "billing_reason": "manual",
            "hosted_invoice_url": "https://pay.stripe.com/invoice/invst_iTAW0hYwxklggGxPhtXkSyUF8y",
            "period_start": 1560064707,
            "subtotal": 100,
            "tax_percent": null,
            "subscription": null,
            "customer": "cus_FDmrSwQt9Fck5M",
            "total_tax_amounts": [],
            "application_fee_amount": null,
            "next_payment_attempt": null,
            "created": 1560064707,
            "status_transitions": {
                "voided_at": null,
                "finalized_at": 1560064810,
                "marked_uncollectible_at": null,
                "paid_at": 1560064810
            },
            "default_source": null,
            "lines": {
                "has_more": false,
                "total_count": 1,
                "object": "list",
                "data": [
                    {
                        "discountable": true,
                        "livemode": false,
                        "description": "Pen",
                        "subscription": null,
                        "proration": false,
                        "object": "line_item",
                        "period": {
                            "start": 1560064707,
                            "end": 1560064707
                        },
                        "tax_rates": [],
                        "currency": "usd",
                        "amount": 100,
                        "invoice_item": "ii_1EjLINHuGUuNWDDZJX6Nl48C",
                        "tax_amounts": [],
                        "plan": null,
                        "quantity": 1,
                        "type": "invoiceitem",
                        "id": "ii_1EjLINHuGUuNWDDZJX6Nl48C",
                        "metadata": {}
                    }
                ],
                "url": "/v1/invoices/in_1EjLINHuGUuNWDDZjDf2WNqd/lines"
            },
            "account_country": "US",
            "starting_balance": 0,
            "amount_due": 100,
            "receipt_number": null
        }
    },
    "id": "evt_1EjLK2HuGUuNWDDZZ88XyWhO",
    "api_version": "2019-03-14"
}
