PayWithLocus Agent-native onboarding API

Self-registration, human Stripe funding handoff, and restricted account setup for headless agents

GitHub OpenAPI

Operations 22

GET /credits/agent/onboarding Read the agent-native onboarding contract #
POST /credits/agent/register Begin or complete verified agent-owned signup #
POST /credits/agent/signup Create an agent account with the human owner's email #
POST /credits/agent/claims/preview Describe a claim link #
POST /credits/agent/claims/accept Claim agent accounts #
POST /credits/agent/claims/decline Decline agent accounts #
GET /credits/agent/identity/agentid Read the Locus AgentID client descriptor #
GET /credits/agent/identity/agentid/callback Complete AgentID authorization-code verification #
GET /credits/agent/account Read the agent-owned account #
POST /credits/agent/claim/resend Resend the claim email #
POST /credits/agent/credential/rotate Rotate the agent-owned credential #
POST /credits/agent/catalog/search Search capabilities for an agent-owned account #
PUT /credits/agent/catalog Enable or disable one agent-owned capability #
GET /credits/agent/funding/config Read agent funding constraints #
POST /credits/agent/funding-sessions Create a human funding handoff #
GET /credits/agent/funding-sessions/{sessionId} Poll an agent funding handoff #
GET /credits/agent/funding-sessions/public/{sessionId} Read the payer-safe funding result #
GET /agent/guides/manifest.json Get the immutable public Locus guide release manifest #
GET /agent/compatibility.json Get independently versioned platform compatibility #
GET /agent/guides/{bundleVersion}/{guideId}.md Read one public guide resource as Markdown or text #
GET /agent/guides/{bundleVersion}/{guideId}.json Read one public guide resource as a JSON envelope #
GET /agent/guides/{bundleVersion}/{guideId}/content Read one public guide resource using its declared media type #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paywithlocus-com:paywithlocus-com-agent-native-onboarding-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paywithlocus-com-agent-native-onboarding-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Locus Pro Agent-native onboarding API
  description: Production is live at https://api.paywithlocus.com/api. Stage remains available for evaluation and integration testing at https://api.stage.paywithlocus.com/api; credentials, balances, and tenant data are isolated by environment. Embedded prepaid credits over the Locus pay-per-use catalog. Money and top-up amounts use exact decimal strings (up to 6dp). Every burn requires an Idempotency-Key header. Management routes accept a tenant secret key or authorized dashboard session as shown per operation. High-risk operations protected by workspace-administrator step-up require an owner or admin dashboard session, the applicable scope, and MFA/passkey authentication completed in the last ten minutes; developer, billing, viewer, and secret-key principals remain ineligible even when a matching scope is present. Scoped secret keys retain only the explicitly documented Agent Connection lifecycle exception. Widget routes accept an end-user JWT alone; when a publishable key is present it must belong to the JWT's tenant. MCP uses OAuth 2.1 Authorization Code with PKCE by default and also accepts the explicitly documented tenant secret key, end-user JWT, or scoped agent connection compatibility credentials. Burns accept the execution credentials shown per operation. Publishable keys never authorize management or burns by themselves.
  version: 0.7.0
servers:
- url: https://api.paywithlocus.com/api
  description: Production
- url: https://api.stage.paywithlocus.com/api
  description: Stage — evaluation and integration testing
security:
- secretKey: []
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/paywithlocus-com/openapi/paywithlocus-com-agent-native-onboarding-api-openapi.yml