#DaanVDH - connect refund
1 messages · Page 1 of 1 (latest)
Hi there,
Happy to help
It depends on the type of the charges used
https://stripe.com/docs/connect/charges#types
if it is direct-charges, you can only do the refund from the connected account
if it's destination-charges => you can only do the refund from the platform account
Thanks for the reply, is there a way to create an url to a refund page for a specific transaction?
Because i don't want my users to have to refund the order on both platforms separately.
What do you mean by "create an url to a refund page" ? like hosted Stripe Checkout ?
I mean when the user clicks the button to refund an order on my platform they will be lead directly to a stripe page where they can refund the transaction linked to that order.
So they don't have to manually search for the transaction and refund it after they have done that on my platform
Need more context so,
I mean when the user clicks the button to refund
you mean the end user, or your connected account ?
And what type of charges are you using ?
If so, you can do this directly from the dashboard of the connected account
but if you steel need to have a refund page for a specific, you may need to create it on your side using Stripe APIs
Yes, but you said it's not possible to refund transactions for standard connected accounts using the API right?
Or do i need an Oauth token for that?
I saw this on your website:
Just as platforms can create charges on connected accounts, they can also create refunds of charges on connected accounts. To refund a charge on a connected account, perform a standard create refund request using your platform’s secret key while authenticated as the connected account.
Application fees are not automatically refunded when issuing a refund. Your platform must explicitly refund the application fee or the connected account—the account on which the charge was created—loses that amount.```
So that means if the user is authenticated i can make the refund using the api?
Hey apologies but I am just catching up on this thread. You can definitely send refunds on standard account charges via the API
You can use OAuth or the Stripe-Account header depending on how you are connecting https://stripe.com/docs/api/connected_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks for the reply!