plan.created
A plan is first created on a project.
When this fires
A creator creates a new subscription plan on a project. The plan is immediately eligible for purchase if it was created in the active state.
Required ability
project-subscription-plan:view-any — token must carry this at mint time to subscribe an endpoint to this event.
Payload
{
"id": "evt_01HX...",
"type": "plan.created",
"created_at": "2026-05-18T10:05:00Z",
"api_version": "2026-05-01",
"project_id": "prj_01HX...",
"data": {
"plan": {
"id": "pln_01HX...",
"name": "Premium Monthly",
"price": 29.0,
"currency": "USD",
"billing_cycle": "monthly",
"trial_days": 7,
"active": true
}
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always plan.created for this event. |
created_at | ISO 8601 timestamp | Server-side emission time. |
api_version | string | Webhook API contract version. |
project_id | string ULID | Project this event belongs to. |
data.plan.id | string ULID | Plan identifier. |
data.plan.name | string | Display name. |
data.plan.price | number | Price in major units of currency. |
data.plan.currency | string | ISO 4217 currency code. |
data.plan.billing_cycle | enum: monthly | quarterly | yearly | weekly | lifetime | Billing cadence. |
data.plan.trial_days | integer | Trial length in days; 0 when trial is disabled. |
data.plan.active | boolean | true if the plan is purchasable. |
Caveats
- A
plan.createdevent does not imply the plan has been synced to a payment-provider catalog. Listen forplan.sync_completedfor that. - Trial is configured at create time; changing it later fires
plan.updated.
Related events
plan.updated— subsequent edits.plan.sync_completed— provider catalog sync.- Plan events overview — back to family overview.
How is this guide?