#kamran5446
1 messages ยท Page 1 of 1 (latest)
i want to set this credit balance to 0
Hi ๐ jumping in as my teammate needs to step away soon. Those credit balances are controlled at the Customer object level, instructions for modifying a customer's balance can be found here:
https://stripe.com/docs/billing/customer/balance#modifying
can i set credit balance to always 0 because i dont want to adjust balance in any case?
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?
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?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.