#kasey-transfers-metadata
1 messages · Page 1 of 1 (latest)
hello, yes you can add metadata to a Transfer, caveat is, you first create the Transfer, then manually update the Transfer via an API request to add any metadata to it
Got it. So once the payment intent is confirmed, I need to search for the transfer then update it?
On a similar topic, is there any documentation for which keys the transfer dictionary supports?
Yes, once the Payment Intent is confirmed you'd find the Transfer ID and then make the request to update it
Are you asking which parameters you can pass in to a request to update a Transfer?
You can find that here: https://stripe.com/docs/api/transfers/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am asking if there are any other supported parameters when creating the payment intent that can be passed into the trasnfer_data dictionary? Or is it just the amount and destination fields?
Ah, I see! Thanks for clarifying
There are only two nested parameters under transfer_data - transfer_data.amount and transfer_data.destination see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-transfer_data)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you so much! Great information, @crisp forum and @peak goblet
Is there a transfer ID returned on the Payment Intent? I assume I need to search for the transfer after a payment is successfully completed?