#vishnu_api
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/1339878133083541526
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! I am trying to understand your question. You created a payment via checkout and then transferred it to the connected account. After that you refunded the payment but the funds are still with the connected account. You want to know how to get the funds back?
No , I created the checkout session to send the payment to the stripe main accout ,after that i need to tranfer that payment to the connected account How can i do this process?
You created a transfer for the payment to the connected account already: https://dashboard.stripe.com/test/logs/req_MfPnb7kkyM8OgS
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Are you asking how to do it automatically?
I want to send a specific payment to the connected account. Once the transfer is complete, that payment should no longer be refundable from the main account. How can I achieve this?
The Platform can pretty much refund any payment, and revert the Transfer to the Connected account.
What do you mean by "no longer be refundable" exactly? The Platform has the ultimate control over its own account and the Connected accounts, so it can practically do anything.
I want to prevent the payment from being refunded once the amount has been transferred to the connected account.
Who do you want to protect this from exactly?
When I attempt to refund a payment that has already been transferred to the connected account using the code below, the refund should not be allowed. However, it is currently being processed.
CODE:
await this.stripeServices.refund({
paymentIntentId,
amount,
refundReason,
});
Here, the paymentIntentId value is "pi_3QsKQaAepJSiZtht1sidq71z".
I understand that. But you didn't answer my previous question âď¸
It means the refund request should fail when attempting to refund a payment that has already been transferred to the connected account.
Do you want to limit your customers from requesting refunds, do you want employees in your company to not be able to issue refunds, or do you want to not be able, as an owner of the account, to issue refunds?
As the account owner, the API call is processed using my API key, so I should not be able to issue a refund.
As the account owner, you have ultimate control and you can't block actions like this.
Just don't issue refunds, I am not sure what is your concern here exactly.
Can you tell me how to create the refund using the stripe API
How can I transfer a specific payment received by the Stripe main account to the connected account?
API for that
The link I sent includeds a code snippet with the relevant API. I recommend reading the doc
What is the use of the transfer_group in payment intent object
A string that identifies the resulting payment as part of a group. Learn more about the use case for connected accounts.
Most of your questions are answered in the docs