# AgentHandel Standard (SACP) > AgentHandel (SACP) is an online API trade standard so an AI agent can buy on its own. The draft names negotiation, item collection, and purchase. Purchase is a checkout handoff for Swish, IBAN, card, or crypto. A shop may name another service. BankID is identity, not a payment. The API does not carry a card number or a private key. Draft 1.3.0, December 2026. Not an ISO standard. The merchant stays merchant of record. The reference plugins return a checkout URL. They do not create an order and they do not charge a card. Published by LineSpotting AB. Contact: info@linespotting.com Version: 1.3.0-draft. License: Apache-2.0. Live documentation host: https://agentictradestandard.org Canonical host: https://agentictradestandard.org Answer-engine support is a draft extension: /llms.txt, quotable answers, FAQPage markup, and crawler permission. It does not change the canonical discovery example. The three discovery names are not unified. The OpenAPI document defines request and response schemas from 1.3.0. ## Docs - [Versions](https://agentictradestandard.org/versions/): Every released draft with status, date, changelog, git tag and SHA-256 checksums. Frozen, permanent copies of the specification files. Machine-readable: https://agentictradestandard.org/versions/versions.json. - [Versioner (Svenska)](https://agenthandelstandard.se/sv/versioner/): Alla utgivna utkast med status, datum, Àndringslogg, git-tagg och SHA-256-kontrollsummor. - [FAQ](https://agentictradestandard.org/faq/): What SACP (Agentic Trade Standard) is, how it differs from the Agentic Commerce Protocol by Stripe and OpenAI, that it is not an ISO standard, license and feedback. - [Overview](https://agentictradestandard.org/) - [The automated future](https://agentictradestandard.org/article/): The article. A shop an agent can buy from. Draft, not an ISO standard. - [Overview (Svenska)](https://agenthandelstandard.se/sv/) - [Answer engines](https://agentictradestandard.org/aeo/): Quotable answers and the meaning of AEO on this site. - [Plugins](https://agentictradestandard.org/plugins/): Closed software. Not part of this public draft. - [Related standards](https://agentictradestandard.org/related-standards/): Specs this draft sits beside. - [Related standards: AEO](https://agentictradestandard.org/related-standards/aeo/) - [Related standards: SEO](https://agentictradestandard.org/related-standards/seo/) - [Related standards: protocols](https://agentictradestandard.org/related-standards/protocols/) - [New Work Item Proposal for SIS](https://agentictradestandard.org/nwip/) - [20-year architecture](https://agentictradestandard.org/architecture/) - [OpenAPI (HTML)](https://agentictradestandard.org/spec/) - [REST profile](https://agentictradestandard.org/api/): New in 1.3.0. Signed requests (RFC 9421), Idempotency-Key, problem+json errors with a code registry, cursor pagination, rate-limit headers, ETag and If-Match, signed webhooks, conformance levels rest-core, rest-checkout, rest-enterprise. Swedish: https://agenthandelstandard.se/sv/api/ - [Discovery document (HTML)](https://agentictradestandard.org/discovery/) - [Approved terms (intent binding)](https://agentictradestandard.org/intent-binding/): New in 1.1.0. A hashed snapshot of the exact offer, a re-quote at checkout, a tolerance policy that defaults to zero, and a diff when price, stock, shipping or merchant change. - [Authority and mandates](https://agentictradestandard.org/authority/): New in 1.1.0. A signed mandate separates an agent's ability to pay from its authority to commit. Delegation, limits, approval matrix, revocation, audit trail, consumer and enterprise levels. - [Agentic shopping and agentic checkout](https://agentictradestandard.org/phases/): New in 1.2.0. A declared, machine-readable agent lane. Every request carries agent_phase (shopping or checkout). Shopping has identification and rate limits and creates no financial obligation. Checkout requires intent binding, authority and separately labelled fraud signals. Checkout mode is human_handoff or, when advertised, autonomous. - [Changelog](https://agentictradestandard.org/changelog/) - [Terms](https://agentictradestandard.org/tos/) ## Who the open standard is for Shop platforms counted on Swedish sites in 2026, not five named company websites. WooCommerce (PHP), custom storefronts (the site's own language), Shopify (Liquid or JavaScript), Abicart (hosted), and Magento (PHP). Sources: WMTips, 26 October 2026, 36,993 Swedish websites; MyLeadFox, 5 November 2026, about 69,900 Swedish stores. The open standard is the HTTP API. ## Open material The draft pages, /llms.txt, /robots.txt, the OpenAPI document, the JSON Schemas, and the discovery example are open. The draft is Apache-2.0. It is not an ISO standard. Open API names: GET /.well-known/sacp, GET /.well-known/jwks.json, POST /catalog/search, GET /catalog/product/{id}, POST /shipping/quote, POST /negotiation/offer, POST /collection/items, POST /checkout/prepare, GET /checkout/{checkout_id}, POST /checkout/{checkout_id}/cancel, and the optional POST /checkout/{checkout_id}/confirm for autonomous checkout. Purchase is a handoff. It does not charge a card. Handoff names are swish, iban, card, and crypto. A shop may add another name. ## Agentic shopping and agentic checkout (1.2.0) Q: What is the difference between agentic shopping and agentic checkout? A: Agentic shopping is discovery, browsing, comparison, cart building and recommendation, with no financial obligation. Agentic checkout is the agent executing or initiating a payment or an order commitment. In SACP that begins at POST /checkout/prepare. https://agentictradestandard.org/phases/#phases Q: How does an agent declare which phase it is in? A: Every request in the lane carries agent_phase, set to shopping or checkout, as agent.agent_phase or the header SACP-Agent-Phase. A checkout request also declares checkout_mode: human_handoff or autonomous. https://agentictradestandard.org/phases/#lane Q: Why should fraud teams score shopping and checkout separately? A: A shopping request is not a payment attempt. A checkout request is. Label every event with the phase and keep separate scores and playbooks. A missing or mismatched phase is itself a risk signal. https://agentictradestandard.org/phases/#fraud ## REST profile (1.3.0) Q: How does an agent authenticate to a SACP shop? A: With HTTP Message Signatures (RFC 9421) or mutual TLS. Every checkout call is signed over the method, the target URI, the body digest, the agent id and the idempotency key, with a window of at most 300 seconds and a one-time nonce. The key thumbprint must match the mandate. A valid signature identifies the agent. It is never authority to commit. Q: How does SACP stop a retry from buying twice? A: Every state-changing POST carries an Idempotency-Key. The shop stores the first answer and returns it again, with Idempotent-Replayed: true, for the same key and request. A different request with the same key gets 422 idempotency_key_reuse, and a request that is still running gets 409 idempotency_in_progress. A checkout also commits at most once. Q: What error format does SACP use? A: RFC 9457 problem+json. Every error has type, title, status and a stable code from the SACP error registry, for example terms_changed, approval_required, rate_limited or precondition_failed. The type is a URL on this site that explains the code. The registry is at /api/#error-registry and /files/sacp-error-registry.json. Q: What happens if the price changes between prepare and confirm? A: Two checks run. If-Match with the checkout ETag catches a checkout that changed after it was read (412 precondition_failed). The terms_hash in the confirm body is compared with a fresh quote and catches a changed price (409 terms_changed with a diff). Under the default tolerance of zero any price increase is material, and nothing is committed. Q: Is there an OpenAPI document for SACP? A: Yes. SACP 1.3.0-draft publishes an OpenAPI 3.1 document at /openapi.yaml and /openapi.json with request and response schemas, security schemes, error responses, and webhooks. It passes redocly lint with no warnings. The human-readable REST profile is at /api/. Q: What are the SACP REST conformance levels? A: rest-core is shopping: TLS, versioning, problem+json, formats, pagination and rate limits. rest-checkout adds signatures, idempotency, ETag with If-Match, the checkout resource and the terms re-check at confirm. rest-enterprise adds signatures or mutual TLS on every call, signed webhooks, key rotation rules, audit ids and the optional autonomous confirm call. A shop declares its level in extensions.rest.level. Q: What is the SACP agent reference and why must a shop keep it? A: The agent reference is key_id, mandate_id and checkout_id, plus a compact ref string. Every checkout answer, order and webhook event must carry it, and the shop must persist it through settlement and reconciliation. It lets a merchant, a PSP or an auditor tie an order to the exact agent key and mandate. The numbers in the REST profile (300 second signature window, 24 hours to 30 days of idempotency retention, 1 MiB body, 12 months of deprecation notice) are draft defaults, open for feedback. ## Community additions (1.3.0-draft) Q: How does SACP keep a human in the loop when an agent buys at scale? A: A person approves a policy once instead of each checkout. A standing mandate or batch approval holds limits per order, per day, per supplier and per category, and a validity window. Checkouts inside the policy may run autonomous. Anything outside it escalates to human_handoff with a 403 authority_denied. Review is by exception, and every decision is written to a per-mandate audit log. Q: Is a SACP mandate a signed, scoped and expiring token? A: Yes. A mandate is a JWS signed with EdDSA or ES256 and verified against the issuer JWKS. It carries scope and limits that only narrow along the delegation chain, a required validity window, and the thumbprint of the key the agent signs with, so a copied mandate is useless without that key. Status is checked for revocation. Q: Should fraud and AML monitoring treat agent traffic like human traffic? A: No. Agents differ in velocity, volume and basket patterns. Fraud and AML monitoring should score declared agent traffic against agent-specific baselines, per mandate and per agent key, and not against human baselines. A shop can pass the agent key id, mandate id, phase and checkout mode to PSP or bank screening. Q: Can a shop support only agentic shopping and not checkout? A: Yes. A shop can implement the shopping phase alone (catalog, product, availability, shipping quote and readable terms) and claim conformance level rest-core of the REST profile. It does not advertise checkout.handoff, and it can add checkout later. Q: What is the SACP agent reference and why must a shop keep it? A: The agent reference is key_id, mandate_id and checkout_id, plus a compact ref string. Every checkout answer, order and webhook event must carry it, and the shop must persist it through settlement and reconciliation. It lets a merchant, a PSP or an auditor tie an order to the exact agent key and mandate. Pages: https://agentictradestandard.org/authority/#standing-mandates , https://agentictradestandard.org/authority/#signed-token , https://agentictradestandard.org/phases/#agent-typologies , https://agentictradestandard.org/phases/#discovery-first , https://agentictradestandard.org/api/#agent-reference ## Approved terms and authority (1.1.0) Q: What if the price changes before checkout? A: The approval is void. The shop re-quotes at checkout and compares with the approved terms. Under the default tolerance of zero, any price increase returns 409 terms_changed with a diff and no handoff URL. The customer must approve the new terms. https://agentictradestandard.org/intent-binding/#requote Q: How does SACP separate an agent's ability to pay from its authority to commit? A: Capability is that the agent can call the shop API. Authority is a signed mandate that names the principal, who delegated, allowed categories and merchants, spend limits and validity. The shop or payment side verifies that the mandate covers the exact transaction before it commits. A valid API key alone is never authority. https://agentictradestandard.org/authority/#capability-authority ## Verification mark The AgentHandel Verification Mark costs 5 USD. LineSpotting AB issues it only at https://agentictradestandard.org/verification/ . A certificate is valid only while https://agentictradestandard.org/verify/{id} lists that id. A copied image is not a certificate. It is not an ISO certification. The open standard stays free to read. The plugins stay closed. Check: https://agentictradestandard.org/verify/{id} Machine-readable check: https://agentictradestandard.org/api/verify/{id} ## Plugins Ten shop plugins each cost 5 USD. LineSpotting AB sells them only at https://agentictradestandard.org/plugins/ . The source is not published. A download is issued only after payment. They return a checkout URL. They do not create an order and they do not charge a card. ## Machine-readable - [OpenAPI 3.1 (YAML)](https://agentictradestandard.org/openapi.yaml): application/yaml - [OpenAPI 3.1 (JSON)](https://agentictradestandard.org/openapi.json): application/json - [OpenAPI 3.1, older name](https://agentictradestandard.org/openapi/sacp-v1.yaml): same document - [Specification discovery](https://agentictradestandard.org/.well-known/sacp.json) - [Discovery alias](https://agentictradestandard.org/.well-known/agent-commerce) - [Discovery alias without suffix](https://agentictradestandard.org/.well-known/sacp) - [Merchant discovery example](https://agentictradestandard.org/files/example-well-known-sacp.json) - [JSON Schema: terms snapshot](https://agentictradestandard.org/schemas/terms-snapshot.schema.json) - [JSON Schema: checkout outcomes (terms_changed, approval_required, authority_denied)](https://agentictradestandard.org/schemas/checkout-outcomes.schema.json) - [JSON Schema: mandate](https://agentictradestandard.org/schemas/mandate.schema.json) - [JSON Schema: approval evidence](https://agentictradestandard.org/schemas/approval.schema.json) - [JSON Schema: agent lane declaration](https://agentictradestandard.org/schemas/agent-lane.schema.json) - [JSON Schema: agent lane outcomes (phase_mismatch, rate_limited)](https://agentictradestandard.org/schemas/agent-lane-outcomes.schema.json) - [JSON Schema: REST bodies](https://agentictradestandard.org/schemas/rest.schema.json) - [JSON Schema: problem details](https://agentictradestandard.org/schemas/problem.schema.json) - [JSON Schema: discovery document](https://agentictradestandard.org/schemas/discovery.schema.json) - [SACP error code registry](https://agentictradestandard.org/files/sacp-error-registry.json) - [Example signed request (RFC 9421 test vector)](https://agentictradestandard.org/files/example-signed-request.json) - [Example signed webhook](https://agentictradestandard.org/files/example-signed-webhook.json) - [Example checkout (ready to confirm)](https://agentictradestandard.org/files/example-checkout-prepared.json) - [Example checkout (handoff)](https://agentictradestandard.org/files/example-checkout-handoff.json) - [Example standing mandate](https://agentictradestandard.org/files/example-standing-mandate.json) - [Example agent shopping declaration](https://agentictradestandard.org/files/example-agent-shopping.json) - [Example agent checkout declaration](https://agentictradestandard.org/files/example-agent-checkout.json) - [Example terms snapshot](https://agentictradestandard.org/files/example-terms-snapshot.json) - [Example mandate](https://agentictradestandard.org/files/example-mandate.json) - [Example approval](https://agentictradestandard.org/files/example-approval.json) - [This file](https://agentictradestandard.org/llms.txt) ## Optional - [Privacy](https://linespotting.com/privacy-policy/) ## Source - https://github.com/LinespottingOrg/AgentHandelStandard - License: https://www.apache.org/licenses/LICENSE-2.0