#vignesh_vidyut
1 messages ยท Page 1 of 1 (latest)
Hi ๐ ah, it looks like there is a mixup between the paragraphs in that section and the code snippet provided, thank you for raising that!
Does using stripe.confirmUsBankAccountSetup as shown in the code snippet work for you?
cool, that explains. Its working. So, the flow will be
-> Create a setupintent with cx id
-> Along with the setup intent secret, create a payment method and pass on both to stripe.confirmUsBankAccountSetup
-> This will be requires_action state
I'm clear till this. How do i verify this setupintent using microdeposits?
I believe those verifications are handled by an email that is generated and sent to the Customer, unless you've disabled those emails in your Stripe dashboard:
https://dashboard.stripe.com/settings/emails
If you've disabled emails and are building your own flow, then I think this is the verification function that you're looking for:
https://stripe.com/docs/api/customer_bank_accounts/verify
or if working with client-side code:
https://stripe.com/docs/js/setup_intents/verify_microdeposits_for_setup
Let me know if those don't do what you're looking for
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
https://stripe.com/docs/api/customer_bank_accounts/verify this is to verify using sources API. Is there any way to verify the same using intents?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When i save the bank using stripe.confirmUsBankAccountSetup i get a payment method (pm_) and not a bank account (ba_***). So how do i verify the payment method ?
I'm not sure offhand, do you get an error if you try to pass a Payment Method to that function?