Moloni ON Logo WhiteGuidesAPI ReferenceExplorer
API Reference

SubscriptionConfiguration

object

Fields

NameTypeDescription
paymentModePlanPaymentMode!
modules[SubscriptionModule!]!
isManagingBoolean

This flag tells us when we are "updating" an active subscription instead of making a new one.

promoCodeString

Promo 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.

promoDiscountPercentFloat

Percentage 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