{
  "id": "evt_000",
  "object": "event",
  "api_version": "2020-08-27",
  "created": 1608705740,
  "data": {
    "object": {
      "id": "cs_test_000",
      "object": "checkout.session",
      "allow_promotion_codes": null,
      "amount_subtotal": 2000,
      "amount_total": 2000,
      "billing_address_collection": null,
      "cancel_url": "http://localhost/user_upgrade/new",
      "client_reference_id": "user_12345",
      "currency": "usd",
      "customer": "cus_000",
      "customer_email": null,
      "livemode": false,
      "locale": null,
      "metadata": {
        "purchaser_id": "12345",
        "recipient_id": "12345",
        "purchaser_name": "user_12345",
        "recipient_name": "user_12345",
        "upgrade_type": "gold_upgrade",
        "is_gift": "false",
        "level": "30"
      },
      "mode": "payment",
      "payment_intent": "pi_000",
      "payment_method_types": [
        "card"
      ],
      "payment_status": "paid",
      "setup_intent": null,
      "shipping": null,
      "shipping_address_collection": null,
      "submit_type": null,
      "subscription": null,
      "success_url": "http://localhost/user_upgrade?user_id=12345",
      "total_details": {
        "amount_discount": 0,
        "amount_tax": 0
      }
    }
  },
  "livemode": false,
  "pending_webhooks": 3,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "checkout.session.completed"
}
