{ "id": "evt_00000000000000", "object": "event", "api_version": "2020-08-27", "created": 1601579547, "data": { "object": { "id": "in_00000000000000", "object": "invoice", "account_country": "US", "account_name": "Link My Photos", "account_tax_ids": null, "amount_due": 499, "amount_paid": 0, "amount_remaining": 499, "application_fee_amount": null, "attempt_count": 4, "attempted": true, "auto_advance": true, "billing_reason": "subscription_cycle", "charge": "ch_00000000000000", "collection_method": "charge_automatically", "created": 1600279843, "currency": "usd", "custom_fields": null, "customer": "cus_00000000000000", "customer_address": null, "customer_email": "test@example.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://pay.stripe.com/invoice/acct_00000000000000/invst_00000000000000", "invoice_pdf": "https://pay.stripe.com/invoice/acct_00000000000000/invst_00000000000000/pdf", "lines": { "object": "list", "data": [ { "id": "il_00000000000000", "object": "line_item", "amount": 499, "currency": "usd", "description": "1 × Shutterbug (at $4.99 / month)", "discount_amounts": [ ], "discountable": true, "discounts": [ ], "livemode": true, "metadata": { }, "period": { "end": 1602871812, "start": 1600279812 }, "plan": { "id": "shutterbug", "object": "plan", "active": true, "aggregate_usage": null, "amount": 499, "amount_decimal": "499", "billing_scheme": "per_unit", "created": 1467324765, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": { }, "nickname": null, "product": "prod_00000000000000", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "shutterbug", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1467324765, "currency": "usd", "livemode": true, "lookup_key": null, "metadata": { }, "nickname": null, "product": "prod_00000000000000", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 1, "trial_period_days": null, "usage_type": "licensed" }, "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 499, "unit_amount_decimal": "499" }, "proration": false, "quantity": 1, "subscription": "sub_00000000000000", "subscription_item": "si_00000000000000", "tax_amounts": [ ], "tax_rates": [ ], "type": "subscription" } ], "has_more": false, "total_count": 1, "url": "/v1/invoices/in_00000000000000/lines" }, "livemode": true, "metadata": { }, "next_payment_attempt": null, "number": "6E05A6C5-0010", "paid": false, "payment_intent": "pi_00000000000000", "period_end": 1600279812, "period_start": 1597601412, "post_payment_credit_notes_amount": 0, "pre_payment_credit_notes_amount": 0, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, "status": "open", "status_transitions": { "finalized_at": 1600283533, "marked_uncollectible_at": null, "paid_at": null, "voided_at": null }, "subscription": "sub_00000000000000", "subtotal": 499, "tax": null, "total": 499, "total_discount_amounts": [ ], "total_tax_amounts": [ ], "transfer_data": null, "webhooks_delivered_at": 1600279844 } }, "livemode": true, "pending_webhooks": 3, "request": { "id": null, "idempotency_key": null }, "type": "invoice.payment_failed" }