#rooter8888
1 messages · Page 1 of 1 (latest)
Hello there
HI
Just like before the Transfer is associated with the Charge (https://stripe.com/docs/api/charges/object#charge_object-transfer). So what you want to do is expand the latest_charge on the PaymentIntent: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge
Latest charge is empty. There is a latest chargeId. So you are telling me to create the intent, retrieve the charge, get the transferId from the charge, retrieve the transfer, then add the metadata to the transfer? This seems like a ton of legwork when I could have just added the metadata on the transfer in the first place.
That works, thanks. It's still two requests, though. One to create the payment intent and charge and one to update the transfer metadata.
I should be able to just put the metadata in the transferdata here:
Can I put in a feature request somewhere?
Yeah we don't support that but I understand wanting to be able to do that and I can submit a feature request internally
awesome, thanks so much. Have a good day.