#AdamTheDeveloper-connect
1 messages ยท Page 1 of 1 (latest)
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
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.
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
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,
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
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
hmm, you shouldn't be using the Charges API, to be clear
not really relevant to the issue at hand but pointing it out
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?
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
๐ So is that something I can't modify via an API call etc
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