RevenueCatWebhookEvent
A RevenueCat subscription lifecycle event, as far as organization billing reads it.
Shape
object
18 fields
idstringrequiredRevenueCat event id; a repeated delivery of the same id is a duplicate.
typestringrequired- not
TRANSFER
- not
app_user_idstringrequiredRevenueCat App User ID, which is the Tearleads user id that made the purchase.
event_timestamp_msintegerrequired- 0 to 8,640,000,000,000,000
purchased_at_msintegeroptionalnullable- 0 to 8,640,000,000,000,000
expiration_at_msintegeroptionalnullable- 0 to 8,640,000,000,000,000
product_idstringoptionalnullablenew_product_idstringoptionalnullabletransaction_idstringoptionalnullableoriginal_transaction_idstringoptionalnullableentitlement_idslist of stringoptionalstorestringoptionalnullableenvironmentstringoptionalnullablecurrencystringoptionalnullableprice_in_purchased_currencynumberoptionalnullableperiod_typestringoptionalnullableRevenueCat subscriber attributes; the server does not trust them to choose an organization.
metadatamap of string to one of: string, number, booleanoptionalnullable- each value may be null
- string
- number
- boolean
Other fields are allowed.