Private preview of the new site. Not live.

payments.connectStart

Start payment setup for a shop (owner, hosted page).

WhoHosted page only (a person does it in the browser)
RESTPOST /v1/payments/connect
MCP toolNot an MCP tool
Writesyes, send an Idempotency-Key
AreaStripe connection

When to use it

Never call it. The owner connects their own Stripe account on the hosted page.

What to tell the owner

Open the link to connect your Stripe account. Customers then pay you directly.

Input

FieldTypeRequired
shop_idstringyes

Example

POST https://doingwork.work/v1/payments/connect
content-type: application/json
Idempotency-Key: 3f1c...

{
  "shop_id": "00000000-0000-4000-8000-000000000000"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
human_only403This step happens on a hosted page the person opens themselves. Send them the link; don't try another route.
forbidden403This worker's role can't do this, or it needs a person's own sign-in rather than an agent token. Tell the person who can.
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.