#suriya_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/1218198225685708803
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
This is my developed screen. When a user clicks "instant verification," we attempt to verify the user's account using Stripe. If Stripe returns any response indicating successful verification, the person is considered verified.
Does it make sense?
Hi there 👋 jumping in as my teammate needs to step away. Sorry, but I'm still going to need some more context.
"we attempt to verify the user's account", what account are you referring to here?
The user has a Stripe account that needs verification.
Hm, so this is about verifying something about their Stripe account? What are you verifying? I'm not sure how that relates to the request you shared which is creating a bank account token.
Yeah Toby, that is another question. I try to do manual verification like using a bank token but always the status returns like a new
{
"bank_account": {
"account_holder_name": null,
"account_holder_type": null,
"account_type": null,
"bank_name": "STRIPE TEST BANK",
"country": "US",
"currency": "usd",
"fingerprint": "6xPwpkIBTIkCSMGL",
"id": "ba_1Oub1iHSmwwnSxXgloOGnpWR",
"last4": "6789",
"object": "bank_account",
"routing_number": "110000000",
"status": "new"
},
"client_ip": "157.49.232.164",
"created": 1710510146,
"id": "btok_1Oub1iHSmwwnSxXgR24n8eTa",
"livemode": false,
"object": "token",
"type": "bank_account",
"used": false
}
What should I do to achieve verification success?
If this is for creating External Accounts, you don't.
For external accounts, possible values are
new,erroredandverification_failed. If a payout fails, the status is set toerroredand scheduled payouts are stopped until account details are updated. In the US and India, if we can’t verify the owner of the bank account, we’ll set the status toverification_failed. Other validations aren’t run against external accounts because they’re only used for payouts. This means the other statuses don’t apply.
https://docs.stripe.com/api/customer_bank_accounts/object#customer_bank_account_object-status
I'm using a test account now like account number is 000123456789 and routing number is 110000000
Yup, but I'm still not really sure what you're hoping the flow you're trying to build will do. It kind of sounds like you're talking about onboarding Custom Connected Accounts, in which case bank account verification isn't performed.
Okay , Can we achieve instant verification using the Stripe API?
This process only without payment process
Like this flow?
https://docs.stripe.com/payments/ach-debit/set-up-payment
No😟
Please try to understand,I'm currently working on a project where users are required to verify their accounts using both Stripe and manual verification processes. Therefore, I'm seeking your assistance with this matter.
I'm trying to understand, please feel free to be more specific if it doesn't seem like I'm grasping what you're describing. You said you wanted the flow shown in your screenshot, but without processing a payment. The guide I shared is for that, what about it doesn't suit what you're trying to do?
No Toby, my manager is requesting that when a user clicks on "instant verification," they should be redirected to the Stripe portal for account verification. Once verified, Stripe will provide a webhook or response that we need to store.
What is the Stripe portal you're referring to now? It sounds like you want to plumb the linked flow to your instant verification button.
Yes
Similar to when we pay using Stripe, we'll need to redirect users to a portal for verification, just like that one.
Yup, so sounds like you want to follow the guide I shared, which is specifically for saving/verifying US bank account details. If you're looking for the flow that uses Checkout Sessions, you'll want to switch that doc to the Prebuilt checkout page tab.
what is that Prebuilt checkout page ?
It uses Checkout Sessions, what you're showing in your most recent screenshot