Tearleads

RevenueCatWebhookEvent

A RevenueCat subscription lifecycle event, as far as organization billing reads it.

Shape

object

18 fields
  • idstringrequired

    RevenueCat event id; a repeated delivery of the same id is a duplicate.

  • typestringrequired
    • not TRANSFER
  • app_user_idstringrequired

    RevenueCat 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_idstringoptionalnullable
  • new_product_idstringoptionalnullable
  • transaction_idstringoptionalnullable
  • original_transaction_idstringoptionalnullable
  • entitlement_idslist of stringoptional
  • storestringoptionalnullable
  • environmentstringoptionalnullable
  • currencystringoptionalnullable
  • price_in_purchased_currencynumberoptionalnullable
  • period_typestringoptionalnullable
  • subscriber_attributesmap of string to RevenueCatSubscriberAttributeoptional

    RevenueCat 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
    1. string
    2. number
    3. boolean

Other fields are allowed.

Used by

Schemas