#sarumilli-transfer-customer
1 messages · Page 1 of 1 (latest)
Hello 👋
The transfer object don't really have a customer parameter so there's no way to populate that field there.
https://stripe.com/docs/api/transfers/object
Just so that I am on the same page, can you provide more information about the page you're on? Maybe it populates the column from a diff object.
When I open connected account and in payments section we can see the transfer in that payments tab
Ah gotcha. I think the field would be populated if you use direct charges but since you're creating a transfer, I am assuming you're using destination charges in which case the customer object lives on the platform. So this is expected.
ok so what we can do get the customer ..because connect account don't have which order they got the payment
I don't think you can associate a customer with a transfer at all. You'd likely want to update the metadata or description to show what order this transfer belongs to.
On the platform, when you create a transfer you'll want to expand destination_payment field which will give you the destination payment ID (on the connected account)
https://stripe.com/docs/api/transfers/object#transfer_object-destination_payment
Then you can update the metadata or description with the order information from the platform
ok than you.