#felipe-borges_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1495767495498268722
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there ๐
a 'legacy Bank Account' refers to the type of object (bank_account) used to represent a customer's bank account in the legacy integration, which has an ID like ba_12345 (i.e. legacy ach_debit)
https://docs.stripe.com/api/customer_bank_accounts
on the other hand, when using the newer us_bank_account integration, the equivalent object is a payment_method, with an ID like pm_12345
https://docs.stripe.com/api/payment_methods
Now looking at the registered bank accounts, all of them are "type": "us_bank_account"
that means that you're using the current integration
what do you mean exactly?
as per the doc: "On a Charge object, the payment_method_details.type property is ach_debit for the legacy integration and us_bank_account for the newer integration."
"payment_method_details": {
"ach_debit": {
"account_holder_type": "individual",
"bank_name": "WELLS FARGO BANK NA",
"country": "US",
"fingerprint": "fCqjXPc15wR2Vi0J",
"last4": "3799",
"routing_number": "121042882"
},
"type": "ach_debit"
},
example charge โ๏ธ
and the migration dashboard is complaining
yeah that suggests the charge was created with a legacy bank account (i.e. ba_1234 rather than pm_1234)
can you share the charge ID?
ah got it
py_3TOHHkJmq474uon80XGxI952
thanks! yeah checking on my side I can see that example was created through the legacy path
you're right, I can see some charges using the newer integration
meaning I basically have to migrate all the legacy bank accounts
yeah that's correct - sounds like you already have it, but here's the doc for that: https://docs.stripe.com/payments/ach-direct-debit/migrating-from-charges
if I can ask something slighly unrelated, do you know what's that "Dashboard" row in the migration ss?
Hello
I assume it is referring to the charges you create directly from the dashboard
just noticed ACH Direct Debit payment method is disabled on the dashboard, whereas the doc explicitly says we have to enable it. so wonder if the newer integration should even be working