#Zen-External-Account

1 messages ยท Page 1 of 1 (latest)

strange sphinx
#

Hi there, external account and account look similar, but they are very different

viral parcel
#

Hello Jack ๐Ÿ‘‹

strange sphinx
#

Hi, external_account and account are very dfferent

#

external_account is can be your bank account or debit card

#

Whereas account means a Stripe account

viral parcel
#

yep, exaclty, i'm already creating an account like this :

stripe accounts create \
          -d type=custom \
          -d email="email@test.fr" \
          -d country="FR" \
          -d "business_profile[mcc]"=5734 \
          -d "business_profile[url]"="www.fakeurl.com" \
          -d "capabilities[card_payments][requested]"="true" \
          -d "capabilities[transfers][requested]"="true" \
          -d account_token=${accountResult.id}`,

But now I need an external_account to be created, to link it to the above account, so that I can start testing stuff ^^

strange sphinx
viral parcel
#

in the CLI example I see this :

stripe external_accounts create acct_1032D82eZvKYlo2C \
  --external-account=btok_1LewYf2eZvKYlo2C3pOVaUQq

Could you tell me how to get/create it ?

strange sphinx
viral parcel
#

sorry, my last message was not complete ^^
how can I get/create an external account token ?

I tried :
stripe external_accounts create acct_1LewB62ShImREKae --external-account=btok_1LewYf2eZvKYlo2C3pOVaUQ

and of course had the error :

   "code": "resource_missing",
   "doc_url": "https://stripe.com/docs/error-codes/resource-missing",
   "message": "No such token: 'btok_1LewYf2eZvKYlo2C3pOVaUQq'",
   "param": "external_account",
   "type": "invalid_request_error"
 }
#

I'm just missing that little part for everything to work ๐Ÿ˜…

dreamy creek
#

where did you get the btok_xxx value from?

viral parcel
#

it's from the api page ๐Ÿ™‚

#

I knew it wouldn't work, but at least now my question may be clearer ^^

dreamy creek
#

cool, so next steps are clear or can I clarify something?

viral parcel
#

ooooh cool , perfect link the first one

#

you must be super bothered at people that don't search well in the docs... really sorry and thanks alot ๐Ÿ™

#

@dreamy creekooooh Karl, didn't see it was you ^^

Thanks a lot for yesterday with the address stuff, i could pinpoint the issue ๐Ÿ‘Œ an invisible character....

#

I have to flee, but if you remember, in my app, users create express accounts.
I'm trying to make E2E tests, creating a new account at the beginning of my test automatically, therefore going for custom accounts.

Is there anything that changes in term of receiving money, between an express and custom account ?

I want to be sure that my tests on the custom accounts will reflect what's happening on express accounts in production ๐Ÿ™‚

dreamy creek
#

I remember yes.

Is there anything that changes in term of receiving money, between an express and custom account ?
Nothing really specific I can think of, most of the differences are in onboarding

viral parcel
#

ok that's perfect ๐Ÿฅณ

#

i'll try to finish creating my account in like 4 hours, do not close this thread so I can tell you if everything worked ๐Ÿ˜‰

dreamy creek
#

unfortunately we will close it, we can't keep it open that long since we have to hand over context between multiple people and timezones. If you have any specific questions later please open a new thread

viral parcel
#

oh ok, too bad ^^ anyway, thanks a lot, you've been a super help ๐Ÿค—