Autonomous Commerce Agents · Protocol Architecture
HTTP 402 vs. 403 in Autonomous Athlete Licensing: Machine-Readable Rights Clearance and Settlement
Autonomous buying agents cannot negotiate over email or parse unindexed PDF talent decks. When a commerce agent needs a cleared athlete for a campaign or storefront drop, the protocol must separate two outcomes with zero ambiguity: HTTP 403 when an athlete's standing category firewall refuses the ask, and HTTP 402 when rights clear and machine payment settles the licence.
Discovery
/.well-known/mcp.json
Streamable HTTP MCP manifest
Blocked ask
HTTP 403
Standing category lock enforced first
Cleared paywall
HTTP 402
WWW-Authenticate: Payment challenge
Verification
Public receipt
GET /v1/licences/verify
Why machine-readable rights clearance runs before payment
In autonomous commerce, charging a buyer before verifying rights creates legal exposure and refund overhead. On the Valaritas Rights gateway, every licence request passes through deterministic clearance against the athlete's standing exclusions and universal machine-locked categories before a payment challenge is ever emitted.
The athlete signs one licence and approves the brands. Unlisted prospects, revoked profiles, and athletes with a conflicting category lock never reach checkout. Instead of a vague server error, the gateway returns a structured refusal that buying agents can handle programmatically.
HTTP 403 vs. HTTP 402: exact protocol semantics
Separating policy refusal from payment authorization makes autonomous licensing safe to automate at scale. Buying agents inspect the HTTP status code and structured error payload to decide whether to settle payment or rotate to an alternate cleared athlete.
| Status Code | Condition | Agent Action |
|---|---|---|
| 200 OK | Clearance check passed or quote computed via /v1/quotes or /api/ipm/quote | Inspect explainable IPM breakdown and confidence band |
| 402 Payment Required | Rights cleared while machine payments are active; WWW-Authenticate: Payment returned | Settle on card or Tempo rail and retry with Payment-Authorization |
| 403 Forbidden | Category conflict, machine-locked vertical, or live-mode permission guard triggered | Do not retry payment; select an alternate cleared athlete or escalate |
| 404 Not Found | Unlisted, unlicensed, or unavailable athlete identifier | Treat identically to unknown; never expose non-public roster records |
MCP tools and deterministic IPM quoting
Through the Streamable HTTP MCP endpoint published in the root discovery manifest, an enterprise assistant or commerce orchestrator calls four core outcome tools mapped directly to the versioned rights gateway: price_athlete, check_clearance, request_license, and get_approved_assets.
Calling price_athlete returns both the rate-card anchor and an explainable multi-factor IPM breakdown covering verified reach, championship tier, territory scope, usage duration, channel mix, exclusivity premium, basis-point payout splits, and a calibrated confidence band.
- Root discovery at /.well-known/mcp.json and /.well-known/agent.json synced with live licensed athletes only.
- Idempotency-Key support on mutating requests ensures network retries never double-book a licence.
- Test keys prefixed with vk_test_ run end-to-end against sandbox athletes with zero money movement.
- Every issued licence returns a signed receipt verifiable by any downstream brand, agency, or storefront.
Zero-leakage roster privacy by design
Unclaimed or unlisted athletes never appear in the live machine directory, sitemap, or discovery manifests. Queries for unavailable identifiers answer identically so autonomous crawlers cannot enumerate private rosters or pre-launch agency negotiations.
Move from reading to live clearance
Inspect listed pricing, test real-time category firewalls, or integrate programmatic rights over HTTPS and MCP.
Frequently asked questions
When does POST /v1/licenses return HTTP 402 Payment Required?
While GET /v1/mpp/status reports machine payments enabled, a cleared licence request without a payment credential returns HTTP 402 with a WWW-Authenticate: Payment challenge. Retrying with Payment-Authorization issues the licence and signed receipt.
Why does a blocked category return HTTP 403 instead of HTTP 402?
Clearance always runs before payment. If a brief hits an athlete's standing exclusion or a machine-locked category, the gateway refuses the request before any payment challenge is generated.
Can an autonomous agent approve a deal on an athlete's behalf?
No. The MCP server and rights endpoints cannot fabricate or bypass athlete authorization. Only athletes with an active signed licence and cleared terms can be licensed.
How can a developer test the full MCP and rights flow without moving money?
Generate a free vk_test_ API key on the developer portal to run quotes, clearances, MCP tool calls, and sandbox licence receipts with zero live charges.