#theglobe
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
Yes, you need to find the corresponding PaymentIntent/Charge and create a (partial) Refund for it.
Correct, I am sending this info to the HTTP request
headers
content-type
application/x-www-form-urlencoded
body
"proration_behavior": "create_prorations",
In this case you don't need to create prorations since it will apply the difference to their balance.
"proration_behavior": "none" and then you calculate the partial refund amount yourself.
but how can i refund the partial refund?
Specify the amount: https://stripe.com/docs/api/refunds/create#create_refund-amount
Got it. So I should cancel the subscription first and then refund it? Or the opposite?
Correct.
Happy to help.