plan.sync_completed
Plan synced to PSP catalog (Stripe / PayPal / Razorpay / Paystack).
When this fires
The plan finishes syncing to one or more external payment-provider catalogs (Stripe, PayPal, Razorpay, Paystack). Fires once per provider sync run, not per plan.
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.sync_completed",
"created_at": "2026-05-18T10:05:00Z",
"api_version": "2026-05-01",
"project_id": "prj_01HX...",
"data": {
"plan_id": "pln_01HX...",
"providers": ["stripe", "paypal"],
"synced_at": "2026-05-18T10:04:58Z"
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always plan.sync_completed 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 that was synced. |
data.providers | array of string | Slugs of providers the plan now exists on (stripe, paypal, razorpay, paystack,..). |
data.synced_at | ISO 8601 timestamp | When the sync run completed (slightly earlier than created_at). |
Caveats
- This event fires per successful sync run — partial failures retry on a follow-up run rather than emitting a separate event per provider.
- Errors during sync surface in the dashboard, not as webhook events.
Related events
plan.created— predecessor that typically triggers the first sync.plan.updated— re-sync trigger when pricing or cadence changes.- Plan events overview — back to family overview.
How is this guide?