#XinJin-refund
1 messages · Page 1 of 1 (latest)
When refunding it,
The balance got $-300
not -291
So the platform lost $9
I don't want that.
In this case, should I refund part of the money?
or there is another setting to handle that?
It is possible to give partial refunds by specifying the refund amount https://stripe.com/docs/refunds#api
What other settings or solution might you be looking for?
So I don't want to refund the part of the payment
Just want to refund whole thing.
But in this case,
I want to refund only the amount by which the platform charged
So I want to ask if there is option to handle that kind of function.
I am still a bit unclear on this. Can you describe what your ideal behavior here would be?
So, the platform charges $300 from user's card.
the platform get $291.
(Current behavior) when refunding whole payment,
it refunds $300.
The platform's balance gets $-9
(What I want) when refunding whole payment,
it refunds $291(by which the platform charged)
So the platform's balance gets $0
Ah I think I understand. So you want to know how to figure out the Stripe fee on the transaction was $9 so you can know to refund $291
The related Balance Transaction will have how much the Stripe fee was https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee
That is second solution.
The best solution is that I want to refund itself(But it cares the fee on user's side in background)
by a setting field when creating the paymentintent or refunding that)
Unfortunately it does not look like there is a setting on the PaymentIntent or Refund object to do this automatically. You will need to look up the balance_transation on the charge and subtract its amount from the charge's amount
pi_3Je3HtIqjQenjcYZ1y7s4cBn
I saved payment intent id.
tr_1Je308IqjQenjcYZ8fSqeNpL
Can you check this transaction?
It was done 2 days ago, I think.
The the connected stripe account balance is still $0.
Thank you. Still looking in to this. I'm sorry I'm having trouble connecting some of the dots here. What is the $2.88 transfer?
That is
transfer from main stripe account.
By the way,
I have a quick question.
In the case of capture mode,
the stripe will take the fee in the autherization step?
I think it is taken during the actual charge but am looking in to it
And I see, is the 2.88 transfer not directly related to the refund behavior we were talking about earlier?
So,
@prisma knoll I'm jumping here to help and take over. I'm a bit confused by what is confusing you myself. This Transfer sent funds to the connected account and that's it, what is not working for you?
I just wanted to know when it is available.
I assumed it will be available immediately in balance.
Because the main stripe account has available balance.
Transfers are made available immediately. That Transfer was available immediately and has already been paid out since then because that account is on automatic payouts
To the connected payment card, you mean?
yes
you can see all of this in the Dashboard and see they got the $2.88 paid out already
Ok. makes sense.
One more question, sorry. Is the stripe fee rate fixed or not?
I can realize it is 3% in my case now.
https://stripe.com/pricing covers all our fees in details
I just wanted to know only for the direct charge.
that's the same answer really, you can look and see the pricing changes per country, each user can negotiate it's own price too, so it's never just 3%
also as a platform when you say "a direct charge" it means this: https://stripe.com/docs/connect/direct-charges which doesn't look like what you use since you transfer funds to connected accounts
You currently have Custom accounts and would never be using direct charges
That is the another case.
I have logic of direct payment from user's payment card.
I just wanted to know about the case.
I'm really sorry I don't understand what that could mean unfortunately. Do you use Standard accounts and create direct charge as documented on https://stripe.com/docs/connect/direct-charges or are you using your own vocabulary to describe a direct charge but mean something else?
So the platform has student and tutor accounts.
For tutors, it has stripe connect accounts.
For students the platform charges from students' payment card
When using capture mode
does the stripe take a fee
if I cancel the capture authorization?
@prisma knoll sorry about thus looks like we dropped the thread
So no, there's no fee if you cancel the authorization and never capture it
I see.
So,
in the case of direct charge,
please don;'t call this direct charge
this is not a direct charge at all. This is just a charge on your account. I know it seems "direct" is the right work, but "direct charge" is a really specific term in our product/API and it means something completely different
Sorry. direct payment?
don't use the word direct at all
you're a platform. Direct is a type of flow of funds and it's not what you are using. I'm sorry for being nitpicky but that will lead to really confusing conversations with us if you say "direct charge" and "direct payment" and you will likely get wrong answers as we won't remember your specific charge flow (there are hundreds of people a week asking questions here)
all good, I'm sorry this is so hard, because I agree on your side "direct payment" makes sense, you just mean a charge on your own account
So if you create a charge on your own account, your own pricing plan applies https://stripe.com/pricing
if you only authorize the charge and don't capture it, there's no fee (unless you are a large user with a custom fee plan)
Ok. Thank you.