Back to Webhook
Subscription Model
ATTRIBUTES
-
Amount decimalAmount paid per billing interval.
-
BillingPeriodEndDate stringEnd time and date for the current billing period, in format MM/dd/yyyy HH:mm:ss.fff.
-
BillingPeriodStartDate stringStart time and date for the current billing period, in format MM/dd/yyyy HH:mm:ss.fff.
-
CancelledDate stringTime and date when the subscription was cancelled. If the subscription has been cancelled this field will be filled, otherwise this field will be null.
-
Conversion ConversionModelThe conversion object for this subscription.
-
CreatedDate stringTime and date when the subscription was created, in format MM/dd/yyyy HH:mm:ss.fff.
-
Currency stringA three character string describing the currency for the company i.e gbp.
-
Demo boolFlag describes if the flow is currently running on demo or live mode.
-
Id integerA unique identifier for this subscription.
-
Interval stringThe frequency with which a subscription should be billed. Can be: day, week, month or year.
-
IntervalCount integerThe number of intervals between billings. For example, if interval was month and count was 3 then billing would occur every 3 months.
-
MetaData Dictionary<string,string>Key-value data containing information about the interaction and subscription
-
PlanID stringA unique identifier for the plan this subscription occurred on.
-
Status stringThe current status of this subscription. Will return 'active' if the subscription is active and 'payment_received' when we have a confirmed that the subscription invoice was paid.
Example Response