#rogerc-balance

1 messages · Page 1 of 1 (latest)

fathom copper
open ice
#

Customer Balance Transaction

#

a cutom has balance

#

i want refund this balance

#

but this last invoice paid amount is zero

#

i can't use REFUND API with invoice to refund it

fathom copper
#

Oh, this is the customer's owning balance. Do you mean you want to decrease it?

open ice
#

This balance is generated by the customer changing the subscription

#

Now the customer wants a refund, and I need to refund it

#

hello?

fathom copper
#

Hi, continuing here

#

And when you use the Refund API, did it error?

open ice
#

yeah

#

i create refund with payment_intent

fathom copper
#

What error did you have?

#

Could you paste its message, or the request id here?

open ice
#

create refund need charge or payment_intent

#

but i can‘t get charge number or payment_intent with subscription

fathom copper
#

Ah I know this. Refund always requires a Charge or a Payment Intent objects. This is not automatically done by Stripe, but we can help you do it manually

#

So here is how Customer Balance works. You can increase or decrease it as you want. Eventually you want to decease this $329.18 to $0, but refund your customer somewhere else $329.18

open ice
#

i see this in dashboard

fathom copper
#

That "somewhere else" is: from the Subscription, list all its Invoices, expanding the associate charges in each Invoice

open ice
#

i want do this with api

fathom copper
#

Then you try to refund each of them until you reach the amount of $329.18

#

Yes, the challenging part is, you need to find Invoices, then Charges associated to Invoices, then refund each of them until you reach $329.18

open ice
#

I think I know what you mean

#

i get all invoices with subscription

#

ok,let me try

open ice
#

How do I calculate this money like this $329.18

#

if custom change subscription

celest iron
#

👋 Taking over from Orakaro, catching up now

#

Do you mean how $329.18 is calculated after subscription cancellation?

open ice
#

yes