#themax1-amount & fee
1 messages ยท Page 1 of 1 (latest)
Ok, let's go from the beginning, I have a total amount let's say for example 12 USD total, and I have to transfer to a connected account 64.5% and 35.5% is the fee to the platform, so in math that is:
12 - total amount in payment intention create
7.74 - connected account
4.26 - application fee
When I capture this payment later, I put the amount to capture 774, but than says that was refunded 4.26, but how if that is the application fee actually
So I really confused
And I'm apply the application_fee on my payment intention and not on capture payment
Oh, you dont want to adjust the amount on capture, thats the amount the customer will be charged
You can update your application_fee_amount there, if needed
https://stripe.com/docs/api/payment_intents/capture#capture_payment_intent-application_fee_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But you still want to capture 1200
So the only thing that I capture is the fee amount then?
But I capture on payment intent create and payment capture?
captured amount is the payment from the customer. the application fee & trasnfer is stripe internal stuff that happens after that point.
Separate capture is optional, if you use that the initial payment confirmation is authorized (you can be sure you're able to get that amount, and the hold is placed on the customer card), but the capture is what collects that finally from the customer
You only capture payment once, either automatically when the payment confirmation succeeds, or manually with a /capture call within 7 days if usuing manual capture
But let's say I create a payment intent with my amount 1200 and application fee 426, and then later on in capture, the amount I pass is the total and then I pass the application fee again?
That is what's is confusing me
And if I do this, my connected account is only going receive 7.74?
Instead of 12?
No that's an optional parameter if you need to change the application fee
you can just omit that parameter if you've already set the fee you want
But if I don't change, what's the final value that goes to the connected user?
7.74?
Because he's going to discount 4.26?
I'm not sure what you mean by discount here
Ok something like this
I'd suggest taking a look at the fund flow diagrams for application fees vs transfer amount to see how it goes:
https://stripe.com/docs/connect/destination-charges#flow-of-funds-app-fee
You might was to use transfer_data[amount] in that case, but its up to you. The diagrams for the funds flows do show how this works in practice.
What I looked there I only pass the amount fee and the total, because when pass the total from 12, is going to take out 4.26 and 7.74 is the final amount
Or i just configure this transfer amount?
Using this transfer data amount seems what I want to do
The values:
Amount- 1200
Fee - 426
Transfer amount - 774
Yea i think so too, but the application fee should work similarly
That work right?
with transfer amount you dont set the fee, its just the difference between the amount and the trasnfer that you keep
Ohh gotcha
so you choose: do you want to specify the amount for the connected account, or the amount for your platform?
The fee is capture auto by the difference between this too values?
At this point for better is to define the transfer amount because is the value I already have on my application
the amount captured from the customer is the amount of the payment intent, regardless of anything to do with destination charges, application fees or transfer amounts
if you use transfer amount, that amount is what is transfered to the destination account (and you keep the rest for your platform)
if you use application fee amount, that amount is what is remitted to your application form the payment (and the connected account keeps the rest)
But let's I just define amount and transfer amount, my platform fee is going to get automatically by the difference between this two or is not going to have any fee?
Ohh I think now I get it
So can work with both of them and at the end is going to be that same thing?
Either way I choose
Yes, if you set the PI amount to 1200 and the transfer amount to 700, your platform gets the remaining 500 (and the stripe fees are deducted from that 500)
Gotcha, so basically I can use one of this two cases?
correct
If you tried to provide both, you'd get an error:
You may not provide the application_fee_amount parameter and the transfer_data[amount] parameter simultaneously. They are mutually exclusive.
I suggest giving it a try in test mode
Try both version, see how the results suit you
Is there a better practical use or just use what is more ideal and easy?
Neither is better, its more about your business and what's appropriate
I definitely going to try out both of them
I need to step away but my colleague @tight geyser can help if you have further questions about this ๐
Hello again!
Just one more thing, can I reset every payment and my total amount of test mode account?
Hello again
Like reset your balance?
Yes
And for some reason my balance is negative too
i made so many tests before
If it's possible to reset
Even if reset everything
There's no way to reset it that I know of, but you can create payments to fill it up and pay funds out to empty it. You should use the test card 4000000000000077 to bypass your pending balance and go straight to available: https://stripe.com/docs/testing#cards-responses
But there's a way to reset my test mode account?
You can delete all test data using the Delete all test data... button at the bottom of this page, but it takes a while to finish: https://dashboard.stripe.com/test/developers
And that reset everything right?
That will clear all test data, yes.
Oh ok, that will work too
I don't have much things
Can you leave this thread open? Because I want some stuffs from here and I'm not on my PC
This thread won't go away. If it's archived you can still get to it by searching the archived threads.