BillingSubscriptionEditTimingEnum

string

Subscription edit timing.
When immediate, the requested changes take effect immediately.
When next_billing_cycle, the requested changes take effect at the next billing cycle.

Allowed values:immediatenext_billing_cycle

BillingWorkflowCollectionAlignmentAnchored

object

BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items
into an invoice.

typestringrequired

The type of alignment.

Allowed values:anchored

recurring_periodobjectrequired

The recurring period for the alignment.

Show Child Parameters
Example

BillingWorkflowCollectionAlignmentSubscription

object

BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items
into an invoice.

typestringrequired

The type of alignment.

Allowed values:subscription

Example

BillingWorkflowPaymentChargeAutomaticallySettings

object

Payment settings for a billing workflow when the collection method is charge automatically.

collection_methodstringrequired

The collection method for the invoice.

Allowed values:charge_automatically

Example

BillingWorkflowPaymentSendInvoiceSettings

object

Payment settings for a billing workflow when the collection method is send invoice.

collection_methodstringrequired

The collection method for the invoice.

Allowed values:send_invoice

due_afterstring(ISO8601)

The period after which the invoice is due.
With some payment solutions it’s only applicable for manual collection method.

Default:P30D

Example:P30D

Example