#Santos-refunds
1 messages · Page 1 of 1 (latest)
Hi there!
You can partially refund any charge.
Are you concerned that the charge won't have been created yet?
How do you partially refund a charge?
I am concerned the charge won't be created. For example, when a customer downgrades there is no charge created for that invoice.
When you create the refund, you can pass in an amount variable that can be less than or equal to the amount on the charge https://stripe.com/docs/api/refunds/create#create_refund-amount
Are you looking to do your own custom proration or are you looking to do roughly the same as what Stripe could calculate as a proration?
If a customer pays for a subscription and then upgrades that subscription, would I need to generate two refunds for the two charges?
Good question. I think you might have to but will double check this
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hi @craggy sigil I've unlocked this thread. When you say your Customer upgrades their Subscription, does your flow immediately have them pay when the upgrade is performed?
Yes, we set the following attribute on the Subscription modify call: proration_behavior="always_invoice"
Gotcha, so if you want to refund both the renewal and the upgrade charges, then yes, you will need to refund both charges.
Thank you.