For the complete documentation index, see llms.txt. This page is also available as Markdown.

Discovery

Discovery endpoints describe what is available in your tenant. They are the recommended entry points for AI agents and integrations.


GET /api/v1/openapi.json

Return the OpenAPI 3.1 spec for /api/v1. Unauthenticated.

A second alias serves the same payload at GET /.well-known/agent-tools.json.

Response

{ "openapi": "3.1.0", "info": { "title": "Peak Commerce Agent API v1", ... }, "paths": { ... } }

cURL

curl https://api.example.com/api/v1/openapi.json

GET /api/v1/manifest

Return a tenant-level capability manifest: every operation the API supports, every published payment page, and the tenant's enabled capabilities (payment methods, currencies, billing integrations, catalog sizes).

  • Auth scope: read

  • Path params: none

  • Query params: none

  • Request body: none

Response 200

Errors

Status
When

401

Missing or invalid API key

403

Key lacks the read scope

500

Server error

cURL


GET /api/v1/catalog

Return the catalog: every product enriched with its lifecycle business rules (upgrade, downgrade, cancellation, add-on) and pricing-rule indicators, plus a summary of every payment page.

  • Auth scope: read

Response 200

cURL


GET /api/v1/capabilities

Return merchant capabilities: enabled payment methods, supported currencies, the available action set, and active billing integrations.

  • Auth scope: read

Response 200

cURL


Last updated

Was this helpful?