SubscriptionUpdateRequest

Request body for updating an existing subscription. All fields are optional — only provided fields are changed.

  • ID of the new default payment method.

  • New payment collection method. send_invoice is (coming soon).

  • New number of days until invoice is due (for send_invoice collection method).

  • If true, the subscription remains active until the end of the current billing period, then cancels. If false, re-activates a subscription that was previously set to cancel.

  • New scheduled cancellation date (ISO 8601).

  • New trial end date (ISO 8601 datetime), or "now" to end the trial immediately. When set to "now", the billing schedule is rebuilt and the first charge fires right away.

    • End the trial immediately.

  • New billing cycle anchor date (ISO 8601).

  • Advanced billing cycle configuration. Allows precise control over when billing cycles occur. All fields are optional integers with specific ranges.

    Properties: 5
  • Controls what happens when a trial period ends.

    Properties: 1
  • Details about why this subscription was cancelled.

    Properties: 2
  • New connected account ID.

  • Controls when and how charges are collected after the update. Only allow_incomplete and default_incomplete are accepted on update — error_if_incomplete and send_invoice are creation-only behaviors.

    • allow_incomplete — without anchor: charge attempted inline immediately after the update; success → active; failure → past_due. With billing_cycle_anchor: charge deferred to the anchor date; success → active; failure → past_due. Up to 3 total charge attempts; exhaustion → canceled.

    • default_incomplete — without anchor: charge attempted inline immediately after the update; success → active; failure → past_due. With billing_cycle_anchor: subscription stays incomplete until the anchor date; charge fires at the anchor date; success → active; failure → past_due. Up to 3 total charge attempts; exhaustion → incomplete_expired.

  • Replace all subscription items with this new set.

  • Updated metadata key-value pairs.

    Properties: 1