#diplodocus-subscription-collections

1 messages ยท Page 1 of 1 (latest)

wind lark
#

Hi there ๐Ÿ‘‹ very interesting question, please bear with me while I do some digging to ensure this is possible.

wind lark
#

Thank you for your patience! Yes, you would update the collection_method parameter to change the behavior of the subscriptions payments (automatic vs invoice). When toggling to send_invoice you'll also need to provide a value for the days_until_due field:
https://stripe.com/docs/api/subscriptions/update?lang=python#update_subscription-days_until_due

last basalt
#

Great, thanks for the information!

wind lark
#

If there is already a valid payment method associated with the subscription then that will be used for the subscriptions payment. If there isn't a payment method directly on the subscription then it will also look down to the customer object for payment methods to use:
https://stripe.com/docs/api/subscriptions/create?lang=python#create_subscription-default_payment_method