Skip to Content
SDK ReferenceReferenceInterfacesInterface: SubscriptionWebhookEventData

Interface: SubscriptionWebhookEventData

The data object of a subscription.* webhook.

Properties

amount

amount: MoneyDto;

billingInterval

billingInterval: string;

businessId

businessId: string;

cancelAtPeriodEnd

cancelAtPeriodEnd: boolean;

customerDisplayName

customerDisplayName: string | null;

customerEmail

customerEmail: string | null;

customerId

customerId: string;

customerPhoneNumber

customerPhoneNumber: string | null;

eventPayload

eventPayload: Record<string, unknown> | null;

externalReference

externalReference: string | null;

graceEndsAt

graceEndsAt: string | null;

intervalCount

intervalCount: number;

nextBillingAt

nextBillingAt: string | null;

planCode

planCode: string | null;

planId

planId: string | null;

planName

planName: string | null;

status

status: string;

subscriptionId

subscriptionId: string;

trialEndsAt

trialEndsAt: string | null;
Last updated on