Paycose Docs
FlowEvents

Price events

What data you get for price.created, price.updated, and price.deleted.

Fires when a price for a product is created, updated, or deleted.

Prop

Type

{
  "id": "price_01J9ABCDEFGHJKMNPQRSTV",
  "object": "price",
  "product": "prod_01J8XYZABCDEFGHJKMNPQR",
  "currency": "THB",
  "amount": 150000,
  "billing_scheme": "per_unit",
  "recurring_interval": "month",
  "recurring_interval_count": 1,
  "usage_type": "licensed",
  "metadata": {}
}

All three events share this shape. amount is in the currency's minor unit.