AgentPay Labs ACP API

Agent Communication Protocol endpoints

Operations 3

POST /api/acp/pay ACP payment request #
POST /api/acp/verify Verify ACP payment #
GET /api/acp/schema ACP schema #

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/agentpay-so:agentpay-so-acp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

agentpay-so-acp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgentPay ACP API
  description: '**AgentPay public API for Bro and train-first agent commerce.**

    This OpenAPI document is limited to the Cloudflare Workers production surface.

    Legacy Node-only routes are intentionally excluded until they are migrated.


    ## Authentication

    All protected endpoints require an API key via:

    - `Authorization: Bearer ` header, or

    - `X-Api-Key: ` header


    ## Protocols Supported

    - **x402** — HTTP 402 paywall standard

    - **ACP** — Agent Communication Protocol

    - **AP2** — Agent Payment Protocol v2

    - **Solana Pay** — Solana USDC native

    - **Stripe** — Fiat card / bank payments


    Get your API key: `POST /api/merchants/register`'
  version: 1.0.0
  contact:
    name: AgentPay Support
    url: https://docs.agentpay.gg
    email: support@agentpay.gg
  license:
    name: BSL-1.1; AGPL-3.0 after 2029-01-01
    url: https://github.com/Rumblingb/Agentpay/blob/main/LICENSE
servers:
- url: https://api.agentpay.so
  description: Production (Cloudflare Workers)
- url: http://localhost:8787
  description: Local Workers dev (wrangler dev)
tags:
- name: ACP
  description: Agent Communication Protocol endpoints
paths:
  /api/acp/pay:
    post:
      tags:
      - ACP
      summary: ACP payment request
      description: Create a payment request in Agent Communication Protocol format
      operationId: acpPay
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcpPayRequest'
      responses:
        '201':
          description: ACP payment receipt issued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcpPayResponse'
  /api/acp/verify:
    post:
      tags:
      - ACP
      summary: Verify ACP payment
      description: Verify an ACP payment token
      operationId: acpVerify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcpVerifyRequest'
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcpVerifyResponse'
  /api/acp/schema:
    get:
      tags:
      - ACP
      summary: ACP schema
      description: Returns the ACP message schema for agent discovery
      operationId: acpSchema
      responses:
        '200':
          description: ACP schema document
components:
  schemas:
    AcpPayResponse:
      type: object
      properties:
        success:
          type: boolean
        receipt:
          type: object
          properties:
            messageId:
              type: string
            paymentToken:
              type: string
            status:
              type: string
            expiresAt:
              type: string
              format: date-time
            protocol:
              type: string
              enum:
              - acp
    AcpVerifyResponse:
      type: object
      properties:
        verified:
          type: boolean
        paymentToken:
          type: string
        protocol:
          type: string
        verifiedAt:
          type: string
          format: date-time
    AcpVerifyRequest:
      type: object
      required:
      - paymentToken
      - senderId
      properties:
        paymentToken:
          type: string
        senderId:
          type: string
        expectedAmountUsd:
          type: number
    AcpPayRequest:
      type: object
      required:
      - senderId
      - recipientId
      - amountUsd
      - purpose
      properties:
        messageId:
          type: string
        senderId:
          type: string
        recipientId:
          type: string
        amountUsd:
          type: number
        purpose:
          type: string
        preferredMethod:
          type: string
          enum:
          - solana
          - stripe
          - agentpay
          default: agentpay
        metadata:
          type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Format: ''Bearer <api_key>'' or just ''<api_key>'''