GET /.well-known/sacp
Discovery document. Response 200: capability document. On this documentation host the same JSON is also at /.well-known/sacp.json and /.well-known/agent-commerce.
Document 03 · OpenAPI 3.1.0
Catalog search, shipping quotes, and payment handoff for AI agents. Request and response bodies are not fully specified in this draft.
Server template: https://example.com/wp-json/agent-commerce/v1
Stable machine-readable copy: /openapi/sacp-v1.yaml (also at /files/sacp-v1.yaml). Served as application/yaml.
Discovery document. Response 200: capability document. On this documentation host the same JSON is also at /.well-known/sacp.json and /.well-known/agent-commerce.
Search products. JSON body is required.
| Field | Type |
|---|---|
query | string |
max_price | number |
Response 200: matching products. The product schema is not defined yet.
Product details. id is a required path string. Response 200: product.
Shipping quotes. JSON body is required. The body schema is an open object in this draft. Response 200: shipping options.
Prepare checkout handoff. JSON body is required. The body schema is an open object in this draft.
Response 200: payment handoff payload (Swish, BankID, and later rails).
The merchant stays merchant of record. Payment authorization stays a human-in-the-loop handoff. Rendered from openapi/sacp-v1.yaml.