#rafaelbaptista - Express Refunds
1 messages ยท Page 1 of 1 (latest)
Hi ๐
The transfer is returned to the connect account's Stripe balance. That balance is what gets paid out on the scheduled payout.
what you mean returned to the connected account, that parameter says that is to recover the funds from the connected account
Sorry, platform
from what i understand,
when a refund is made the money is first removed from the platform
and that parameter from what i understand what basically does is do the chargeback to get that money back from the connected account
So what you meant is that the chargeback will only reflet on the next payout of the connected account?
If by "reflect" you mean show up on the list of transactions associated with a given payout, then yes. The funds will be withdrawn from their Stripe account balance as soon as you initiate the reverasal
ahh, so as soon as the refund is processed if that flag is set to true the platform receives that money right away?
but if for example the connected account dont have balance?
The connect account can have their external bank account debited in that case:
https://stripe.com/docs/connect/account-debits
Sorry, wrong doc. Here's the right one: https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances
i dont know if i express myself right but i'm doing the reversal manually, i'm doing by setting the reverse_transfer to true
1 sec, will look into it
On a Refund request, correct?
yes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Right, here's the doc you'll want to review for that: https://stripe.com/docs/connect/destination-charges#issuing-refunds
i already read that doc but dont have any information on how stripe procceds if the connected account dont have balance
will only the value of the chargeback be paid by the connected account on the next payout?
If the connect account has a 0 balance and you process a refund it will debit the connect account balance to make it negative. Then Stripe will attempt to debit the connect account's external bank account to bring the balance back to 0
ok, thanks for clarifying
regarding the parameter refund_application_fee, i also set that to true .. but when i made the partial refund seems that it had no effect on the final value
can you please confirm?
this is the charge id : ch_3KuaYcCRI4H2eNZZ060CnkvR
There is no application fee on this charge.
yap, thats why .. thanks for the help
have another question regarding the charges
when a charge is made using destination charges the charge is create on the platform and then is create a py_ charge for the connected account.
That py_ charge is not getting any data like checkoutid, description that i passed to the charge, any way of the py_ charge also gets all the info that i pass
Do you have examples of the Charge ch_ and the py_ objects I could review?
yap 1 sec and i give you the id
ch_3KuaYcCRI4H2eNZZ060CnkvR
py_1KuaYd2EN2fYHAOBpBSeA4C8
regarding this, i remembered i do have an application fee . That application fee is capped from the original value so the connected account only gets the value without the fees,
so on this case how the fees are address? because from what i'm seeing for every total refund the connected account will be charged the amountwithfee + the fee again
However your integration is calculating and collecting application fees, it is not using the application_fee parameter, which is the only one Stripe knows about
alright so nothing that we can do there, regarding the charges you are able to find how we can do it?
regarding the charges you are able to find how we can do it
What are you trying to do?
this
The py_ is a payment, not a charge. So it does not have fields description available
so its not possible to pass some of the attributes of the charge like the metada,.. to the py_?
I do not think this is possible, no.
ok, no problem .. regarding the onboard of connected express accounts that already have an account or may not have an account should i have diffent approachs when onboarding?
These users will either A) have an existing Stripe Account or B) not. Those are the only two options. I think it makes sense to take the same approach in both cases and create new accounts.
right now our system i think is using the oauth legacy, its that still correct to use?
๐ Hopping in since snufkin has to head out
oauth is not what we recommend for onboarding stipe accounts any more - we recommend using account links instead https://stripe.com/docs/connect/express-accounts##configure-onboarding
But stripe still offers support for oauth onboarding auth right?
I'll try to migrate th onboarding to accounts but still want to know if i'm unable to, if the oauth is supported
You're still able to onboarding accounts with oauth, it's just not something we recommend for new users who are just starting out
alright, in the case that i want to keep the oauth for the current time, i only need need o add oauth/express in order to onboard the express accounts right?
correct
also to replace the oath with the new accounts onboarding i just need to generate the onboarding link right? https://stripe.com/docs/connect/express-accounts#create-link
or i have also to create the account before like is saying on step 2 of that link
Yes, the new onboarding flow would require a lot of changes from the oauth flow - you'd need to create an account up front and generate an account link to redirect your user to
to do it i only need to
$stripe->accounts->create(['type' => 'express']);
and then generate the link, right?
but in the case of the person already have an stripe account this will associate the previous with this new one?
Yes, the two accounts will be associated (in that the user can log in to Stripe and be able to see both accounts in their dropdown in the top left hand corner)
alright sounds good, thanks for clarifying