#piercy
1 messages · Page 1 of 1 (latest)
Yes i would like to the the source transactions metadata, on the payment that appears on the connected account
As an example, I am create a checkout, and then specifying the destination connected account. The meta data i provide to the checkout appears on the source transaction, but the connected accounts dashboard just shows py_xxxx and the amount. It doesnt show any information about what the payment is for.
I would like to pass the meta data and maybe description to this
I don't think it's possible via Checkout Session API, but you can listen to the transfer.created event, and then add metadata to the Transfer object: https://stripe.com/docs/api/events/types#event_types-transfer.created
ok thanks, ill try this. It would be nice if the transfer_data object allowed us to do this.
Yeah, I agree, it makes sense.
You might actually need to set it on the destination_payment on the Connected Account: https://stripe.com/docs/api/transfers/object#transfer_object-destination_payment