#smaragdin-connect-accounts
1 messages · Page 1 of 1 (latest)
Hello
Hello !
If you have an erroring request ID then I'd be happy to look at that
First of all, sorry if my english is bad 😅
Yes I'll show you what I did
I'm in test mode, I have a react dom web application and an API rest PHP
On the React webapp I made this function to create a token :
country: 'FR',
currency: 'eur', // Utilisation de l'euro (EUR) en tant que devise.
account_holder_name: 'Théo Formet', // Le nom du titulaire du compte.
account_holder_type: 'individual', // Le type de titulaire de compte (individuel).
account_number: '',
});```
in account_number I entered the test IBAN number
after the creation of the token I make an axios request to my API, and in the API I did that :
but I have this error :
{"error":"Only live keys can access this method."}
I know that's because the acct_1IJ... is a live key
but I don't find a test key to test this feature
I want to create an external account to make this after that :
That is your platform account
You want to create this external account on your Connected Account
here ?
Yeah, have you created a test-mode Connected Account yet?
Yes, where can I found the key ?
Your test mode API key?
You want I send you my test mode API key ?
the connect account_id* sorry
When you open the Connected Account in your Dashboard it is in the top right
Is this on this page ?
Doesn't look like you have created a Connected Account yet
They would be listed down below
What type of Connected Accounts are you trying to work with?
Oh great
So click on one of the Custom accounts
And then in the top right you should see acct_xxxx
Really though the recommendation here is that you just collect these external accounts via Connect Onboarding
Are you handling all of onboarrding yourself here?
Yes I handle all the integration, that's why I have a lot of accounts, these are accounts that I didn't think I had managed to create... I tried a lot of things but I never find the good solution
What is Connect Onboarding ?
Before using the functions that I showed you, I used a custom account creation link but it required too much information from the customer (for example, information about their company, their domain, etc. whereas it is individuals)
All you have to do is to create your account and create an Account Link. In your Connect Settings of your Dashboard you can indicate if you want this flow to collect the external account as well
It will only collect the required information
You are going to have to provide that any way
But for my use is this ok ?
The users of my application are individuals who want to recover their prize by entering as little information as possible, a bit like services like Vinted
Sure, we will still just collect the minimum required information.
There are certain things we are required to collect regardless
Ok thank you ! I have to create a connect account from the platform
And you can also pre-fill certain pieces of information if it helps
Yes I did that for email, first name, last name and phone when I tried this but I couldn't delete the company fields, but I'll retry !
I have a last question, when I try to create a connect account on test mode from the stripe dashboard, I have this error :
"In accordance with French regulations, you must use a registration tool hosted on Stripe to create connected accounts."
Hi 👋
I'm stepping in as my colleague had to go. I am unfamiliar with this error message though
Hello !
I would recommend creating an Account using the API and seeing what, if any, error message is returned.
https://stripe.com/docs/api/accounts/create
We aren't experts on how the Dashboard handles things here since we are focused on helping developers code interations with Stripe APIs.
Thank you ! I'll make my tests