#chris-vr_api

1 messages ยท Page 1 of 1 (latest)

waxen edgeBOT
#

๐Ÿ‘‹ 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.

weary tree
#

Hi ๐Ÿ‘‹

Do you have the ID for an example Transfer object you can share?

wanton quarry
#

hey!

#

not sure what that would be

#

is is the transfer id I see in the dispute close event?

weary tree
#

Oh you mean you want to create a Transfer due to the charge from a Dispute? In that case the Dispute ID would help

wanton quarry
#

actually, there is no transfer id there

#

ok the dispute id is: du_1R7dZaH2wLHuCKJpCbsNBxIC

#

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'"

weary tree
wanton quarry
#

req_d3dQXsO5T7Th6O

weary tree
#

Wait are you trying to make a transfer from the Connected Account to the Platform?

wanton quarry
#

yeah, is that possible?

weary tree
#

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?

wanton quarry
#

if I do get the charge_id from the connected account would it work though?

weary tree
#

No

#

Taking a step back to look at this whole process

#

The charge associated with that Dispute was created in this request

wanton quarry
#

yeah the transfer id is: tr_3R4hMaH2wLHuCKJp0iYIM0AV

weary tree
#

You specified the Connected Account as the Transfer desitination in that request

wanton quarry
#

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

weary tree
#

Our doc covers multiple ways to do this, depending on how you have configured Connect

wanton quarry
#

so that works if the connected account currency is USD

#

thats where I get stuck because I don't have the charge_id

#

The Charge ID or Payment ID created on the connected account

waxen edgeBOT
weary tree
#

Right, you are referencing the Charge ID on the Platform

wanton quarry
#

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

quasi fog
#

@wanton quarry Are you back? Can you reiterate where you're stuck still?

wanton quarry
#

hey

#

yeah Im here

#

I am still not sure where to get the charge_id as it appears in the connected account

quasi fog
#

Can you try py_1R4hNjQgzVzGlhWjLWRnOcAa?

wanton quarry
#

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

quasi fog
wanton quarry
#

where can I see in the platform dashboard the 15 dollars coming to my account?

quasi fog
#

We do not have the expertise on the Dashboard behaviors. We're here to assist with Integration and API related issues.

wanton quarry
#

okay, so the id py_1R4hNjQgzVzGlhWjLWRnOcAa comes in the response from the transfer reversal I did first?

quasi fog
#

From the Transfer creation, yes and not the transfer reversal

wanton quarry
#

oh the original transfer

quasi fog
#

Yes

wanton quarry
#

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!