Payments and selling
create_stripe_connect_link
Mint a short-lived Stripe-hosted onboarding link for this account's connected Stripe account, creating that account first if it does not exist. Give the URL to the creator to open in a browser: Stripe, not Sentway, collects and verifies identity and bank details. Use it both for first-time connection and to clear outstanding requirements. Re-run get_commerce_setup afterwards to see the new readiness. Pro plan, owner or admin.
Behaviour
- Effect
- Write. It creates or updates data in the account.
- Repeat calls
- Not idempotent. Repeating the call can produce a further change.
- Plan
- Pro plan required (Paid Access).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | - |
| mode | enum test | live | No | Which Stripe environment to onboard. Defaults to the deployment's default mode. |
Returns
| Name | Type |
|---|---|
| mode | enum test | live |
| url | string |
| expires_at | integer |
| idempotency_replay | false |
Using it
create_stripe_connect_link is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 56 Sentway tools. See connecting over MCP.