#rishabh_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1471105279759487108
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there 👋 yep, that is possible but it involves updating the Charge object (py_123) in the connected account - I'll explain
first off, to get the corresponding Charge/Payment ID you’d need to do two steps:
-
get the ID of the Transfer (tr_xxx) associated with the platform Charge which is in the
transferproperty on the Charge object (ch_xxx). -
retrieve that Transfer and check the
destination_paymentproperty, which corresponds to the Payment/Charge on the connected account (py_XXX).
Then, once you get this, you’d call the Update Charge API using the Stripe-Account header so that you can set the metadata you want on that Payment/Charge.
since the metadata doesn't carry over to the Transfer or to the destination_payment, this is why you need to update it manually like this