Add a new Webhook URL
Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************
Create a Webhook
The URL where new Webhook events will be sent to (e.g. https://website.com/api/whop-webhook)
Whether or not the specified Webhook is enabled/turned on for new event notifications
An array of the events the webhook will fire for. By default all events are enabled.
membership_went_valid, membership_went_invalid, membership_metadata_updated, payment_succeeded, payment_failed, payment_pending, refund_created, refund_updated, dispute_created, dispute_updated, dispute_alert_created, resolution_created, resolution_updated, resolution_decided, membership_cancel_at_period_end_changed, payment_affiliate_reward_created, membership_experience_claimed, app_membership_went_valid, app_membership_went_invalid, app_payment_succeeded, app_payment_failed, app_payment_pending, app_membership_cancel_at_period_end_changed Create a Webhook
Webhook model
The ID of the Webhook, which will look like hook_*************
Whether or not the specified Webhook is enabled/turned on for new event notifications
The URL where new Webhook events will be sent to (e.g. https://website.com/api/whop-webhook)
The time at which the Webhook was created. Measured in seconds since the Unix epoch.