Home / Servers / Stripe API / post_account_links

Create an account link

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create an account link Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow. [POST /v1/account_links]

Name on the gateway: stripe_api__post_account_links · may change things.

Parameters

NameTypeDescription
account requiredstringThe identifier of the account to create an account link for.
collectcurrently_due | eventually_dueThe collect parameter is deprecated. Use collection_options instead.
collection_optionsobjectSpecifies the requirements that Stripe collects from connected accounts in the…
expandarraySpecifies which fields in the response should be expanded.
refresh_urlstringThe URL the user will be redirected to if the account link is expired, has…
return_urlstringThe URL that the user will be redirected to upon leaving or completing the…
type requiredaccount_onboarding | account_updateThe type of account link the user is requesting. You can create Account Links…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "stripe_api__post_account_links",
  "arguments": {
    "account": "…",
    "type": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create an account link tool with account set to ….

More from Stripe API