a week ago
New webhook endpoints now use standard payloads by default
New webhook endpoints now use standard payloads by default. Standard payloads include each object's own fields and references to related objects, but leave out invoice line items and subscription price intervals, so they're smaller and faster to build and deliver. When you need the full object, fetch it from the API after the webhook arrives.
- Choose a payload style,
StandardorExpanded, when you create an endpoint in Developers > Webhooks. - Switch an existing expanded endpoint to standard payloads at any time.
- Every webhook now has typed, autogenerated reference docs for both payload styles.
Note that existing endpoints keep receiving expanded payloads until you change them.
Learn more about webhooks in our docs.