Weiter zum Inhalt
Konto erstellen oder anmelden
Das Logo der Stripe-Dokumentation
/
KI fragen
Konto erstellenAnmelden
Jetzt starten
Zahlungen
Umsatz
Plattformen und Marktplätze
Geldmanagement
Entwicklerressourcen
APIs und SDKsHilfe
Übersicht
Mit Connect loslegen
    Funktionsweise von Connect
    Connect and the Accounts v2 API
    SaaS-Plattformen und Marktplätze
    Risikomanagement mit Connect
    Verständnis des eingetragenen Händlers
    Zu Controller-Eigenschaften des Kontos migrieren
    SaaS-Plattformkonfigurationen für Accounts v1 und Accounts v2 vergleichen
    Anstehende Anforderungsaktualisierungen
    Quickstart für das Onboarding
Gestalten Sie Ihre Integration
Integrationsgrundlagen
Musterintegrationen
Kontoverwaltung
Onboarding von Konten
Konto-Dashboards konfigurieren
Mit verbundenen Kontotypen zusammenarbeiten
Zahlungsabwicklung
Zahlungen weltweit akzeptieren
Verbundene Konten auszahlen
Plattformverwaltung
Ihre Connect-Plattform verwalten
Steuerformulare für Ihre Connect-Plattform
Vereinigte Staaten
Deutsch
StartseitePlattformen und MarktplätzeGet started with Connect

Hinweis

Bis jetzt ist diese Seite noch nicht in dieser Sprache verfügbar. Wir arbeiten aber verstärkt daran, unsere Dokumentation in weiteren Sprachen bereitzustellen, und werden die Übersetzung sofort anzeigen, sobald diese verfügbar ist.

Connect and the Accounts v2 APIÖffentliche Vorschau

Create connected accounts with a unified identity across Stripe.

As a Connect platform, you enable your connected accounts to accept payments from their customers. You can also accept payments from your connected accounts when they purchase products or subscribe to your services. In the Accounts v1 API, associating these purchases and subscriptions with your connected account requires a separate Customer object that you manually associate with the connected account’s Account object.

The Accounts v2 API allows you to create one Account object that supports all interactions with your connected account, so you don’t need to create and track separate Customer objects.

Accounts v2 API

The Accounts v2 API provides:

  • Flexible account configurations: Enable or change a connected account’s capabilities and compatibility with Stripe features by updating its Account’s configurations. Each capability belongs to a particular configuration.
  • Centralized identity data: When you add a configuration to an existing Account to enable additional functionality, you don’t have to re-collect requirements that they already provided.
  • A single API for connected accounts and customers: In most cases, you can represent any customer with an Account object. That lets you use the Accounts v2 API to manage both connected accounts and customers. You no longer have to use the Customers API at all.

Represent connected accounts using Accounts v2

In the Accounts v2 API, you assign one or more configurations to an Account to enable different functionality. For example:

  • Assign the merchant configuration to allow the Account to act as a connected account. The merchant configuration includes the card_payments and stripe_balance.payouts (replacing v1 payouts) capabilities.
  • Assign the customer configuration to allow the Account to act as a customer. You can use an Account with the customer configuration instead of a Customer when creating a Subscription.
  • Assign the recipient configuration to allow the Account to receive transfers. The recipient configuration includes the stripe_balance.stripe_transfers (replacing v1 transfers) capability, which is required to use indirect charges.

The following example creates an Account using API v2. Notice that the structure of the Account object differs from the structure of an Account object in API v1.

API v2 response structure

By default, Accounts v2 API calls return values for certain properties and null for other properties, regardless of their actual values. To retrieve additional property values, request them using the include parameter.

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl -X POST https://api.stripe.com/v2/core/accounts \ -H "Authorization: Bearer
sk_test_BQokikJOvBiI2HlWgH4olfQ2
"
\ -H "Stripe-Version: 2025-09-30.preview" \ --json '{ "contact_email": "jenny.rosen@example.com", "display_name": "Jenny Rosen", "dashboard": "full", "identity": { "business_details": { "registered_name": "Furever" }, "country": "us", "entity_type": "company" }, "configuration": { "customer": { "capabilities": { "automatic_indirect_tax": { "requested": true } } }, "merchant": { "capabilities": { "card_payments": { "requested": true } } } }, "defaults": { "currency": "usd", "responsibilities": { "fees_collector": "stripe", "losses_collector": "stripe" }, "locales": [ "en-US" ] }, "include": [ "configuration.customer", "configuration.merchant", "identity", "requirements" ] }'

In the v1 API, you must create an Account object for a connected account to accept payments, and a separate Customer object to associate that same business with payments they make to your platform. Accounts v1 and Customers v1 have no explicit relationship, so you must manage those objects separately and maintain a map of Account IDs to Customer IDs.

1. Create Account
2. Create Customer
Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/accounts \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d country=US \ -d "controller[fees][payer]"=application \ -d "controller[losses][payments]"=application \ -d "controller[stripe_dashboard][type]"=express
Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/customers \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d name="Jenny Rosen" \ --data-urlencode email="jenny.rosen@example.com" \ -d "metadata[account_id]]"=acct_1234

Use Accounts as customers

Any API that accepts a customer parameter also accepts a customer_account parameter where you can pass a customer-configured Account ID.

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/setup_intents \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -H "Stripe-Version: 2025-09-30.preview" \ -d customer_account=acct_123 \ -d "payment_method_types[]"=stripe_balance \ -d confirm=true \ -d usage=off_session \ -d "payment_method_data[type]"=stripe_balance

Connect platforms using Accounts v1 and Customers v1

Stripe still supports the Accounts v1 and Customers v1 APIs. However, you can use the Accounts v2 API to manage Accounts created using the Accounts v1 API, including assigning them the customer configuration.

Considerations

Stripe discourages indefinitely maintaining both Accounts API versions simultaneously. Continue using the v1 APIs if your platform:

  • Uses OAuth to authenticate with connected accounts
  • Uses cross-border payouts
War diese Seite hilfreich?
JaNein
  • Benötigen Sie Hilfe? Kontaktieren Sie den Kundensupport.
  • Schauen Sie sich unser Änderungsprotokoll an.
  • Fragen? Sales-Team kontaktieren.
  • LLM? Lesen Sie llms.txt.
  • Unterstützt von Markdoc