#AdamTheDeveloper-connect

1 messages ยท Page 1 of 1 (latest)

mint tiger
#

hi! you have to make a separate API call later

#

you'd update payment_intent.charges.data[0].destination_payment as that's the payment object that appears in the connected account's dashboard

#

https://stackoverflow.com/a/52971292/9769731 this is still relevant if it helps(though nowadays we use Checkout so you get the PaymentIntent's charge through the path above instead) and I wrote it. Let me know how I can clarify things

whole wharf
#

Thanks. That makes sense, a well written guide. Ok, so in reverse, would I need to update the main Connected account dashboard too then? When I set the description in the connected account, I can't find that ref in the platform account.

mint tiger
#

if the connected account is updating something, they're updating the destination_payment object(a Charge object in their own account), so that's not reflected or copied to anything on your platform account, no

#

note that you don't usually use Destination charges with Standard accounts who have a dashboard and would see/could change this stuff, though. You usually use Destination with Express accounts who have a simplified Stripe dashboard, or Custom accounts who don't have one at all

whole wharf
#

Yes it's Express we are using

#

Or trying to!

#

Speaking of the Express dashboard, is it possible to use the API to change the transactions where I charge an Express account for our product? Currently it shows "Refund on XYZ" but it's not a refund,

mint tiger
#

hmm, I think I'd have to look at an example of that, is there an API ID associated with that "refund on ZPos" I can look at?

#

like is it a trr_xxx transferreversal perhaps?

#

or failing that if you have the account ID acct_xxx I can probably find something

whole wharf
#

Test account ID is acct_1L06bfR7zW2EAKOw

#

I can't find the transfer in their account (viewing from Connect Platform). The "balance" is showing correctly, but the transfer isn't anywhere there

#

Actually, I have seen this: py_1L0kqaJAXBXnoJdlqOucWnb7

#

tr_1L0kqaR7zW2EAKOwfCmuTLLp

mint tiger
#

hmm, you shouldn't be using the Charges API, to be clear

#

not really relevant to the issue at hand but pointing it out

whole wharf
#

It is relevant, thank you ๐Ÿ™‚ The docs indicate that's the way to charge a connected account for other products and services

#

Is this not the case then?

mint tiger
#

which docs?

#

oh right

#

account debits

whole wharf
mint tiger
#

sorry, we were talking about destination charges earlier but now you're linking/showing me an AccountDebit

#

then yeah I guess they get shown as "refund" on the connected account, which I agree doesn't make much sense

whole wharf
#

๐Ÿ™‚ So is that something I can't modify via an API call etc

mint tiger
#

I don't think so, Account debits don't create any mutable object on the connected account, just a BalanceTransaction, which doesn't have a description that can be changed