buildWebhookPayload(entries: RegistrationEntry[],currency: string,source: WebhookBookingSource,pricingByGroup?: PackagePricingByGroup,): WebhookPayload
Build a consolidated webhook payload from registration entries. source is
required: a new booking path states its stored source, and a re-send of a
booking with no contact history states "unknown".
entries: RegistrationEntry[]