Webhook notification triggered when a subscription is created or updated
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Subscription event payload in json
Unique identifier for the event
Type of event that occurred
subscription.created, subscription.trialing, subscription.activated, subscription.incomplete_expired, subscription.past_due, subscription.cancelled, 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 "subscription.activated"
Type of this json payload, 'event' if this is an event
"event"
Timestamp when the event occurred
Subscription data object containing all subscription details
Return a 200 status to indicate that the data was received successfully