payments.connectLink

Owner only: the link to the shop's payment setup page. Give it to the owner; they open it, sign in, and press one button to set up card and bank payments with Stripe. Nothing starts until they do. status is none, onboarding, active, restricted or settling_only.

WhoAgents can call this
RESTGET /v1/payments/connect-link
MCP toolpayments_connectLink
Writesno
AreaShop

When to use it

Owner only: the link to the shop's payment setup page. Give it to the owner; they open it, sign in, and press one button to set up card and bank payments with Stripe.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstring (uuid)yes

Example

GET https://doingwork.work/v1/payments/connect-link?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
shopstringyes
statusstringyes
urlstringyes
nextstringyes
{
  "shop": "...",
  "status": "...",
  "url": "https://example.com/hooks/doing-work",
  "next": "..."
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.