Skip to content

Recent payments and cancellations

GET
/v1/revenue/events

Newest first, with 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. Indie or Builder.

type
string
Allowed values: payment cancellation

Omit for both.

limit
integer
default: 20 >= 1 <= 100

Events

Error envelope. See error.code for the discriminator.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties

Error envelope. See error.code for the discriminator.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties

STRIPE_NOT_CONNECTED: connect Stripe in the dashboard first.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties