#codedmart-connect

1 messages · Page 1 of 1 (latest)

civic void
#

You want the ID of the original destination charge created on the platform?

quartz kraken
#

No I would like the id of the charge that shows on the connected accounts side.

#

Where do I find that payment id in the destination/transfer flow from the api?

civic void
#

Ah, so you want to go from the destination charge on the platform -> the ID of the payment you see on the connected account?

quartz kraken
#

Yes

civic void
#

Gotcha - so I believe you'd want to retrieve the Charge (on the platform account) and expand transfer.destination_payment.

quartz kraken
#

Oh right 🤦 thanks!

#

So from the api is that a charge?

#

To retrieve?

civic void
#

Yeah you'd expand that on the Charge object when you retrieve - you could also do it from the Payment Intent, you'd just need to change the expand to be something like charges.data.transfer.destination_payment

#

I need to head out, but @reef lark can help with any follow ups!