#lukeKu-transfers-payouts
1 messages · Page 1 of 1 (latest)
Hi there 👋 I just want to make sure we're aligned, are you referring to transfers (moving funds to another Stripe account) or payouts (moving funds from a Stripe account to an associated bank account)?
I was asking for transfer to an external account, but either one.
Does the webhook provide an error code for failure?
(that's a third question, sorry, on a dev meeting right now)
Do you know what API version your account is on?
We split transfers and payouts in 2017, and I'm curious whether your integration will be using a version where they are the same objects or a newer one where they are separate.
The latest version. 2020-08-27 (I think?)
lukeKu-transfers-payouts
So transfers don't have the concept of failing (so there are no automatic retries), if they can't be created then that request will error rather than creating a transfer that can fail. If a payout (what I believe you're asking about) fails due to bad bank account information then we'll contact the account via email asking for an update. If the payout was manually triggered then it will need to be requested again, and you will need to provide your metadata again when recreating the payout.
https://support.stripe.com/questions/bank-issued-notification-of-change#:~:text=Once the bank account information,or using the Stripe API.
The payout webhook events return payout objects, so if one failed and additional details are available they'll be in the failure_code and failure_message fields:
https://stripe.com/docs/api/payouts/object#payout_object-failure_code