Skip to content
Docs
Ask the assistant
Sign inCreate a free account
Get startedMark and signCertificatesDocumentsCheck and recoverComply and proveAPI referencePricing and data
  • Introduction
  • Quickstart
  • Keys and test mode
  • Concepts

Agents

  • Agent setup
  • Sign up and pay
    • From nothing to marking
    • When an agent pays
    • What stays free
    • Sign up with one call
    • Sign up
    • Verify a sign-up
    • Create a checkout link
    • Pay with a shared payment token
    • Read an agent payment
    • Buy prepaid credit
  • MCP server

For agents

  • agent-setup.md
  • llms.txt
  • llms-full.txt
  1. Home
  2. Docs
  3. Sign up and pay as an agent

Get startedAgents

Sign up and pay as an agent

An agent goes from no account to marked output with no person: it signs up with one call, works in test mode at once, and pays for a plan itself where you allow it.

Updated December 4, 2026

Ask about this pageRead this page as Markdown

From nothing to marking

An agent's path
StepWhat the agent does
LearnFetches /agent-setup.md and https://api.widar.com/openapi.json.
Sign upPOST /v1/signups with no key: an email, a workspace name, a country and the workspace’s uses, the same question a person is asked. The answer holds the workspace and a test key (wd_test_) at once.
TestRegisters a system and marks, signs, timestamps and checks in test mode, with the test certificate authority and timestamp authority. Free, and never billed.
Go liveLive keys work on Free up to 1,000 C2PA-only files and 500 watermarked files a month. Past them, Business or Volume: a person chooses it in the console, or the agent pays, by a Checkout link it completes or hands over, by a Shared Payment Token, or with prepaid credit.
CertifySubmits the legal entity and the system for validation and adds the domain, writing the challenge’s DNS record or file itself. Validation is automated, with a widar staff member only on a flagged case. The free certificate follows, with or without a plan, and renews every 30 days. Only the company representative’s confirmation needs a person.
RunInstalls a plugin or the sidecar, or calls the cloud API.

When an agent pays

  • A Checkout link works everywhere Stripe Checkout does. The agent opens it, or hands it to you. It pays for a plan, a plan change, a top-up or an add-on, such as the compliance pack for one system.
  • The plans and their prices are one call away with no key: GET /v1/plans, widar plans list.
  • A Shared Payment Token is a scoped grant of a payment method, limited to widar as seller, an amount and a time. A payment over the workspace’s agent payment cap waits for a member with billing rights to confirm it.
  • Every agent payment is in billing with the agent named, the method and the amount; its receipt goes to the owners and billing members.
  • An agent can never remove a member, change who receives receipts, or turn agent payments on.
  • A 402 to an agent carries both ways to pay: a Checkout link, and a payment challenge for a token.

Settings that hold it. Owners and billing members set billing.agent_payments (on by default), billing.agent_payment_cap (the plan’s monthly fee by default) and billing.agent_plan_changes. See Settings.

What stays free

Free, on every plan
FreeLimit
Test mode: marking, signing, timestamps and checks with test keysNone
Live marking and signing on Free1,000 C2PA-only and 500 watermarked files a month, then 402 plan_required
Checks of widar’s marks with a key, by the API or the MCP serverNone
Certificates: issue, renewal, domains, ACME and ESTNone. Never 402
Every verify page and its API, check_verify_page includedNone for the people who check
The public detector and check_file and check_url, without an account10 lookups a day per visitor, against misuse, then 402 plan_required with the link to a free account
Each live system’s basic evidence recordNone

Sign up with one call

The uses can be changed at any time with PATCH /v1/settings/uses, widar settings uses-update or the MCP tool settings_uses_update. They change what the console shows first, never what a key may call. See Workspace.

curl -X POST https://api.widar.com/v1/signups \
  -H "Content-Type: application/json" \
  -d '{"email": "sanne.bakker@lumenlabs.example", "workspace_name": "Lumen Labs",
       "country": "NL", "uses": ["mark_and_sign", "sign_documents"]}'

curl -X POST https://api.widar.com/v1/signups/sgn_3Rk7vMa2XcLq/verify \
  -H "Content-Type: application/json" -d '{"code": "482913"}'

Sign up

Changes data

POST/v1/signups

Create an account and its workspace with an email, and get a test key at once; a one-time code goes to the email to prove it. Live mode needs a plan.

Who may
Anyone, with no account yet
CLI
widar signup --email <email> --workspace-name <name> --country <country> [--region <EU|US>]
MCP tool
sign_up
Returns
The sign-up to verify, the workspace, and a test key shown once; test mode marks with the test CA and the test TSA and never bills. Live mode needs a plan.

Parameters

  • emailemailRequired

    Where the one-time code goes.

  • workspace_namestringRequired

    Your company’s name. At most 80 characters.

  • countrystringRequired

    Your company’s country, ISO 3166-1 alpha-2.

  • regionenumDefault "EU"

    The region. One of EU, US.

curl -X POST https://api.widar.com/v1/signups \
  -H "Content-Type: application/json" \
  -d '{
    "email": "sanne.bakker@lumenlabs.example",
    "workspace_name": "Lumen Labs",
    "country": "NL"
  }'

POST /v1/signups

Response, 201 Created
{
  "id": "sgn_3Rk7vMa2XcLq",
  "object": "signup",
  "email": "sanne.bakker@lumenlabs.example",
  "verified": false,
  "workspace": { "id": "ws_Lm3Qx8Rk2VnT", "name": "Lumen Labs" },
  "key": { "id": "key_4Nc9wQx2RtLm", "mode": "test", "secret": "wd_test_1Vd7MCMnl13pnFERzSLjDPnDEkeuleoL2YCZDk1y" },
  "plan_url": "https://widar.com/console/plan"
}

Verify a sign-up

Changes data

POST/v1/signups/{signup_id}/verify

Send back the one-time code from the sign-up email to prove the email, within 15 minutes and 5 tries. Live mode needs a plan.

Who may
Anyone, with no account yet
CLI
widar signup verify <signup_id> --code <code>
MCP tool
verify_signup
Returns
The sign-up, proved, with its workspace and whether a plan is still needed for live mode.

Parameters

  • signup_idid (sgn_)Required

    The signup’s id. In the path.

  • codestringRequired

    The code. At most 12 characters.

curl -X POST https://api.widar.com/v1/signups/sgn_3Rk7vMa2XcLq/verify \
  -H "Content-Type: application/json" \
  -d '{
    "code": "482913"
  }'

POST /v1/signups/{signup_id}/verify

Create a checkout link

POST/v1/checkout_sessions

A Stripe Checkout page for a plan, a plan change, a top-up or an add-on, such as the compliance pack for one system. Open it if you can, or hand the link to your person. What you bought starts when it is paid, and checkout.completed follows.

Who may
Owner, Admin and Billing
CLI
widar checkout create --purpose <plan|plan_change|top_up|add_on> [--plan <name>] [--amount <usd>] [--add-on compliance_pack --system <system_id>]
MCP tool
checkout_sessions_create
Returns
The page’s url and when it expires.

Parameters

  • purposeenumRequired

    plan, plan_change, top_up or add_on.

  • planstring

    The plan, for plan and plan_change: business or volume. Free needs no checkout; Enterprise is arranged with sales.

  • amountnumber

    For top_up: the credit to buy, in USD.

  • add_onenum

    For add_on: compliance_pack.

  • systemid (sys_)

    For the compliance pack: the system it covers. It is bought per system.

curl -X POST https://api.widar.com/v1/checkout_sessions \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "purpose": "plan",
    "plan": "volume"
  }'
Response, 201 Created
{
  "object": "checkout_session",
  "purpose": "plan",
  "plan": "volume",
  "url": "https://checkout.stripe.com/c/pay/cs_live_b1Rk...",
  "expires_at": "2026-12-04T09:42:00Z"
}

Pay with a shared payment token

POST/v1/agent_payments

Presents a Stripe Shared Payment Token your wallet issued for widar, for a plan, a plan change, a top-up or an add-on. Under the workspace’s agent payment cap it goes through at once; above it, a member with billing rights confirms it. A token used outside its grant is refused.

Who may
Owner, Admin and Billing
CLI
widar payments create --shared-payment-token <spt_...> --purpose <plan|plan_change|top_up|add_on> [--plan <name>] [--amount <usd>] [--add-on compliance_pack --system <system_id>]
MCP tool
agent_payments_create
Returns
201 with the receipt, or 202 awaiting_confirmation; 402 payment_grant_exceeded outside the token’s grant.

Parameters

  • shared_payment_tokenstringRequired

    The token, scoped to widar as seller, an amount and a time.

  • purposeenumRequired

    plan, plan_change, top_up or add_on.

  • planstring

    The plan, for plan and plan_change.

  • amountnumber

    For top_up: the credit to buy, in USD.

  • add_onenum

    For add_on: compliance_pack.

  • systemid (sys_)

    For the compliance pack: the system it covers.

curl -X POST https://api.widar.com/v1/agent_payments \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "shared_payment_token": "spt_1Qx8Lm4RvT2c",
    "purpose": "top_up",
    "amount": 200
  }'
Response, 201 Created
{
  "id": "apy_5Wn8kTr3HdQe",
  "object": "agent_payment",
  "agent": "Build agent",
  "method": "shared_payment_token",
  "purpose": "top_up",
  "amount": { "usd": 200 },
  "state": "paid",
  "receipt_url": "https://widar.com/receipts/rcp_8Nd2kQx5WmLs",
  "created_at": "2026-12-03T09:42:00Z"
}

GET /v1/agent_payments: documented at List payments by agents.

Read an agent payment

GET/v1/agent_payments/{payment_id}

One agent payment and its receipt.

Who may
Owner, Admin and Billing
CLI
widar payments get <payment_id>
MCP tool
agent_payments_get
Returns
The agent payment.

Parameters

  • payment_idid (apy_)Required

    The payment.

curl -X GET https://api.widar.com/v1/agent_payments/apy_5Wn8kTr3HdQe \
  -H "Authorization: Bearer $WIDAR_API_KEY"

Buy prepaid credit

POST/v1/credit

Prepaid credit by the Machine Payments Protocol, with Stripe as the method, with or without a key. Without a key it makes a workspace for the agent with one key, no members and no plan.

Who may
Anyone, with no key or account
CLI
widar credit buy --amount <usd>
MCP tool
credit_buy
Returns
A payment challenge first (402), then the receipt and, with no key, the new workspace’s key.

Parameters

  • amountnumberRequired

    The credit to buy, in USD.

curl -X POST https://api.widar.com/v1/credit \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 50
  }'
PreviousAgent setupNextMCP server

For agents

  • Read this page as Markdown

Start without a browser: POST https://api.widar.com/v1/signups, then the emailed code; or sign in with the CLI, which comes with a widar workspace: widar auth login. The key is read from WIDAR_API_KEY.

  • Agent setup
  • MCP serverhttps://widar.com/mcp
  • Docs MCP serverhttps://widar.com/mcp
  • OpenAPI
  • llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

A product of Bynn Intelligence, Inc.

  • llms.txt
  • agent-setup.md
  • Pricing