Recent payments and cancellations
GET /v1/revenue/events
Newest first, from Stripe and Lemon Squeezy, with provider, customer_id (the provider’s own id; stripe_customer_id is the same value, kept for older callers), the customer’s email, name and plan. For a cancellation, amount_minor is the monthly amount that stopped, not a refund. Amounts are in the smallest currency unit, reported per currency, and never converted or added together. Every response includes sync (status, last_synced_at, livemode): backfilling means the first import is still running, revoked or error means the numbers are as of the last successful sync.
Auth: Secret key only. Every plan; Free reads the last 30 days, Indie 90 days, Builder 24 months.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Omit for both.
Responses
Section titled “ Responses ”Events
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.
object
object
object
STRIPE_NOT_CONNECTED: connect Stripe or Lemon Squeezy in the dashboard first.