When it fires
Immediately after a subscriber is enrolled — either via the Enroll Subscriber API or from the merchant dashboard. The subscriber’s status ispending and a first invoice has already been created.
What to do
- Send the customer a welcome email with payment instructions
- Show a “complete your subscription setup” prompt in your UI if they’re mid-onboarding
- Do not provision access yet — the customer has not paid
Payload
| Field | Type | Description |
|---|---|---|
event | string | Always subscriber.enrolled |
subscriberId | string | UUID of the subscriber record |
merchantId | string | Your merchant account UUID |
planId | string | UUID of the plan they enrolled into |
email | string | Subscriber email address |
status | string | Always pending |
currentPeriodEnd | string | ISO 8601 — end of the current billing period |
gracePeriodEndsAt | string | ISO 8601 — deadline to pay before expiry |
timestamp | string | ISO 8601 — when the event was generated |
Handler example
Node.js
Related events
subscriber.activated— First payment confirmed. Provision access now.subscriber.expired— Grace period elapsed without payment.