Creates an AccountLink object that includes a single-use URL that an account can use to access a Stripe-hosted flow for collecting or updating required information.
Learn more about calling API v2 endpoints.Parameters
- accountstringRequired
The ID of the Account to create link for.
- use_
caseobjectRequired The use case of the AccountLink.
Returns
Response attributes
- objectstring, value is "v2.core.account_link"
String representing the object’s type. Objects of the same type share the same value of the object field.
- accountstring
The ID of the connected account this Account Link applies to.
- createdtimestamp
The timestamp at which this Account Link was created.
- expires_
attimestamp The timestamp at which this Account Link will expire.
- livemodeboolean
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - urlstring
The URL at which the account can access the Stripe-hosted flow.
- use_
caseobject Hash containing usage options.
Accounts v2 is not enabled for your platform.
Account cannot be onboard via v2/core/account_links without specifying the right configurations.
The resource wasn’t found.
Account cannot exceed a configured concurrency rate limit on updates.
{ "object": "v2.core.account_link", "account": "acct_1Nv0FGQ9RKHgCVdK", "created": "2025-03-27T17:15:18.000Z", "expires_at": "2025-03-27T17:25:18.000Z", "livemode": true, "url": "https://accounts.stripe.com/r/acct_1Nv0FGQ9RKHgCVdK#alu_test_61SGhyomRuz7xsw5216SGhyj0ASQdCLwMKdRUF3mi3H6", "use_case": { "account_onboarding": { "configurations": [ "recipient" ], "refresh_url": "https://example.com/reauth", "return_url": "https://example.com/return" }, "type": "account_onboarding" }}