date('m-d-Y_h:i:a') =>=>=>=>=>=>=>=>=>=>=>=>=>=>=> 
{
  "id": "evt_1It8xRFE5YTI8l264ZI8LI59",
  "object": "event",
  "api_version": "2020-08-27",
  "created": 1621505904,
  "data": {
    "object": {
      "id": "pi_1It8xPFE5YTI8l26Bz1M9aWc",
      "object": "payment_intent",
      "amount": 100,
      "amount_capturable": 0,
      "amount_received": 0,
      "application": null,
      "application_fee_amount": null,
      "canceled_at": null,
      "cancellation_reason": null,
      "capture_method": "automatic",
      "charges": {
        "object": "list",
        "data": [
          {
            "id": "ch_1It8xQFE5YTI8l261BRTURRG",
            "object": "charge",
            "amount": 100,
            "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": "12345",
                "state": null
              },
              "email": null,
              "name": null,
              "phone": null
            },
            "calculated_statement_descriptor": "MUSLIMVILLAGEBD.COM",
            "captured": false,
            "created": 1621505904,
            "currency": "usd",
            "customer": "cus_JWBKrLSm8tgWZb",
            "description": "Subscription creation",
            "destination": null,
            "dispute": null,
            "disputed": false,
            "failure_code": "card_declined",
            "failure_message": "Your card was declined.",
            "fraud_details": {
            },
            "invoice": "in_1It8xPFE5YTI8l26QVg6DdXF",
            "livemode": false,
            "metadata": {
            },
            "on_behalf_of": null,
            "order": null,
            "outcome": {
              "network_status": "declined_by_network",
              "reason": "generic_decline",
              "risk_level": "normal",
              "risk_score": 3,
              "seller_message": "The bank did not return any further details with this decline.",
              "type": "issuer_declined"
            },
            "paid": false,
            "payment_intent": "pi_1It8xPFE5YTI8l26Bz1M9aWc",
            "payment_method": "card_1It8xMFE5YTI8l26NU045CyH",
            "payment_method_details": {
              "card": {
                "brand": "visa",
                "checks": {
                  "address_line1_check": null,
                  "address_postal_code_check": "pass",
                  "cvc_check": "pass"
                },
                "country": "US",
                "exp_month": 12,
                "exp_year": 2022,
                "fingerprint": "X0tH6ol98ja9cSZT",
                "funding": "credit",
                "installments": null,
                "last4": "0341",
                "network": "visa",
                "three_d_secure": null,
                "wallet": null
              },
              "type": "card"
            },
            "receipt_email": null,
            "receipt_number": null,
            "receipt_url": null,
            "refunded": false,
            "refunds": {
              "object": "list",
              "data": [

              ],
              "has_more": false,
              "total_count": 0,
              "url": "/v1/charges/ch_1It8xQFE5YTI8l261BRTURRG/refunds"
            },
            "review": null,
            "shipping": null,
            "source": {
              "id": "card_1It8xMFE5YTI8l26NU045CyH",
              "object": "card",
              "address_city": null,
              "address_country": null,
              "address_line1": null,
              "address_line1_check": null,
              "address_line2": null,
              "address_state": null,
              "address_zip": "12345",
              "address_zip_check": "pass",
              "brand": "Visa",
              "country": "US",
              "customer": "cus_JWBKrLSm8tgWZb",
              "cvc_check": "pass",
              "dynamic_last4": null,
              "exp_month": 12,
              "exp_year": 2022,
              "fingerprint": "X0tH6ol98ja9cSZT",
              "funding": "credit",
              "last4": "0341",
              "metadata": {
              },
              "name": null,
              "tokenization_method": null
            },
            "source_transfer": null,
            "statement_descriptor": null,
            "statement_descriptor_suffix": null,
            "status": "failed",
            "transfer_data": null,
            "transfer_group": null
          }
        ],
        "has_more": false,
        "total_count": 1,
        "url": "/v1/charges?payment_intent=pi_1It8xPFE5YTI8l26Bz1M9aWc"
      },
      "client_secret": "pi_1It8xPFE5YTI8l26Bz1M9aWc_secret_48JkAG69tOAKC0WzkyhfJqhAf",
      "confirmation_method": "automatic",
      "created": 1621505903,
      "currency": "usd",
      "customer": "cus_JWBKrLSm8tgWZb",
      "description": "Subscription creation",
      "invoice": "in_1It8xPFE5YTI8l26QVg6DdXF",
      "last_payment_error": {
        "charge": "ch_1It8xQFE5YTI8l261BRTURRG",
        "code": "card_declined",
        "decline_code": "generic_decline",
        "doc_url": "https://stripe.com/docs/error-codes/card-declined",
        "message": "Your card was declined.",
        "source": {
          "id": "card_1It8xMFE5YTI8l26NU045CyH",
          "object": "card",
          "address_city": null,
          "address_country": null,
          "address_line1": null,
          "address_line1_check": null,
          "address_line2": null,
          "address_state": null,
          "address_zip": "12345",
          "address_zip_check": "pass",
          "brand": "Visa",
          "country": "US",
          "customer": "cus_JWBKrLSm8tgWZb",
          "cvc_check": "pass",
          "dynamic_last4": null,
          "exp_month": 12,
          "exp_year": 2022,
          "fingerprint": "X0tH6ol98ja9cSZT",
          "funding": "credit",
          "last4": "0341",
          "metadata": {
          },
          "name": null,
          "tokenization_method": null
        },
        "type": "card_error"
      },
      "livemode": false,
      "metadata": {
      },
      "next_action": null,
      "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": null,
      "review": null,
      "setup_future_usage": "off_session",
      "shipping": null,
      "source": null,
      "statement_descriptor": null,
      "statement_descriptor_suffix": null,
      "status": "requires_payment_method",
      "transfer_data": null,
      "transfer_group": null
    }
  },
  "livemode": false,
  "pending_webhooks": 1,
  "request": {
    "id": "req_xtkfiWA2vlxRtY",
    "idempotency_key": null
  },
  "type": "payment_intent.payment_failed"
}