#ronaldblanco_02606
1 messages ยท Page 1 of 1 (latest)
There is an API call to retrieve the object https://stripe.com/docs/api/transfers/retrieve?lang=dotnet
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How can I get the "source_transfer" attribute of a PaymentIntent by listening to the Payment.created event?
source_transfer expects the ID of a Charge object (ch_1234), so you can listen for a payment_intent.succeded event and then check the latest_charge property on the payment intent to find the Charge that you can use
In earlier versions of the API there will be a charges property instead of a latest_charge property
Oh apologies, I see what you are talking about.
I need to retrieve that attribute of the object
I think it is with an additional in the "expanded" options
Is that on your platform account or the connected account that you transferred to?
yes
You can retrieve that object with the call that I linked to but you need to make that call on the correct Stripe account
Apologies, I meant which account is it on?
Gotcha, so that field is telling you what the object ID is on your platform account
So you should be able to do a normal retrieve as your platform account to get the full object
I need el ID the transfer
Not sure I understand, that tr_ ID is the ID of the transfer object
where do I find the coonected account Id associate to that particular webhook
Hi ๐
I"m stepping in as @coarse fractal needs to go
So that I can identify which cliente account has made that transaction
For Connect webhooks the Event object will include an account property: https://stripe.com/docs/api/events/object#event_object-account
That will indicate which Account generated this event
How can I know the ID of the connected account that reaches my webhook/connect
It's in the event