#vito2
1 messages · Page 1 of 1 (latest)
It's account.updated and you check the account status from the event https://stripe.com/docs/api/accounts/object#account_object-external_accounts-data-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks for the fast response, I tried following this tutorial about webhooks:
https://stripe.com/docs/connect/webhooks
But the stripe.ExternalAccount in golang doesn't exist. What would be the new name for that?
I tried AccountExternalAccount but it doesn't have the data property which you mentioned
I think it has 2 separated types below BankAccount or Card
well, it's neither the bank account or the card that we want, is just the status for the account
should I check like BankAccount.Status?
Yep that I meant
It is corresponding to the Account.external_account.status here https://stripe.com/docs/api/accounts/object#account_object-external_accounts-data-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can you tell me the difference between:
BankAccountStatusNew
BankAccountStatusValidated
BankAccountStatusVerified
?
From https://stripe.com/docs/api/accounts/object#account_object-external_accounts-data-status
A bank account that hasn’t had any activity or validation performed is new. If Stripe can determine that the bank account exists, its status will be validated. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be verified
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.