#Suraj-updating payouts
1 messages · Page 1 of 1 (latest)
Suraj-updating payouts
👋 Can you elaborate on what you're trying to do as well as providing the id of a failed API request (if applicable)?
var options = new PayoutUpdateOptions
{
Metadata = new Dictionary<string, string>
{
{ "StripePaymentTransactionId", stripePaymentTransactionId.ToString() },
},
};
var service = new PayoutService();
service.Update(payoutId, options);
payout id is po_1JmzBm4SMe4b76nIfoKoob7e
i need to update meta data
The Payout exists on the connected account, so you'll need to use the Stipe-Account header with the same account id that you used when creating the Payout (https://stripe.com/docs/connect/authentication)
The id of the connected account (it'll be the same id that you used when creating the Payout in https://dashboard.stripe.com/test/logs/req_foniDNjpSVwfZl)