#harsha.bharadwaj - Test Account Numbers
1 messages · Page 1 of 1 (latest)
Hello! Typically those test account numbers are used to test your integration after you build it. They're not something that you would normally use with Stripe CLI. Can you tell me more about what you're trying to do?
I want to test my integration for ACH transactions. I was trying with stripe cli. But, understood that I can't be doing that using cli
and I would like to understand how can I do that
is there any guide for me to go through?
I've added a bank account but not verified it yet
Are you building an integration to allow you to accept ACH payments from your customers?
If so the page you linked to above (https://stripe.com/docs/ach) is the guide you're asking about.
Are those events coming from your own Stripe account?
I've this guide but doesn't mention how can I test the integration
yes
You need to build the integration before you can test it. Are you using Plaid or micro-deposits to verify bank account information?
I've not verified it yet
Okay, so that would be the first step: https://stripe.com/docs/ach#verifying
You can choose Plaid or manual verification with micro-deposits. The choice is entirely up to you; you should pick whichever option fits your use case best.
okay
after verification what are the steps to trigger charge.succeed event with the test amounts or test account numbers?
After you verify the bank account and attach it to a Customer you then create a Charge for the Customer. That's the next step on that same page: https://stripe.com/docs/ach#authorization
Really what you need to do is start at the top of that page and work through the steps from start to finish, then you can test using different test bank account numbers.
for test integration does it take 5-7 business days to create charge.succeed event as mentioned in guide?
No, not in test mode.
Happy to help!
it really helps
and one more thing
what are the parameters I can pass to the curl command?
for creating the charge
We document the create a Charge API and all parameters here: https://stripe.com/docs/api/charges/create
Although not all of those apply to an ACH Charge.
Correct. The account numbers are associated with the Customer. That happens during validation.
ACH payments are a multi-step process involving Customer objects, bank account verification, creating a Charge, etc. It's not a single API call where you pass in some account numbers.
according to this https://stripe.com/docs/ach#testing-ach I should be able to pass account numbers right
Yeah, but you don't pass them to the Charge, you put them in, verify them, they get attached to a Customer, then you Charge the Customer.