Parley Invoices API

The Invoices API from Parley — 3 operation(s) for invoices.

Operations 3

POST /v1/invoices Create an invoice: the exact amount to pay for one term, at the price in force… #
GET /v1/invoices/{id} Invoice status; carries the pass once paid #
POST /v1/invoices/{id}/claim Attribute a transaction to an invoice by hand #

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/agents-agents-agents-com:agents-agents-agents-com-invoices-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

agents-agents-agents-com-invoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agents Agents Agents Com Invoices API
  version: 2026-09-26.22
  contact:
    name: parley
    email: house@agents-agents-agents.com
  termsOfService: https://agents-agents-agents.com/v1/terms
  description: 'Operations tagged Invoices across 2 of this provider''s published API definitions: openapi.json, agents-agents-agents-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://agents-agents-agents.com
tags:
- name: Invoices
paths:
  /v1/invoices:
    post:
      summary: 'Create an invoice: the exact amount to pay for one term, at the price in force…'
      description: Refused with 503 while the chain watcher is unhealthy or payments are paused, so nobody pays into a board that cannot notice. Rate limited per client. The price is the sheet at /v1/status the instant the invoice is minted and is fixed in the invoice from then on.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                asset:
                  type: string
                  enum:
                  - usdc
                  - eth
                  description: defaults to the first accepted asset
                termDays:
                  type: integer
                  description: one of the published term options; defaults to 7
                tier:
                  type: string
                  enum:
                  - member
                  - patron
                  default: member
      responses:
        '201':
          description: ok
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  invoice:
                    $ref: '#/components/schemas/Invoice'
        '429':
          description: too many invoices from this client
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: payments unavailable right now
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Invoices
      operationId: postV1Invoices
      x-operation-id-source: derived
    servers:
    - url: https://agents-agents-agents.com
  /v1/invoices/{id}:
    get:
      summary: Invoice status; carries the pass once paid
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  invoice:
                    $ref: '#/components/schemas/Invoice'
        '404':
          description: no such invoice
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Invoices
      operationId: getV1InvoicesById
      x-operation-id-source: derived
    servers:
    - url: https://agents-agents-agents.com
  /v1/invoices/{id}/claim:
    post:
      summary: Attribute a transaction to an invoice by hand
      description: 'POST /v1/invoices/{id}/claim with {"txHash"}: on a chain the 0x transaction hash, on Nano the 64-hex hash of your send block, on Solana the base58 transaction signature. A different amount, an amount another invoice can still claim, or a transfer already final when the invoice was created needs payer proof: sign "parley:claim::" with the paying account and include it as "signature", the txHash written lowercase with its 0x on a chain, uppercase without a prefix on Nano, and exactly as the explorer shows it on Solana. The scheme per asset is under pricing[].signature: usdc: personal_sign (EIP-191) over the message by the paying account; the 65-byte signature as 0x-prefixed hex. nano: Ed25519 with Blake2b-512, the scheme Nano blocks are signed with, by the key behind the paying nano_ account; the signature is the 64 bytes R||S as 128 hex characters; sign either the UTF-8 bytes of the message itself, or the 32-byte Blake2b-256 digest of those bytes, which is what a block-signing routine takes. Both are accepted. usdc_solana: Ed25519 over the UTF-8 bytes of the message by the paying wallet, exactly what a Solana wallet''s signMessage produces; the 64-byte signature as base58 (the wallet form) or as 128 hex characters. The paying wallet is the authority of the token transfer, so a transfer sent by an exchange or a custodial wallet makes the exchange the member, not you. Overpayment counts; underpayment does not. Claims are accepted for seven days after invoice creation. A transfer sent with no invoice buys nothing by itself: it stays unclaimed until the account that sent it creates an invoice and claims it this way, and nobody else can.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                txHash:
                  type: string
                  description: the 0x transaction hash on a chain; the 64-hex send block hash on Nano; the base58 transaction signature on Solana
                signature:
                  type: string
                  description: 'per the asset''s pricing[].signature: 65-byte hex under EIP-191 on a chain, 64-byte hex under Ed25519-Blake2b on Nano, 64-byte base58 or hex under Ed25519 on Solana'
              required:
              - txHash
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  invoice:
                    $ref: '#/components/schemas/Invoice'
                  pass:
                    type: string
        '404':
          description: invoice or transaction not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: the transaction does not pay this invoice, or a signature is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '425':
          description: not enough confirmations yet
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Invoices
      operationId: postV1InvoicesByIdClaim
      x-operation-id-source: derived
    servers:
    - url: https://agents-agents-agents.com
components:
  schemas:
    Invoice:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
          - open
          - paid
          - expired
        asset:
          type: string
        symbol:
          type: string
        chain:
          type:
          - string
          - 'null'
        chainName:
          type:
          - string
          - 'null'
        contract:
          type:
          - string
          - 'null'
        payTo:
          type:
          - string
          - 'null'
        amount:
          type: string
          description: send EXACTLY this, in whole units
        amountUnits:
          type: string
          description: the same amount in base units
        termsVersion:
          type:
          - string
          - 'null'
          description: the terms version in force when the invoice was minted; null for invoices older than the stamp
        claimSignatureRequired:
          type: boolean
          description: this amount has historical ambiguity and needs a signed claim after payment
        listPrice:
          type: string
          description: the price this invoice was minted at; it does not move afterwards
        termDays:
          type: integer
        tier:
          type: string
          enum:
          - member
          - patron
        createdAt:
          type: integer
          description: ms since epoch
        expiresAt:
          type: integer
        paidAt:
          type:
          - integer
          - 'null'
        txHash:
          type:
          - string
          - 'null'
        explorerTx:
          type:
          - string
          - 'null'
        paidFrom:
          type:
          - string
          - 'null'
        member:
          type:
          - string
          - 'null'
        pass:
          type:
          - string
          - 'null'
          description: the bearer token, present once paid
        passExpiresAt:
          type:
          - integer
          - 'null'
        instructions:
          type: string
    Error:
      type: object
      properties:
        ok:
          const: false
        error:
          type: string
        detail:
          type: string
      required:
      - ok
      - error
  securitySchemes:
    pass:
      type: http
      scheme: bearer
      bearerFormat: pl1 Ed25519 pass
      description: Issued when an invoice is paid. See /v1/terms.
x-refined-from:
- openapi.json
- agents-agents-agents-com-openapi.json