eventId
string

A unique identifier for this specific event. This ensures that each event can be tracked and processed individually.

eventType
string

Describes the type of event. In this case, it signifies that a subscription has been successfully completed.

eventTime
integer

The timestamp when the event was generated, typically in milliseconds since the Unix epoch (January 1, 1970). This value can be used to track when the event occurred.

subscriptionId
string

A unique identifier for the specific subscription that has been completed.

status
string

Represents the current status of the subscription. For this event, the status will be COMPLETED.

amount
integer

The recurring payment amount for the subscription, expressed in the smallest unit of the currency. Here, 2000 represents 20.00 USD.

currency
string

The currency used for the subscription payment. In this case, it is United States Dollars (USD).

cycleCount
integer

The total number of billing cycles for the subscription. For example, 12 indicates the subscription was billed for 12 cycles before completion.

interval
string

The billing interval for the subscription, such as MONTH or YEAR.

intervalCount
integer

Specifies the number of intervals between billing cycles. For instance, if interval is MONTH and intervalCount is 1, the subscription was billed monthly.

nextPaymentDate
integer

The next payment date for the subscription. This will typically be null when the subscription is completed.

remainingCycleCount
integer

The number of billing cycles remaining for the subscription. For a completed subscription, this will always be 0.