#jmontydesign

1 messages · Page 1 of 1 (latest)

lapis gullBOT
fiery bloom
wheat kraken
#

I need to batch set up test "connect" accounts that have test bank accounts through a series of api calls. Is there any way to do this without going into the ui?

fiery bloom
wheat kraken
#

So I need to do this through 3 api calls? 1) create connect acct 2) create external account bank account 3) update connect account with external account bank account ?

fiery bloom
#

Yes

#

There is not

#

Just an fyi, you shared your test API key here and this is a public platform so I recommend that you not share this going forward.

#

Since this test mode, it's maybe ok but I would be cautious.

wheat kraken
#

Thanks for the helpful warning. So is there an api call that can pass in one of the test Stripe bank routing nunbers and test Stripe bank accoutn numbers to generate "btok ..." token?

fiery bloom
wheat kraken
#

Yes, I see the test bank account numbers and test bank routing numbers in the first link, BUT the second link shows an api call that does not pass in a bank acct number and routing number, but rather passes in a "btok..." token. So how can I use the bank acct number and routing number in an api call to get the "btok"?

fiery bloom
wheat kraken
#

I see that under the "child parameters" you can pass in the bank account number, BUT it appers the "external_account: 'btok_1N4BU3LbLm0ePwAQVIm7BRee'," is required?

fiery bloom
#

It has been a while since I tried this, I typically use the onboarding flow to add the bank details.. Let me test this on my end

#

While I test this, can you share where you see 'external_account: 'btok_1N4BU3LbLm0ePwAQVIm7BRee'," is required' this?

#

I tested this on my end and it's working..

wheat kraken
#

I got it to work. Thanks!!!!!!

#

One last question. Is there an api call to clear all the test data in the stripe account. I see the button in the UI, but I'm wondering if there is an api call for this?

fiery bloom
#

Glad to hear it's working!

#

No, that is a dashboard only functionality and not possible via the API.