Skip to main content
The subscription events you send to /v1/events keep, for each customer, the state of each of their subscriptions: status, plan, and next charge. That state becomes customer attributes, ready for segments, the API, and MCP. There is no new field to send and nothing to register first.

Subscription events

An event is a subscription event when:
  • its name starts with subscription_ (for example subscription_active) or is renewal_upcoming; and
  • properties.subscription_id identifies the subscription (text or a number, up to 255 characters).

Status

The event name sets the subscription status:
  • properties.status accepts, case-insensitively: active, trialing or trial, paused, past_due (or pastdue, past-due), cancelled or canceled, expired.
  • In charge events, such as subscription_renewed with "status": "paid", the event name wins: that status belongs to the charge.
  • renewal_upcoming, subscription_cycle_skipped, and subscription_rescheduled announce an upcoming charge. For a subscription Bevits does not know yet, they record it as active, which also brings in customers who subscribed before the integration. Any event with an explicit status takes precedence over them.

Subscription details

Each event updates only the details it carries; the others stay as they were. Accepted date formats:
  • 2026-11-30T14:00:00-03:00 or 2026-11-30T17:00:00Z: that exact instant.
  • 2026-11-30: that day, the same in every Brazilian time zone.
  • 2026-11-30 14:00:00 (or with T): read in your account’s time zone.

Customer attributes

Bevits adds up all of a customer’s subscriptions into three attributes, created the first time they are needed: For a segment of active subscribers, filter by active_subscriptions greater than 0. subscription_status equal to past_due finds customers with no active or trialing subscription and at least one past-due subscription.

Multiple subscriptions

A customer can have any number of subscriptions, each with its own subscription_id. The attributes reflect all of them: the customer stays active while at least one subscription is active, and next_charge_at shows the earliest charge.

Order and retries

The state follows each event’s occurred_at, not the order in which events arrive. An older event that arrives after a newer one does not move the status back, and sending the same event again changes nothing. Send occurred_at whenever you can.

Loading existing subscriptions

To bring in the subscriptions you already have, send their events with backfill: true. The state and attributes are updated as usual, without triggering flows.

Test mode

Events sent with a test key (bvt_test_…) do not change subscription state or customer attributes.

Next steps

Custom events

Learn how to send events and link them to customers.

Recommended events

See the suggested event names and properties.