trial.checkout_ready
A trial checkout link is ready to share with the customer.
Payload
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
The subscription ID.
The customer ID. Returns your externalId if you provided one when creating the customer, otherwise returns the Commet publicId.
The plan name.
The length of the trial in days.
The hosted checkout URL to share with the customer.
{
"event": "trial.checkout_ready",
"timestamp": "2026-03-25T14:30:05.000Z",
"organizationId": "org_abc123",
"mode": "live",
"apiVersion": "2026-06-10",
"data": {
"subscriptionId": "sub_1a2b3c4d",
"customerId": "user_123",
"planName": "Pro",
"trialDays": 14,
"checkoutUrl": "https://pay.commet.co/checkout/tok_9f8e7d6c"
}
}When this fires
When a subscription with a trial is created and the customer still needs to add a payment method, Commet generates a checkout link that starts the trial once completed and fires this event as soon as the link is ready.
Completing this checkout saves the card and fires trial.started; the customer is not charged until the trial ends. Paid (non-trial) checkouts fire checkout.ready instead.
Use the checkoutUrl and trialDays to drive your own "start your X-day trial" messaging.
How is this guide?