Updates a webhook
Required permissions:
developer:manage_webhookThe app API key from an app from the /dashboard/developer page
The ID of the Webhook to update
"hook_xxxxxxxxxxxxx"
Parameters for UpdateWebhook
The API version for this webhook
v1, v2, v5 Whether or not to send events for child resources.
Whether or not the webhook is enabled.
The events to send the webhook for.
The different event types available
invoice.created, invoice.paid, invoice.past_due, invoice.voided, membership.activated, membership.deactivated, entry.created, entry.approved, entry.denied, entry.deleted, setup_intent.requires_action, setup_intent.succeeded, setup_intent.canceled, withdrawal.created, withdrawal.updated, course_lesson_interaction.completed, payout_method.created, verification.succeeded, payment.created, payment.succeeded, payment.failed, payment.pending, dispute.created, dispute.updated, refund.created, refund.updated, membership.cancel_at_period_end_changed The URL to send the webhook to.
"https://example.com/path"
A successful response
A webhook object, which can be configured to be sent updates about a company
The ID of the webhook
"hook_xxxxxxxxxxxxx"
The URL the webhook events will be sent to
"https://example.com/path"
Whether or not this webhook is turned on or not
The number of events this webhooks is configured to receive
The different event types available
invoice.created, invoice.paid, invoice.past_due, invoice.voided, membership.activated, membership.deactivated, entry.created, entry.approved, entry.denied, entry.deleted, setup_intent.requires_action, setup_intent.succeeded, setup_intent.canceled, withdrawal.created, withdrawal.updated, course_lesson_interaction.completed, payout_method.created, verification.succeeded, payment.created, payment.succeeded, payment.failed, payment.pending, dispute.created, dispute.updated, refund.created, refund.updated, membership.cancel_at_period_end_changed The API version for this webhook
v1, v2, v5 The timestamp of when the webhook was created
"2023-12-01T05:00:00.401Z"
Whether or not to send events for child resources. For example, if the webhook is created for a Company, enabling this will only send events from the Company's sub-merchants (child companies).
The list of events that can be tested with this webhook
The different event types available
invoice.created, invoice.paid, invoice.past_due, invoice.voided, membership.activated, membership.deactivated, entry.created, entry.approved, entry.denied, entry.deleted, setup_intent.requires_action, setup_intent.succeeded, setup_intent.canceled, withdrawal.created, withdrawal.updated, course_lesson_interaction.completed, payout_method.created, verification.succeeded, payment.created, payment.succeeded, payment.failed, payment.pending, dispute.created, dispute.updated, refund.created, refund.updated, membership.cancel_at_period_end_changed The resource ID