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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/synchronity-app:synchronity-app-checkout-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
openapi: 3.2.0
info:
title: Synchronity Checkout API
version: 0.1.0
description: 'The Synchronity Gateway API is the central HTTP interface that AI agents call to
discover connected stores, search products, manage carts, and execute checkout
across any Synchronity-registered e-commerce platform.
COVERAGE: these operations read only from stores a user has connected to their
Synchronity account, live from each merchant. Product data, prices, stock, and
orders are specific to those connected stores and are not derived from public web
listings. listSites returns the connected stores with their IDs and matches partial
or approximate store names; every other operation takes a site_id. Checkout and
payment complete only with the buyer''s explicit one-time-code approval.
All endpoints require a valid Agent Identity Token (AIT) — a signed RS256 JWT —
passed as a Bearer token. Scopes within the AIT control which operations are permitted.
See the Synchronity Protocol Specification (APS) for full authentication and schema details.'
contact:
name: Synchronity Team
url: https://synchronity.app
license:
name: Proprietary
servers:
- url: https://api.synchronity.app
description: Synchronity Gateway
security:
- BearerAIT: []
tags:
- name: Checkout
description: Order execution and tracking
paths:
/v1/sites/{site_id}/checkout:
post:
operationId: executeCheckout
tags:
- Checkout
summary: Execute checkout and create an order
description: Submits a cart for checkout to create an order. The order is created UNPAID and the response carries a payment_url. Payment is completed by the buyer on the store's own secure payment page, not in the conversation. Present the payment_url to the buyer as a link and tell them to open it to pay. Never ask the buyer for card details, mobile-money numbers, or payment codes. After they have paid, call getPaymentStatus or getOrder to confirm.
x-agentmesh-scope: execute_checkout
parameters:
- name: site_id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CheckoutRequest'
responses:
'200':
description: Redirect-mode checkout (e.g. Shopify). The store hosts checkout and payment; no order is created by the agent. Present checkout_url to the buyer to complete shipping and payment.
content:
application/json:
schema:
type: object
properties:
status:
type: string
enum:
- redirect_required
checkout_url:
type: string
format: uri
description: Hosted checkout URL the buyer opens to finish the purchase.
total:
$ref: '#/components/schemas/MonetaryAmount'
nextStep:
type: string
enum:
- redirect
message:
type: string
required:
- status
- checkout_url
'201':
description: Order created successfully.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSOrder'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
description: Checkout could not be completed (e.g. item out of stock, payment failed).
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
x-openai-isConsequential: false
/v1/sites/{site_id}/orders:
get:
operationId: listOrders
tags:
- Checkout
summary: List orders for the authenticated agent
description: Returns paginated orders created by this agent on the specified site. Order reads are bound to the buyer who placed the order via the authenticated session; a read_orders scope alone is not sufficient.
x-agentmesh-scope: read_orders
parameters:
- name: site_id
in: path
required: true
schema:
type: string
- name: status
in: query
schema:
type: string
enum:
- pending
- processing
- completed
- cancelled
- refunded
description: Filter by order status.
- name: page
in: query
schema:
type: integer
minimum: 1
default: 1
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
responses:
'200':
description: Paginated order list.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedOrderResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
x-openai-isConsequential: false
/v1/sites/{site_id}/orders/{order_id}:
get:
operationId: getOrder
tags:
- Checkout
summary: Get order status and details
description: 'Returns order status, tracking, and delivery. ''pending'' means unpaid: re-share the payment_url so the buyer can complete payment on the store''s own payment page. Do not mark a purchase successful until status is ''processing'' or ''completed''. Reads are bound to the buyer who placed the order.'
x-agentmesh-scope: read_orders
parameters:
- name: site_id
in: path
required: true
schema:
type: string
- name: order_id
in: path
required: true
schema:
type: string
responses:
'200':
description: Order details.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSOrder'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
x-openai-isConsequential: false
components:
responses:
RateLimited:
description: Rate limit exceeded.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
example:
error:
code: RATE_LIMIT_EXCEEDED
message: Rate limit exceeded. Retry after 47 seconds.
BadRequest:
description: Malformed request or validation error.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
Unauthorized:
description: Missing or invalid Agent Identity Token.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
example:
error:
code: UNAUTHORIZED
message: Missing or invalid Agent Identity Token.
InternalError:
description: Unexpected server error.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
Forbidden:
description: AIT lacks the required scope for this operation.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
example:
error:
code: INSUFFICIENT_SCOPE
message: This operation requires the execute_checkout scope.
NotFound:
description: The requested resource does not exist.
headers:
X-AgentMesh-Request-Id:
$ref: '#/components/headers/X-AgentMesh-Request-Id'
content:
application/json:
schema:
$ref: '#/components/schemas/AMPSError'
schemas:
PaginatedOrderResponse:
type: object
required:
- data
- pagination
properties:
data:
type: array
items:
$ref: '#/components/schemas/AMPSOrder'
pagination:
$ref: '#/components/schemas/PaginationMeta'
CheckoutRequest:
type: object
required:
- cart_id
- shipping_address
properties:
cart_id:
type: string
buyer_delegation_token:
type: string
description: The human delegation token (AIT) obtained via the OTP delegation verification flow.
shipping_address:
$ref: '#/components/schemas/AMPSAddress'
billing_address:
$ref: '#/components/schemas/AMPSAddress'
customer_email:
type: string
format: email
customer_name:
type: string
customer_phone:
type: string
description: Customer contact / billing phone number (E.164 preferred, e.g. +233201234567).
notes:
type: string
AMPSOrderItem:
type: object
required:
- item_id
- product_id
- title
- quantity
- unit_price
- line_total
properties:
item_id:
type: string
product_id:
type: string
variant_id:
type: string
title:
type: string
quantity:
type: integer
minimum: 1
unit_price:
$ref: '#/components/schemas/MonetaryAmount'
line_total:
$ref: '#/components/schemas/MonetaryAmount'
PaginationMeta:
type: object
required:
- page
- limit
- total
- has_next
properties:
page:
type: integer
limit:
type: integer
total:
type: integer
has_next:
type: boolean
MonetaryAmount:
type: object
required:
- amount
- currency
properties:
amount:
type: string
pattern: ^\d+\.\d{2}$
description: Decimal string with exactly 2 decimal places.
example: '19.99'
currency:
type: string
pattern: ^[A-Z]{3}$
description: ISO 4217 currency code.
example: USD
AMPSDiscount:
type: object
required:
- code
- amount
properties:
code:
type: string
description:
type: string
amount:
$ref: '#/components/schemas/MonetaryAmount'
AMPSError:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
example: NOT_FOUND
message:
type: string
example: The requested resource could not be found.
details:
type: object
additionalProperties: true
AMPSOrder:
type: object
required:
- order_id
- site_id
- status
- items
- subtotal
- total
- currency
- created_at
properties:
order_id:
type: string
site_id:
type: string
status:
type: string
enum:
- pending
- processing
- completed
- cancelled
- refunded
items:
type: array
items:
$ref: '#/components/schemas/AMPSOrderItem'
subtotal:
$ref: '#/components/schemas/MonetaryAmount'
discounts:
type: array
items:
$ref: '#/components/schemas/AMPSDiscount'
total:
$ref: '#/components/schemas/MonetaryAmount'
currency:
type: string
pattern: ^[A-Z]{3}$
shipping_address:
$ref: '#/components/schemas/AMPSAddress'
tracking_number:
type: string
estimated_delivery:
type: string
format: date
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
AMPSAddress:
type: object
required:
- line1
- city
- country_code
properties:
line1:
type: string
line2:
type: string
city:
type: string
state:
type: string
postal_code:
type: string
country_code:
type: string
pattern: ^[A-Z]{2}$
phone:
type: string
description: Contact phone for this address (E.164 preferred, e.g. +233201234567).
headers:
X-RateLimit-Remaining:
description: Requests remaining in current window.
schema:
type: integer
example: 42
X-RateLimit-Limit:
description: Maximum requests per minute for this agent.
schema:
type: integer
example: 60
X-AgentMesh-Request-Id:
description: Unique request identifier for audit trail correlation.
schema:
type: string
example: req_01HZABCDEFGHIJKLMNOP
X-RateLimit-Reset:
description: Unix epoch timestamp when the rate limit window resets.
schema:
type: integer
example: 1746100800
Retry-After:
description: Seconds to wait before retrying after a 429 response.
schema:
type: integer
example: 47
securitySchemes:
BearerAIT:
type: http
scheme: bearer
bearerFormat: JWT
description: 'RS256-signed Agent Identity Token (AIT). Obtain via POST /v1/auth/agents/register.
Transmit as: `Authorization: Bearer <AIT>`
'