Connect Stripe payments
lavela.connect_stripeLet the user's app take payments: connect their Stripe account (mode 'oauth') or create one (mode 'new' — also the fallback when oauth fails). Confirm with the user first — it starts Stripe KYC (usually 1–5 days); poll lavela.get_status for the onboarding link. status 'choice_required' started nothing: reuse one of its options (reuseAccountId) or create a new account (forceNew:true), as the user picks; with choice 'payout_country', ask the user which country their bank account is in and pass it as payoutCountry. status 'guide': Stripe doesn't take that country, nothing was created — the result lists the other ways to collect payments; lavela.payments_options (advanced) narrows them to the user's answers. Details: https://console.lavela.dev/docs/mcp#payments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| forceNew | No | Always create a new Stripe account, skipping the reuse check. | |
| projectId | Yes | ||
| payoutCountry | No | Country of the user's bank account (ISO 3166-1, e.g. KR) — ask, don't guess. mode 'new' only. | |
| reuseAccountId | No | Reuse an existing Stripe account: an accountId from a choice_required result's options. mode 'new' only. |