#julio_henrique
1 messages · Page 1 of 1 (latest)
Based on that error, it sounds like you're passing the ID of a Stripe Account that your Platform did not create.
You can only create Account Links for Accounts that your Platform created.
Can you share the ID of the request (req_xxx) that returned that error so I can take a closer look?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
This account field is the client ID or the company ID. For example, my company is a Nauvus, I need to fill the account field with Nauvus ID or the client ID?
Thank you. Yeah, it looks in that request you provided the ID that belonged to the account that was making the request, however you want to provide the ID of a Connected Account that you created.
Do you know what type of Connected Account you plan to use (Standard, Express, or Custom)?
And which one are you planning to use? Or do you have a scenario where you need to use all three different types?
Let me check
Actually, let me take a step back. Are you trying to build a process that leverages Stripe Connect?
https://stripe.com/connect
Connect is used when you want to have an account that you control (the Platform Account) but you also need/want to have a Stripe account for other parties involved in your business (merchants, vendors, service-providers, etc). It allows you (the Platform) to create Stripe accounts for these other parties known as Connected Accounts.
Awesome. The short version of the answer that I'm working towards, is that you need to first create the Connected Account and then pass the ID of the newly created account when creating the Account Link.
We have guides that walk through the process, but they are specific to the type of account that you plan to use. I can help route you to them once we know what type of account you're planning to use. The types are listed for comparison here:
https://stripe.com/docs/connect/accounts
but the decision also goes hand-in-hand with the type of charge structure that you want to use (we recommend certain charge structure/account type combinations):
https://stripe.com/docs/connect/charges
Let me check the account type
The account ID will appear in this page?
https://dashboard.stripe.com/test/settings/connect
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Could be this number?
ca_M5hfuYRwm8gOjtI8....Qo
No, that is the ID of your Platform.
Account IDs will have a acct_ prefix, and the ID will be returned in the response after you make the request to create an Account:
https://stripe.com/docs/api/accounts/create
Have you already created a Connected Account?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok.
{
"id": "acct_1LGAKLDzAhtMdgod",
"object": "account",
"capabilities": {
"acss_debit_payments": "active",
"affirm_payments": "active",
"afterpay_clearpay_payments": "active",
"bancontact_payments": "active",
"card_payments": "active",
"eps_payments": "active",
"giropay_payments": "active",
"ideal_payments": "active",
"link_payments": "active",
"p24_payments": "active",
"sepa_debit_payments": "active",
"sofort_payments": "active",
"transfers": "active",
"us_bank_account_ach_payments": "active"
},
"charges_enabled": true,
"country": "US",
"default_currency": "usd",
"details_submitted": true,
"payouts_enabled": true,
"settings": {
"bacs_debit_payments": {},
"branding": {
"icon": "file_1LVgxqDzAhtMdgodWUl1j2PR",
"logo": null,
"primary_color": null,
"secondary_color": null
},
"card_issuing": {
"tos_acceptance": {
"date": null,
"ip": null
}
},
"card_payments": {
"statement_descriptor_prefix": "NAUVUS",
"statement_descriptor_prefix_kana": null,
"statement_descriptor_prefix_kanji": null
},
"dashboard": {
"display_name": "Nauvus",
"timezone": "America/New_York"
},
"payments": {
"statement_descriptor": "NAUVUS",
"statement_descriptor_kana": null,
"statement_descriptor_kanji": null
},
"payouts": {
"debit_negative_balances": true,
"schedule": {
"delay_days": 2,
"interval": "manual"
},
"statement_descriptor": null
},
"sepa_debit_payments": {}
},
"type": "standard"
Is it correct?
Is what correct? The account object that you're showing there is the same Account that you tried using in the request that returned the error.
Yes, I am using this Account ID and getting the error. Do I need another account ID?
Yes, you need to create a Connected Account.
Ok. Let me check if the company already created it.
You the Platform should have created it.
I think so. I asked to CTO verify with his user.
Please, could you check if there is Connected Account for us?
No, but you can check in your Stripe dashboard to see if you have created any:
https://dashboard.stripe.com/test/connect/accounts/overview