#kamran5446

1 messages ยท Page 1 of 1 (latest)

fervent briarBOT
mortal raptor
#

๐Ÿ‘‹ happy to help

#

I'm not sure I totally follow

#

would you mind elaborating?

agile night
#

i want to set this credit balance to 0

kind echo
agile night
#

can i set credit balance to always 0 because i dont want to adjust balance in any case?

kind echo
#

I'm not sure I'm understanding, you have the ability to control the Customer's credit balance and can adjust it as necessary. Are you running into troubles while trying to do so?

agile night
#

i do not want to create credit balance on decreasing quantity while i modify the subscription (stripe.Subscription.modify). is there any flag/property i can pass to not create credit balance?

kind echo
#

No, if you create an Invoice with a negative balance then that will impact the customer's credit balance. Are you wanting to avoid creating prorations when modifying the Subscription? If so that is controlled by the proration_behavior parameter:
https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior