Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

SubscriptionConfiguration

object

Fields

NameTypeDescription
paymentModePlanPaymentMode!
modules[SubscriptionModule!]!
isManagingBooleanThis flag tells us when we are "updating" an active subscription instead of making a new one.
promoCodeStringPromo code applied at checkout, snapshotted so the Moloni sale document reflects exactly what was charged even if the promocode is later edited/expired. Null when no promo was applied.
promoDiscountPercentFloatPercentage discount from the applied promo code, snapshotted at checkout. Folded into the Moloni document line discounts so the document total matches the charged (discounted) payment amount.

© 2026 Moloni ON

Tax Authority Certificate No. 3075