#smitit1999_api

1 messages ยท Page 1 of 1 (latest)

dull cliffBOT
#

๐Ÿ‘‹ 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/1265243012859170836

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

stray dune
#

๐Ÿ‘‹ happy to help

opaque plover
#

Hey @stray dune , thanks for the help!

Yes, I went through the testing section of the doc - https://docs.stripe.com/payments/ach-debit#testing-ach but couldn't seem to find the verification API. It mentions that we need to verify the bank account and the parameters that I need to pass but doesn't seem to mention the exact API for it

stray dune
#

we will handle the verification for you if you're using Stripe.js or our hosted surfaces

dull cliffBOT
opaque plover
#

As I mentioned, this is my backend testing setup, so there's no frontend involved

plain wadi
#

I mean it depends on what exactly you're doing. For example normally the verification is done in the payment flow since the customer logs into their bank when you call stripe.collectBankAccountForPayment . What you're talking about is the fallback microdeposit verification.

opaque plover
#

Let me try this

plain wadi
#

I mean you need that _if _ you're using microdeposits, but that's not usually what you do

opaque plover
#

hmm, got it

#

@plain wadi I tried to verify microdeposits but it failed with an error "This PaymentIntent could not be verified because it has a status of requires_payment_method. Only a PaymentIntent with a status of requires_action may be verified."

Is there absolutely no way to attach US bank account to a customer simply from the APIs?

plain wadi
opaque plover
#

aah okay, let me try that

#

@plain wadi apologies for the trouble, but while confirming the payment intent I am getting the following error - Payment method data is not allowed when payment_method_options[us_bank_account][verification_method]=instant is used

#

All I am passing is the payment_method_id

plain wadi