date('m-d-Y_h:i:a') =>=>=>=>=>=>=>=>=>=>=>=>=>=>=> 
{
  "id": "evt_1ItZabFE5YTI8l26vnufH2kA",
  "object": "event",
  "api_version": "2020-08-27",
  "created": 1621608277,
  "data": {
    "object": {
      "id": "in_1ItYe2FE5YTI8l26sEYkVzTr",
      "object": "invoice",
      "account_country": "US",
      "account_name": "Global System BD, Inc.",
      "account_tax_ids": null,
      "amount_due": 100,
      "amount_paid": 100,
      "amount_remaining": 0,
      "application_fee_amount": null,
      "attempt_count": 1,
      "attempted": true,
      "auto_advance": false,
      "billing_reason": "subscription_cycle",
      "charge": "ch_1ItZaaFE5YTI8l26ALzKOuYe",
      "collection_method": "charge_automatically",
      "created": 1621604646,
      "currency": "usd",
      "custom_fields": null,
      "customer": "cus_JLN4oeGc8Ptr18",
      "customer_address": null,
      "customer_email": "tasfirsuman@gmail.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_1DpOv0FE5YTI8l26/invst_JWbrfjgpOOlpl6Rtee60MCm5MHUrCzK",
      "invoice_pdf": "https://pay.stripe.com/invoice/acct_1DpOv0FE5YTI8l26/invst_JWbrfjgpOOlpl6Rtee60MCm5MHUrCzK/pdf",
      "last_finalization_error": null,
      "lines": {
        "object": "list",
        "data": [
          {
            "id": "il_1ItYe2FE5YTI8l26k98EKiij",
            "object": "line_item",
            "amount": 100,
            "currency": "usd",
            "description": "1 × DoctorAi-Monthly-Plan (at $1.00 / month)",
            "discount_amounts": [

            ],
            "discountable": true,
            "discounts": [

            ],
            "livemode": false,
            "metadata": {
            },
            "period": {
              "end": 1624282980,
              "start": 1621604580
            },
            "plan": {
              "id": "price_1IfJVrFE5YTI8l26X3BTcA2D",
              "object": "plan",
              "active": true,
              "aggregate_usage": null,
              "amount": 100,
              "amount_decimal": "100",
              "billing_scheme": "per_unit",
              "created": 1618209887,
              "currency": "usd",
              "interval": "month",
              "interval_count": 1,
              "livemode": false,
              "metadata": {
              },
              "nickname": "1USD - Month with 30 days free trial",
              "product": "prod_JHtIJ2juIIeGLf",
              "tiers_mode": null,
              "transform_usage": null,
              "trial_period_days": 30,
              "usage_type": "licensed"
            },
            "price": {
              "id": "price_1IfJVrFE5YTI8l26X3BTcA2D",
              "object": "price",
              "active": true,
              "billing_scheme": "per_unit",
              "created": 1618209887,
              "currency": "usd",
              "livemode": false,
              "lookup_key": null,
              "metadata": {
              },
              "nickname": "1USD - Month with 30 days free trial",
              "product": "prod_JHtIJ2juIIeGLf",
              "recurring": {
                "aggregate_usage": null,
                "interval": "month",
                "interval_count": 1,
                "trial_period_days": 30,
                "usage_type": "licensed"
              },
              "tiers_mode": null,
              "transform_quantity": null,
              "type": "recurring",
              "unit_amount": 100,
              "unit_amount_decimal": "100"
            },
            "proration": false,
            "quantity": 1,
            "subscription": "sub_JLN4CMftSnMgR0",
            "subscription_item": "si_JLN4DDtwwOMs0C",
            "tax_amounts": [

            ],
            "tax_rates": [

            ],
            "type": "subscription"
          }
        ],
        "has_more": false,
        "total_count": 1,
        "url": "/v1/invoices/in_1ItYe2FE5YTI8l26sEYkVzTr/lines"
      },
      "livemode": false,
      "metadata": {
      },
      "next_payment_attempt": null,
      "number": "4FE61629-0002",
      "on_behalf_of": null,
      "paid": true,
      "payment_intent": "pi_1ItZaZFE5YTI8l26WmOqjoWF",
      "payment_settings": {
        "payment_method_options": null,
        "payment_method_types": null
      },
      "period_end": 1621604580,
      "period_start": 1619012580,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "receipt_number": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "paid",
      "status_transitions": {
        "finalized_at": 1621608275,
        "marked_uncollectible_at": null,
        "paid_at": 1621608275,
        "voided_at": null
      },
      "subscription": "sub_JLN4CMftSnMgR0",
      "subtotal": 100,
      "tax": null,
      "total": 100,
      "total_discount_amounts": [

      ],
      "total_tax_amounts": [

      ],
      "transfer_data": null,
      "webhooks_delivered_at": 1621604647
    }
  },
  "livemode": false,
  "pending_webhooks": 1,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "invoice.finalized"
}