Early bird discounts live! Claim your offer

plan.sync_completed

Plan synced to PSP catalog (Stripe / PayPal / CoinPayments / Razorpay).

When this fires

The plan finishes syncing to one or more external payment-provider catalogs (Stripe, PayPal, CoinPayments, Razorpay). Fires once per active plan per sync run — a run over a project with twelve active plans emits twelve events. A plan whose providers all failed emits nothing, and inactive plans are never synced.

Required ability

project-subscription-plan:view — 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": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
  "data": {
    "plan_id": "c4e82f16-93a7-4d5b-b81c-6e0f27a94d3b",
    "providers": ["stripe", "paypal"],
    "synced_at": "2026-05-18T10:04:58Z"
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways plan.sync_completed for this event.
created_atISO 8601 timestampServer-side emission time.
api_versionstringWebhook API contract version.
project_idstring UUIDProject this event belongs to.
data.plan_idstring UUIDPlan that was synced.
data.providersarray of stringSlugs of providers the plan now exists on (one or more of stripe, paypal, coinpayments, razorpay — no other provider is ever synced).
data.synced_atISO 8601 timestampWhen the sync run completed (slightly earlier than created_at).

Caveats

  • Partial failures retry on a follow-up run rather than emitting a separate event per provider; data.providers lists only the providers that succeeded for that plan.
  • Errors during sync surface in the dashboard, not as webhook events.

How is this guide?

On this page

Subscriby is a product designed by you — for you.

No boardroom full of executives deciding what we ships next. Our roadmap always shaped by you with your feedback.

Share feedback or a request