AnyGas Payments API

Verifiable agent-to-agent payment requests: signed by the payee, checkable by the payer, provable on-chain once paid.

Operations 4

GET /api/payreq/info What verifiable payment requests are and how the flow works #
POST /api/payreq/prepare Prepare a payment request for THE PAYEE to sign #
POST /api/payreq/verify Verify a payment request before paying it #
POST /api/payreq/settlement Prove on-chain that a payment request was satisfied #

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/anygas-xyz:anygas-xyz-payments-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

anygas-xyz-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anygas Xyz Payments API
  version: 3.28.2
  contact:
    name: Robyn AnyGas
    url: https://anygas.xyz
  license:
    name: Service terms
    url: https://anygas.xyz/svc/api/terms
  x-lastUpdated: '2026-07-29'
  description: 'Operations tagged payments across 2 of this provider''s published API definitions: anygas-openapi.json, anygas-xyz-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.anygas.xyz/svc
  description: Production gateway (also https://anygas.xyz/svc)
tags:
- name: Payments
  description: 'Verifiable agent-to-agent payment requests: signed by the payee, checkable by the payer, provable on-chain once paid.'
paths:
  /api/payreq/info:
    get:
      tags:
      - Payments
      summary: What verifiable payment requests are and how the flow works
      operationId: payreqInfo
      responses:
        '200':
          description: Explanation and the five-step flow
          content:
            application/json:
              schema:
                type: object
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
  /api/payreq/prepare:
    post:
      tags:
      - Payments
      summary: Prepare a payment request for THE PAYEE to sign
      operationId: payreqPrepare
      description: Build the canonical request (payee, chain, token, amount, memo, expiry) and return the digest for the payee to sign with their own wallet. ROBYN NEVER SIGNS THESE and holds no payee keys — a request signed by Robyn would prove only that Robyn said so, which is exactly the trust this removes.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: request + digest + signing instructions
          content:
            application/json:
              schema:
                type: object
        '400':
          description: missing/invalid fields
          content:
            application/json:
              schema:
                type: object
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
  /api/payreq/verify:
    post:
      tags:
      - Payments
      summary: Verify a payment request before paying it
      operationId: payreqVerify
      description: Agents can pay each other but could not ASK each other for money verifiably. A plaintext "send 5 USDC to 0x…" over an unauthenticated channel is exactly the message that address-substitution theft preys on. This confirms the payee address, chain, token and amount were signed by whoever controls the payee address, and that the request has not expired. Rewrite the payee or the amount and the signature stops recovering. If `signedByPayee` is false, DO NOT PAY. A valid signature proves AUTHENTICITY — not that the payment is owed, and not that the payee is trustworthy. Authenticity is not authorisation.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: valid, signedByPayee, expired, recovered signer and why
          content:
            application/json:
              schema:
                type: object
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
  /api/payreq/settlement:
    post:
      tags:
      - Payments
      summary: Prove on-chain that a payment request was satisfied
      operationId: payreqSettlement
      description: 'Pass the signed request plus the `transferId` that paid it. Re-checks the transfer against the DESTINATION CHAIN and confirms the payee received at least the amount requested — so you end up with evidence both that the request was genuine and that you honoured it. `paid: null` means undetermined, which is NOT evidence of payment.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: paid true/false/null, verdict, and the full on-chain check
          content:
            application/json:
              schema:
                type: object
    servers:
    - url: https://api.anygas.xyz/svc
      description: Production gateway (also https://anygas.xyz/svc)
x-refined-from:
- anygas-openapi.json
- anygas-xyz-openapi.json