# Fix the "Accounts v1 is no longer recommended" error for Connect integrations

If your platform is calling `POST /v1/accounts` to create connected accounts, you may receive the following error message:
> Stripe no longer recommends Accounts v1 for new Connect integrations.
> 
> Create connected accounts with POST /v2/core/accounts instead: https://docs.stripe.com/api/v2/core/accounts.
> 
> Read more about Accounts v2: https://docs.stripe.com/connect/accounts-v2/account-creation.
> 
> If your integration requires v1 account creation for a supported compatibility scenario, enable Accounts v1 support in the Dashboard: https://dashboard.stripe.com/settings/features/feat_accounts_v1_support.
> 
> For agent-based integrations, use Stripe's current best-practices skill: npx skills add stripe/ai.
## How to fix this error
* **Migrate to Accounts v2 (recommended):** Use `POST /v2/core/accounts` to create connected accounts. See the [Accounts v2 API reference](https://docs.stripe.com/api/v2/core/accounts) for full request and response details.
* **Keep using Accounts v1:** If your integration requires v1 for a supported compatibility scenario, enable Accounts v1 support in your [Dashboard](https://dashboard.stripe.com/settings/features/feat_accounts_v1_support).
* **Agent-based integrations:** Use Stripe's current best-practices skill: `npx skills add stripe/ai`.
## More about Accounts v2
Stripe recommends Accounts v2 for new integrations. Accounts v2 supports unified account modeling with role-based configurations (merchant, customer, recipient), simplifying cases where connected accounts have multiple business relationships with your platform.
[Learn more about this error and when Accounts v1 is still recommended](https://docs.stripe.com/connect/accounts-v2/account-creation).