#bhaal22-pm-on-destination-py

1 messages · Page 1 of 1 (latest)

marble sigilBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

cyan sage
#

Hmm, I don't believe that's something the API supports today.
Double checking

oblique tundra
#

hmmm

cyan sage
#

What charge object are you looking at?

oblique tundra
#

on connect account we have charges in the py_xxx format

#

but we lose some data

cyan sage
#

Can you share the ID?

oblique tundra
#

like the payment method used

#

sure

#

give me 1 moment

#

let take that one for example

#

where I have some data from the card (brand, country, apple pay or not, billing info, ...)

#

unless I miss one thing when I create the on_behalf_of

cyan sage
#

Is there a reason you're looking for this info on the connected account?

You're creating destination charges. PaymentMethod information is stored on the platform for this flow.

marble sigilBOT
#

bhaal22-pm-on-destination-py

oblique tundra
#

for reporting purposes yeah

#

same for refund, refunding a py_ does not work

cyan sage
#

Yeah that's expected with Destination charges

#

Charge objects are owned by the platform and can be refunded at the platform level

oblique tundra
#

so my question 🙂

cyan sage
#

py_ object created on the connected account is for pay-ins

oblique tundra
#

how to get the link

#

between platform <> connect account

cyan sage
oblique tundra
#

wow

#

let me investigate

#

ok might work

#

py_ -> get the transfert -> get the charge

cyan sage
#

Yeah and then moving forward you can maybe update the metadata of the py_xxx object to contain the original payment ID as soon as it's created

i.e. when you receive a webhook for transfer creation, you look up destination_payment and update its metadata by calling the Update API + stripe_account header

#

I haven't tried the above so you'd want to try it out first

oblique tundra
#

i should indeed have a look at webhooks

#

i dont for now