#jatinpatel0708_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1308723203350200352
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
here is the request Id: req_LEG2mbsDOJkAeM
let me Explain:
The Connected Account has transferred $50.00 to the Main Account. Now I want to refund it back to the Connected Account.
you created a transfer from the connected account to your platform's account?
Yes
please give me a minute I'm looking into this
I now want to refund this transfer back to the Connected Account.
sure
here is the New request ID:
req_xaCLrdJWXKI2Ow
this is actually not a "normal" transfer
But it is creating a transfer; I want to create a refund. How can I use this API to confirm whether it processed as a refund or simply created a transfer from the Main Account to the Connected Account?
the created transfer is on the Connected Account not your platform's account
the request for transfer reversal is being made on the Platform's account where the transfer doesn't exist
the easiest way to send money back to your connected account is to create a transfer from the Platform's account to the connected account
okay, It means I have to create Tranfer to the Main Accoun to Connetced Account?
If I pass the Connected Account ID in this code
$refund_transfer = $stripe->transfers->createReversal("tr_1QL15kI3RET0QghKJlOQbhPB", ['amount' => (50 * 100)],['stripe_account' => $seller->stripe_account_id]);
will it correctly create a refund transfer?
I'm not sure, would you mind trying it please? I was setting up the same scenario to test it myself but it's taking a bit more time to setup
okay, I will Try
did it work?
req_hHR0AEyAltKnn0
good
Yes, I have tried it and it works. Could you please check my previous request ID to ensure that I am on the right track?
yes it did work correctly
I wasn't a 100% sure that in this setup it would work as well
Thanks