Synchronity Payments API

The Payments API from Synchronity — 1 operation(s) for payments.

GitHub OpenAPI

Operations 1

GET /v1/sites/{site_id}/orders/{order_id}/payment/status Get payment status #

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/synchronity-app:synchronity-app-payments-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

synchronity-app-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Synchronity Payments 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: Payments
paths:
  /v1/sites/{site_id}/orders/{order_id}/payment/status:
    get:
      operationId: getPaymentStatus
      tags:
      - Payments
      summary: Get payment status
      description: Returns the current payment state for an order after the buyer has paid on the store's own payment page. 'paid' or 'processing' means the order is confirmed; 'failed' means the buyer should open the payment_url again and retry. Read-only; collects no payment details.
      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: Current payment session status.
          headers:
            X-AgentMesh-Request-Id:
              $ref: '#/components/headers/X-AgentMesh-Request-Id'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentSession'
        '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:
    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'
    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.
    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.
    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.
  schemas:
    PaymentStatus:
      type: string
      enum:
      - pending
      - awaiting_user
      - processing
      - paid
      - failed
      description: Status of the payment session.
    PaymentSession:
      type: object
      required:
      - order_id
      - reference
      - channel
      - payment_status
      properties:
        order_id:
          type: string
        reference:
          type: string
        channel:
          $ref: '#/components/schemas/PaymentChannel'
        payment_status:
          $ref: '#/components/schemas/PaymentStatus'
        instruction:
          $ref: '#/components/schemas/PaymentInstruction'
        message:
          type: string
    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
    PaymentInstruction:
      type: object
      required:
      - channel
      - reference
      properties:
        channel:
          $ref: '#/components/schemas/PaymentChannel'
        action:
          type: string
          enum:
          - approve_on_phone
          - submit_otp
          - redirect
        provider:
          type: string
        phone:
          type: string
        reference:
          type: string
        display_text:
          type: string
        authorization_url:
          type: string
          format: uri
    PaymentChannel:
      type: string
      enum:
      - mobile_money
      - card
      description: Supported payment channels.
  headers:
    X-AgentMesh-Request-Id:
      description: Unique request identifier for audit trail correlation.
      schema:
        type: string
        example: req_01HZABCDEFGHIJKLMNOP
    Retry-After:
      description: Seconds to wait before retrying after a 429 response.
      schema:
        type: integer
        example: 47
    X-RateLimit-Reset:
      description: Unix epoch timestamp when the rate limit window resets.
      schema:
        type: integer
        example: 1746100800
    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
  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>`

        '