Order API
TypeSubscriptionCycle1
Known details for one completed or scheduled subscription cycle.
Every cycle requires billed_at. Send a stable id when available, especially for scheduled cycles whose billing time may change.
A completed cycle was successfully billed. A scheduled cycle is expected but has not been successfully billed yet.
| Kind | Type |
|---|---|
| Used in | UpdateSubscriptions1 |
Properties
-
idstring optionalStable cycle or billing ID in your system.
-
Whether this cycle completed successfully or remains scheduled.
When omitted, Bubblehouse compares
billed_atwith the subscription snapshot'supdated_at: later cycles are scheduled, while cycles at or before it are completed. -
Actual successful billing time for a completed cycle, or expected billing time for a scheduled cycle.
-
Start of the cycle period, when known.
-
End of the cycle period, when known.
-
Successfully billed or expected cycle amount, when known.
-
discount_codesarray of string optionalCoupon codes used or expected for this cycle.
Include these only when the same codes are not sent on the matching order.