#chukd - Payout

1 messages · Page 1 of 1 (latest)

wild briar
#

Hi 👋 let me check on this

storm knoll
#

I'll try and be a little more specific, it looks like the external account gets disabled if a payout fails. "Additionally, the external account involved in the payout is disabled, triggering an account.external_account.updated notification" https://stripe.com/docs/connect/bank-debit-card-payouts#webhooks but how would I know if the external account is disabled if it's a Card, as the Card object doesn;'t contain any Status property

wild briar
#

So if the debit card is not properly configured to receive the payout, you are concerned about that external account getting disabled while you or the other account attempt to get it configured properly.

#

?

storm knoll
#

No! If I receive a payout.failed webhook, I'll also receive an account.external_account.updated webhook. When I receive this event I'll want to notify my customer they need to update their account information. When the account is a bank account, there is a status property that gets changed to inform me what the status is (ex. new, validated, verified, verification_failed, or errored) this field doesn't exist for any external account that's a Card. So how would I pass along to my customer the current state of their external account if it's a Card?

wild briar
#

Oh okay. Do you have an event ID for one of these account.external_account.updated events?

storm knoll
#

no, not yet. I haven't fully finished implementing this or testing it yet.

wild briar
#

Test events will work just fine, I can investigate those

storm knoll
#

I'll finish, test and see if I still need help and get back to you guys.

#

Do you know if there is a way to send a test event using actual external account data? If I create a trigger with a payout, it doesn't seem like it uses any specific account, just some fake ID's.

wild briar
#

Are you using any of the test card numbers we provide?

storm knoll
#

yes. I'll add one that uses a payout failure, if I remember correctly you have one for that

#

but how do I trigger a payout for that account using the CLI?

wild briar
storm knoll
#

TY

wild briar
#

Unfortunately I don't think that is supported via the CLI due to the level of complexity involved. I would use Test Mode in the Dashboard and some dummy Connect accounts.