{ "id": "evt_1EmH4cGf8y65MteUj9qhzJzD", "object": "event", "api_version": "2019-05-16", "created": 1560763462, "data": { "object": { "id": "cs_test_RH4RVfajVXRAcruFssXLthaDnfVBJGiPumUfMzPdj5DixpieRl645hkQ", "object": "checkout.session", "billing_address_collection": null, "cancel_url": "http://localhost:40080/payments/cancel", "client_reference_id": "ff3bbecb-e744-4674-b411-a11d6832a5ac", "customer": "cus_FGoioD9GGtTXlW", "customer_email": null, "display_items": [ { "amount": 1000, "currency": "aud", "plan": { "id": "plan_FGmRwawcOJJ7Nv", "object": "plan", "active": true, "aggregate_usage": null, "amount": 1000, "billing_scheme": "per_unit", "created": 1560755040, "currency": "aud", "interval": "month", "interval_count": 1, "livemode": false, "metadata": { }, "nickname": "basic", "product": "prod_FGmRFYmB700pM5", "tiers": null, "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "type": "plan" } ], "livemode": false, "locale": null, "payment_intent": null, "payment_method_types": [ "card" ], "submit_type": null, "subscription": "sub_FGoiRaWHZUF01V", "success_url": "http://localhost:40080/payments/success" } }, "livemode": false, "pending_webhooks": 1, "request": { "id": null, "idempotency_key": null }, "type": "checkout.session.completed" }