This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a tax group is created.
function onTaxGroupCreated(handler: function): void;
handler(event: TaxGroupCreatedEnvelope): void | Promise<void>
import { taxGroups } from "@wix/billing";
taxGroups.onTaxGroupCreated((event) => {
// handle your event here
});