Example JSON Response for the payment.failed response:

{
  "action": "payment.failed",
  "data": {
    "id": "pay_cJ5C52xzGQftKH",
    "product": {
      "id": "pass_0SdhdxmiNhQZb",
      "name": "ResellerUnity Monthly Membership",
      "visibility": "visible",
      "created_at": 1655076816,
      "experiences": [],
      "plans": [
        "plan_ACoSACuzLHnrE"
      ]
    },
    "membership": "mem_vi6Xw8ZDO8rjjR",
    "plan": {
      "id": "plan_ACoSACuzLHnrE",
      "plan_type": "renewal",
      "release_method": "buy_now",
      "visibility": "hidden",
      "billing_period": 30,
      "internal_notes": "ResellerUnity Monthly Membership",
      "metadata": {},
      "direct_link": "https://whop.com/checkout/plan_ACoSACuzLHnrE?d2c=true",
      "renewal_price": "19.99",
      "initial_price": "0.0",
      "base_currency": "usd",
      "requirements": {},
      "release_method_settings": {},
      "accepted_payment_methods": [
        "stripe"
      ],
      "stock": 49,
      "unlimited_stock": false,
      "created_at": 1639526467,
      "card_payments": true
    },
    "user": {
      "id": "user_T1h3xycVulUVN",
      "username": "stripetestt",
      "email": "[email protected]",
      "profile_pic_url": "https://cdn.discordapp.com/avatars/724985127049887785/94d5a7ad87f0a1988d67526770559122",
      "social_accounts": [
        {
          "service": "discord",
          "username": "solbass#3675",
          "id": "724985127049887785"
        }
      ]
    },
    "final_amount": 0,
    "subtotal": 19,
    "currency": "usd",
    "last4": "1006",
    "payments_failed": 4,
    "payment_processor": "stripe",
    "refunded_amount": 0,
    "status": "open",
    "crypto_tx_hash": null,
    "wallet_address": null,
    "refunded_at": null,
    "last_payment_attempt": 1642558479,
    "next_payment_attempt": null,
    "access_pass": {
      "id": "pass_0SdhdxmiNhQZb",
      "name": "ResellerUnity Monthly Membership",
      "visibility": "visible",
      "created_at": 1655076816
    }
  }
}