#chris-vr_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/1359573608845803571
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Do you have the ID for an example Transfer object you can share?
hey!
not sure what that would be
is is the transfer id I see in the dispute close event?
Oh you mean you want to create a Transfer due to the charge from a Dispute? In that case the Dispute ID would help
actually, there is no transfer id there
ok the dispute id is: du_1R7dZaH2wLHuCKJpCbsNBxIC
the connected account I want to transfer from is not based in the US and in the docs I found this: https://docs.stripe.com/api/transfers/create#create_transfer-reference_transaction
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 trying to pass that so it works
I tried the charge_id in the dispute event but got this error:
"No such charge: 'ch_3R4hMaH2wLHuCKJp0ilcXpYN'"
Can you share an API request ID for the request that returns this error? It will start with req_
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_d3dQXsO5T7Th6O
Wait are you trying to make a transfer from the Connected Account to the Platform?
yeah, is that possible?
No, that's not how the Transfers API works. So that is likely the source of this confusion. The error message could be better though. The reason that is being thrown is you are making the request from the context of the Connected account and the charge you referenced doesn't exist on that account.
The way Transfers are supposed to work, you Transfer funds from your Platform account to the Connected Account
There should have been a Transfer associated with that charge when you first created it, wasn't there?
if I do get the charge_id from the connected account would it work though?
No
Taking a step back to look at this whole process
The charge associated with that Dispute was created in this request
yeah the transfer id is: tr_3R4hMaH2wLHuCKJp0iYIM0AV
You specified the Connected Account as the Transfer desitination in that request
So, to reclaim the funds, you would reverse the existing Transfer using the Transfer Reversal API
Yeah I do use that to reverse the dispute cost
but when a dispute is lost I want to recover the $15 fee
hoping there was a way to transfer that amount from the connected account
In that case you would need to handle debiting the account
Our doc covers multiple ways to do this, depending on how you have configured Connect
so that works if the connected account currency is USD
but if its not then I end up here in that same doc: https://docs.stripe.com/connect/account-debits#transferring-from-a-connected-account-in-a-different-region
thats where I get stuck because I don't have the charge_id
which is this parameter in the api docs: https://docs.stripe.com/api/transfers/create#create_transfer-reference_transaction
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The Charge ID or Payment ID created on the connected account
Right, you are referencing the Charge ID on the Platform
yeah, I did that on postman to test
I will be back in a moment if I am delayed to response please don't close it
@wanton quarry Are you back? Can you reiterate where you're stuck still?
hey
yeah Im here
I am still not sure where to get the charge_id as it appears in the connected account
Can you try py_1R4hNjQgzVzGlhWjLWRnOcAa?
sure give me a moment
it went through
not sure where can I see this in the dashboard and also not sure where to get that id
You can attain this from https://dashboard.stripe.com/events/evt_3R4hMaH2wLHuCKJp0FyMkTnc for instance destination_payment: "py_1R4hNjQgzVzGlhWjLWRnOcAa",
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
where can I see in the platform dashboard the 15 dollars coming to my account?
We do not have the expertise on the Dashboard behaviors. We're here to assist with Integration and API related issues.
Our support team will be able to assist you better than I can: https://support.stripe.com/contact with Dashboard questions
okay, so the id py_1R4hNjQgzVzGlhWjLWRnOcAa comes in the response from the transfer reversal I did first?
From the Transfer creation, yes and not the transfer reversal
oh the original transfer
Yes
sounds good, I was able to retrieve the transfer now and see the "destination_payment": "py_1R4hNjQgzVzGlhWjLWRnOcAa",
in the dispute object event I receive I don't see this transafer
whats the best way to get the transfer id from there?
Ah nvm, I see if I retrieve the charge details
alright I think I am good for now
thanks!