Update Webhook Endpoint
Update URL, events, description, or enabled status for a webhook endpoint. Omitted fields remain unchanged.
Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Path Parameters
Unique identifier of the webhook endpoint.
Body
HTTPS endpoint URL. If omitted, the current URL is unchanged.
512"https://example.com/api/clink/webhook"
Event names to subscribe to. If omitted, current subscriptions are unchanged. Numeric event codes are not accepted.
1Supported webhook event name. Public API requests use event names, not numeric event codes.
order.created, order.succeeded, order.failed, refund.created, refund.succeeded, refund.failed, subscription.created, subscription.trialing, subscription.activated, subscription.incomplete_expired, subscription.past_due, subscription.cancelled, invoice.open, invoice.paid, invoice.void, order.next_action, subscription.updated.plan_changed, subscription.updated.plan_change_canceled, subscription.updated.renewed, subscription.updated.cancel_at_period_end_set, subscription.updated.cancel_at_period_end_revoked, session.complete, session.expired, dispute.created, dispute.updated, dispute.won, dispute.lost, dispute.closed, customer.verify, payment_method.added, payment_method.default_change, risk_rule.updated, agent_order.succeeded, agent_order.failed, agent_refund.succeeded, agent_refund.failed, agent_refund.approved, agent_refund.rejected, payment_method.update, purchase_instruction.created, purchase_instruction.activated, purchase_instruction.updated, purchase_instruction.cancelled, vic_device.binding_succeeded ["order.succeeded", "invoice.paid"]Endpoint description. Send an empty string to clear it.
512"Updated through the API"
Whether the endpoint is enabled.