Private preview of the new site. Not live.

cards.setupLink

Get a secure page where the customer saves a card with the shop's payment processor (owner or office). Send the link to the customer; Doing Work never sees the card number. Saving a new card replaces the old one.

WhoAgents can call this
RESTPOST /v1/cards/setup-link
MCP toolcards_setupLink
Writesno
AreaStripe connection

When to use it

Get a secure page where the customer saves a card with the shop's payment processor (owner or office). Send the link to the customer; Doing Work never sees the card number.

What to tell the owner

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

Input

FieldTypeRequired
customer_idstring (uuid)yes

Example

POST https://doingwork.work/v1/cards/setup-link
content-type: application/json
Idempotency-Key: 3f1c...

{
  "customer_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
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.