{
"id": "evt_1GIM94DV8C5xxxxx",
"object": "event",
"api_version": "2019-09-09",
"created": 1583185790,
"data": {
"object": {
"id": "in_1GFRxxxxx",
"object": "invoice",
"account_country": "US",
"account_name": "xxxxx",
"amount_due": 10000,
"amount_paid": 10000,
"amount_remaining": 0,
"application_fee_amount": null,
"attempt_count": 2,
"attempted": true,
"auto_advance": false,
"billing": "charge_automatically",
"billing_reason": "subscription_cycle",
"charge": "ch_1GIM92DV8C5Vxxxxx",
"collection_method": "charge_automatically",
"created": 1582493216,
"currency": "usd",
"custom_fields": null,
"customer": "cus_GPo2pJgxxxxx",
"customer_address": null,
"customer_email": "xxxxx",
"customer_name": null,
"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,
"due_date": null,
"ending_balance": 0,
"footer": null,
"lines": {
"object": "list",
"data": [
{
"id": "sli_0baffb72385834",
"object": "line_item",
"amount": 10000,
"currency": "usd",
"description": "1 × xxxx (at $100.00 / month)",
"discountable": true,
"livemode": true,
"period": {
"end": 1584998807,
"start": 1582493207
},
"plan": {
"id": "plan_G6bxxxxx",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 10000,
"amount_decimal": "10000",
"billing_scheme": "per_unit",
"created": 1572707921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": true,
"metadata": {
"max_requests": "100"
},
"nickname": "Flat Rate 1",
"product": "prod_Gxxxxx",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"proration": false,
"quantity": 1,
"subscription": "sub_GPoxxxxx",
"subscription_item": "si_GPxxxxx",
"tax_amounts": [
],
"tax_rates": [
],
"type": "subscription",
"unique_id": "il_1GFRyWxxxxx"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_1GFRxxxxx/lines"
},
"livemode": true,
"metadata": {
},
"next_payment_attempt": null,
"number": "5FCC2xxxxx",
"paid": true,
"payment_intent": "pi_1GFSvNDxxxxx",
"period_end": 1582493207,
"period_start": 1579814807,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": "28xxxxx",
"starting_balance": 0,
"statement_descriptor": null,
"status": "paid",
"status_transitions": {
"finalized_at": 1582496865,
"marked_uncollectible_at": null,
"paid_at": 1583185790,
"voided_at": null
},
"subscription": "sub_Gxxxxx",
"subtotal": 10000,
"tax": null,
"tax_percent": null,
"total": 10000,
"total_tax_amounts": [
],
"webhooks_delivered_at": 1582493216
}
},
"livemode": true,
"pending_webhooks": 1,
"request": {
"id": "req_pj0sxxxxx",
"idempotency_key": "4b1cxxxxx"
},
"type": "invoice.payment_succeeded"
}