#Hamza.faridy-transfer
1 messages · Page 1 of 1 (latest)
thank you, can you kindly guide me about this issue.
taking a look
thanks.
sorry I'm really confused with this, there's something that's not making sense to me
that's why it's taking me a while to give you an appropriate answer
no problem, let me know if you need more information about this.
do you have the request id where you got the error?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
that’s expected, when using reverse_transfer it only works when you’re refunding an actual Destination Charge.
Here, it’s refunding a standalone charge that had a later transfer. So instead you have to do the refund without reverse_transfer and manually call https://stripe.com/docs/api/transfer_reversals/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so the refund call would get the customer their money back and the transfer_reversal would get you back the money from the Connect Account
is there a way to automatically reverse the transfer of charge when refunding it?
no not really since you haven't created it as a Destination Charge in the first place
can i pass partial amount as destination charge?
you have two ways of doing that it really depends on how you want the flow of funds/reporting to work
https://stripe.com/docs/connect/destination-charges#application-fee
vs
https://stripe.com/docs/connect/destination-charges#transfer-amount
right now my checkout code looks like this:
but if i do this:
will i be able to refund a charge while automatically reversing the transfers connected with this charge?
yes
you just need to change the {{CONNECTED_STRIPE_ACCOUNT_ID}} with the account id of your Connected Account
thanks a lot for your help, just to be sure i won't have to change refund code if i make the above changes?
yes based on this https://stripe.com/docs/connect/destination-charges#issuing-refunds
okay, thanks once again 👍
let me know if you need any more help