A2A Commerce Gateway API

REST API for agent-to-agent commerce: billing and wallets, payment intents and escrow, subscriptions, identity and reputation, marketplace, trust scoring, messaging and negotiation, disputes, webhooks, event bus, API keys and database operations. 114 paths / 132 operations under /v1 with a global choice of Bearer API key, X-API-Key or x402 X-PAYMENT security. The former POST /v1/execute tool dispatcher is 410 Gone (sunset 2026-10-01); POST /v1/batch remains for multi-tool dispatch and is how the MCP server invokes tools.

Operations 132

GET /livez Livez #
GET /readyz Readyz #
GET /v1/health Health #
GET /v1/pricing Pricing List #
GET /v1/pricing/summary Pricing Summary #
GET /v1/pricing/tiers Pricing Tiers #
GET /v1/pricing/{tool} Pricing Detail #
POST /v1/execute Execute #
POST /v1/batch Batch #
GET /v1/events/stream Event Stream #
GET /v1/ws Websocket Upgrade Fallback #
GET /v1/onboarding Onboarding Handler #
POST /v1/register Register #
GET /v1/checkout/success Checkout Success #
GET /v1/checkout/cancelled Checkout Cancelled #
POST /v1/checkout Create Checkout #
POST /v1/stripe-webhook Stripe Webhook #
GET /v1/billing/wallets/{agent_id}/balance Get Balance #
POST /v1/billing/wallets Create Wallet #
POST /v1/billing/wallets/{agent_id}/deposit Deposit #
POST /v1/billing/wallets/{agent_id}/withdraw Withdraw #
POST /v1/billing/wallets/{agent_id}/freeze Freeze Wallet #
POST /v1/billing/wallets/{agent_id}/unfreeze Unfreeze Wallet #
GET /v1/billing/wallets/{agent_id}/transactions Get Transactions #
GET /v1/billing/wallets/{agent_id}/usage Get Usage Summary #
GET /v1/billing/wallets/{agent_id}/analytics Get Service Analytics #
GET /v1/billing/wallets/{agent_id}/revenue Get Revenue Report #
GET /v1/billing/wallets/{agent_id}/timeseries Get Metrics Timeseries #
PUT /v1/billing/wallets/{agent_id}/budget Set Budget Cap #
GET /v1/billing/wallets/{agent_id}/budget Get Budget Status #
GET /v1/billing/leaderboard Get Agent Leaderboard #
GET /v1/billing/discounts Get Volume Discount #
GET /v1/billing/estimate Estimate Cost #
GET /v1/billing/exchange-rates Get Exchange Rate #
POST /v1/billing/keys Create Billing Api Key #
GET /v1/billing/keys List Billing Api Keys #
POST /v1/billing/wallets/{agent_id}/convert Convert Currency #
POST /v1/disputes Open Dispute #
GET /v1/disputes List Disputes #
GET /v1/disputes/{dispute_id} Get Dispute #
POST /v1/disputes/{dispute_id}/respond Respond To Dispute #
POST /v1/disputes/{dispute_id}/resolve Resolve Dispute #
POST /v1/payments/intents/split Create Split Intent #
POST /v1/payments/intents Create Intent #
GET /v1/payments/intents List Intents #
GET /v1/payments/intents/{intent_id} Get Intent #
POST /v1/payments/intents/{intent_id}/capture Capture Intent #
POST /v1/payments/intents/{intent_id}/partial-capture Partial Capture #
POST /v1/payments/intents/{intent_id}/refund Refund Intent #
POST /v1/payments/escrows/performance Create Performance Escrow #
POST /v1/payments/escrows Create Escrow #
GET /v1/payments/escrows List Escrows #
GET /v1/payments/escrows/{escrow_id} Get Escrow #
POST /v1/payments/escrows/{escrow_id}/release Release Escrow #
POST /v1/payments/escrows/{escrow_id}/cancel Cancel Escrow #
POST /v1/payments/escrows/{escrow_id}/check-performance Check Performance Escrow #
POST /v1/payments/settlements/{settlement_id}/refund Refund Settlement #
GET /v1/payments/history Get Payment History #
POST /v1/payments/subscriptions/process-due Process Due Subscriptions #
POST /v1/payments/subscriptions Create Subscription #
GET /v1/payments/subscriptions List Subscriptions #
GET /v1/payments/subscriptions/{subscription_id} Get Subscription #
POST /v1/payments/subscriptions/{subscription_id}/cancel Cancel Subscription #
POST /v1/payments/subscriptions/{subscription_id}/reactivate Reactivate Subscription #
POST /v1/identity/agents Register Agent #
GET /v1/identity/agents Search Agents By Metrics #
GET /v1/identity/agents/{agent_id} Get Agent Identity #
POST /v1/identity/agents/{agent_id}/verify Verify Agent #
GET /v1/identity/agents/{agent_id}/reputation Get Agent Reputation #
GET /v1/identity/agents/{agent_id}/claims Get Verified Claims #
POST /v1/identity/agents/{agent_id}/metrics Submit Metrics #
POST /v1/identity/agents/{agent_id}/claim-chains Build Claim Chain #
GET /v1/identity/agents/{agent_id}/claim-chains Get Claim Chains #
POST /v1/identity/orgs Create Org #
GET /v1/identity/orgs/{org_id} Get Org #
POST /v1/identity/orgs/{org_id}/members Add Agent To Org #
DELETE /v1/identity/orgs/{org_id}/members/{agent_id} Remove Agent From Org #
POST /v1/identity/metrics/ingest Ingest Metrics #
GET /v1/identity/metrics Query Metrics #
GET /v1/identity/metrics/deltas Get Metric Deltas #
GET /v1/identity/metrics/averages Get Metric Averages #
GET /v1/infra/keys List Api Keys #
POST /v1/infra/keys Create Api Key Deprecated #
POST /v1/infra/keys/revoke Revoke Api Key #
POST /v1/infra/keys/rotate Rotate Key #
GET /v1/infra/audit-log Get Global Audit Log #
GET /v1/infra/databases/backups List Backups #
POST /v1/infra/databases/{database}/backup Backup Database #
POST /v1/infra/databases/{database}/restore Restore Database #
GET /v1/infra/databases/{database}/integrity Check Db Integrity #
GET /v1/infra/webhooks List Webhooks #
POST /v1/infra/webhooks Register Webhook #
POST /v1/infra/webhooks/{webhook_id}/test Test Webhook #
DELETE /v1/infra/webhooks/{webhook_id} Delete Webhook #
GET /v1/infra/webhooks/{webhook_id}/deliveries Get Webhook Deliveries #
POST /v1/infra/events/schemas Register Event Schema #
POST /v1/infra/events Publish Event #
GET /v1/infra/events Get Events #
GET /v1/infra/events/schemas/{event_type} Get Event Schema #
POST /v1/marketplace/services Register Service #
GET /v1/marketplace/services Search Services #
GET /v1/marketplace/services/{service_id} Get Service #
PUT /v1/marketplace/services/{service_id} Update Service #
POST /v1/marketplace/services/{service_id}/deactivate Deactivate Service #
POST /v1/marketplace/services/{service_id}/ratings Rate Service #
GET /v1/marketplace/services/{service_id}/ratings Get Service Ratings #
GET /v1/marketplace/match Best Match #
GET /v1/marketplace/agents Search Agents #
GET /v1/marketplace/strategies List Strategies #
POST /v1/marketplace/atlas/discover Atlas Discover #
POST /v1/marketplace/atlas/preflight Atlas Preflight #
POST /v1/marketplace/atlas/broker Atlas Broker #
POST /v1/messaging/messages Send Message #
GET /v1/messaging/messages Get Messages #
POST /v1/messaging/negotiations Negotiate Price #
POST /v1/trust/servers Register Server #
GET /v1/trust/servers Search Servers #
GET /v1/trust/servers/{server_id}/score Get Trust Score #
PUT /v1/trust/servers/{server_id} Update Server #
DELETE /v1/trust/servers/{server_id} Delete Server #
GET /v1/trust/servers/{server_id}/sla Check Sla Compliance #
POST /v1/gatekeeper/jobs Submit Verification #
GET /v1/gatekeeper/jobs List Verification Jobs #
GET /v1/gatekeeper/jobs/{job_id} Get Verification Status #
POST /v1/gatekeeper/jobs/{job_id}/cancel Cancel Verification #
GET /v1/gatekeeper/proofs/{proof_id} Get Proof #
POST /v1/gatekeeper/proofs/verify Verify Proof #
GET /health Redirect Health #
GET /pricing Redirect Pricing #
GET /pricing/{tool} Redirect Pricing Tool #
POST /execute Redirect Execute #
GET /v1/signing-key Signing Key #

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/a2a-commerce-gateway-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

greenhelix-net-a2a-commerce-gateway-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: A2A Commerce Gateway
  version: 1.4.10
  description: 'A2A Commerce Gateway — agent-to-agent commerce infrastructure operated by Green Helix Consulting, LLC: billing
    and wallets, payment intents and escrow, subscriptions, Ed25519 agent identity and reputation, service marketplace, trust
    scoring, encrypted messaging and price negotiation, disputes, webhooks and an event bus. 114 paths / 132 operations under
    /v1. Description, servers[] and contact were added by API Evangelist from the provider''s own homepage, agent card and
    ai-plugin.json; the verbatim contract as served is in openapi/_original/greenhelix-net-openapi.json.'
  contact:
    name: Green Helix
    url: https://greenhelix.net
    email: support@greenhelix.net
paths:
  /livez:
    get:
      summary: Livez
      description: Kubernetes liveness probe — no auth, no DB.
      operationId: livez_livez_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /readyz:
    get:
      summary: Readyz
      description: Kubernetes readiness probe — checks billing DB.
      operationId: readyz_readyz_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/health:
    get:
      summary: Health
      operationId: health_v1_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/pricing:
    get:
      summary: Pricing List
      description: "Return the tool catalog with optional pagination.\n\nQuery params:\n    limit (int, optional): Max number\
        \ of tools to return. Negative values ignored.\n    offset (int, optional): Number of tools to skip. Default 0.\n\
        \    cursor (str, optional): Opaque cursor from previous page's next_cursor."
      operationId: pricing_list_v1_pricing_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/pricing/summary:
    get:
      summary: Pricing Summary
      description: Return pricing grouped by service for a quick overview.
      operationId: pricing_summary_v1_pricing_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/pricing/tiers:
    get:
      summary: Pricing Tiers
      description: Return a human-readable comparison of all API tiers.
      operationId: pricing_tiers_v1_pricing_tiers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/pricing/{tool}:
    get:
      summary: Pricing Detail
      description: Return pricing info for a single tool.
      operationId: pricing_detail_v1_pricing__tool__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/execute:
    post:
      summary: Execute
      description: 'Execute a tool. Wraps the real implementation so EVERY response

        — success, 410 moved, 4xx, 5xx — carries RFC 8594 deprecation

        headers (Deprecation + Sunset + Link rel=sunset).'
      operationId: execute_v1_execute_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      requestBody:
        content:
          application/json:
            examples:
              get_balance:
                summary: Get the current wallet balance for an agent in a specific currency.
                value:
                  tool: get_balance
                  params:
                    agent_id: example-agent_id
              get_usage_summary:
                summary: Get usage summary (total cost, calls, tokens) for an agent.
                value:
                  tool: get_usage_summary
                  params:
                    agent_id: example-agent_id
              deposit:
                summary: Deposit funds into an agent's wallet in a specific currency.
                value:
                  tool: deposit
                  params:
                    agent_id: example-agent_id
                    amount: 1.0
              get_transactions:
                summary: Get the transaction ledger for an agent (deposits, withdrawals, charges).
                value:
                  tool: get_transactions
                  params:
                    agent_id: example-agent_id
              create_intent:
                summary: Create a payment intent between two agents.
                value:
                  tool: create_intent
                  params:
                    payer: example-payer
                    payee: example-payee
                    amount: 1.0
              get_intent:
                summary: Get details of a payment intent by its ID.
                value:
                  tool: get_intent
                  params:
                    intent_id: example-intent_id
              get_escrow:
                summary: Get details of an escrow by its ID.
                value:
                  tool: get_escrow
                  params:
                    escrow_id: example-escrow_id
              capture_intent:
                summary: Capture (settle) a pending payment intent.
                value:
                  tool: capture_intent
                  params:
                    intent_id: example-intent_id
              partial_capture:
                summary: Partially capture a pending payment intent for a specified amount.
                value:
                  tool: partial_capture
                  params:
                    intent_id: example-intent_id
                    amount: 1.0
              create_escrow:
                summary: Create an escrow between two agents. Funds are held from payer immediately.
                value:
                  tool: create_escrow
                  params:
                    payer: example-payer
                    payee: example-payee
                    amount: 1.0
              release_escrow:
                summary: Release escrowed funds to the payee.
                value:
                  tool: release_escrow
                  params:
                    escrow_id: example-escrow_id
              cancel_escrow:
                summary: Cancel a held escrow and refund the payer.
                value:
                  tool: cancel_escrow
                  params:
                    escrow_id: example-escrow_id
              list_intents:
                summary: List payment intents for an agent, optionally filtered by status.
                value:
                  tool: list_intents
                  params:
                    agent_id: example-agent_id
              list_escrows:
                summary: List escrows for an agent, optionally filtered by status.
                value:
                  tool: list_escrows
                  params:
                    agent_id: example-agent_id
              refund_intent:
                summary: 'Refund a payment intent: voids if pending, reverse-transfers if settled.'
                value:
                  tool: refund_intent
                  params:
                    intent_id: example-intent_id
              refund_settlement:
                summary: Refund a settled payment (full or partial). If amount is omitted, refunds the full remaining balance.
                value:
                  tool: refund_settlement
                  params:
                    settlement_id: example-settlement_id
              search_services:
                summary: Search the marketplace for available services. Supports pagination via paginate=true.
                value:
                  tool: search_services
                  params: {}
              search_agents:
                summary: Search for agents by capability keywords. Searches service names, descriptions, tools, tags, and
                  categories. Supports pagination via paginate=true.
                value:
                  tool: search_agents
                  params:
                    query: example-query
              best_match:
                summary: Find the best matching services for a query with ranking.
                value:
                  tool: best_match
                  params:
                    query: example-query
              register_service:
                summary: Register a new service in the marketplace.
                value:
                  tool: register_service
                  params:
                    provider_id: example-provider_id
                    name: example-name
                    description: example-description
                    category: example-category
              get_service:
                summary: Get a marketplace service by its ID.
                value:
                  tool: get_service
                  params:
                    service_id: example-service_id
              update_service:
                summary: Update fields on an existing marketplace service.
                value:
                  tool: update_service
                  params:
                    service_id: example-service_id
              deactivate_service:
                summary: Deactivate a marketplace service listing.
                value:
                  tool: deactivate_service
                  params:
                    service_id: example-service_id
              get_trust_score:
                summary: Get the trust score for a server.
                value:
                  tool: get_trust_score
                  params: {}
              search_servers:
                summary: Search for servers by name or minimum trust score.
                value:
                  tool: search_servers
                  params: {}
              get_payment_history:
                summary: Get payment history for an agent.
                value:
                  tool: get_payment_history
                  params:
                    agent_id: example-agent_id
              register_server:
                summary: Register a new server for trust tracking.
                value:
                  tool: register_server
                  params:
                    name: example-name
                    url: example-url
              delete_server:
                summary: Delete a server and all its associated trust data (probes, scans, scores).
                value:
                  tool: delete_server
                  params: {}
              update_server:
                summary: Update a server's name and/or URL.
                value:
                  tool: update_server
                  params: {}
              get_global_audit_log:
                summary: Get the global audit log across all agents (admin operation).
                value:
                  tool: get_global_audit_log
                  params: {}
              publish_event:
                summary: Publish an event to the cross-product event bus.
                value:
                  tool: publish_event
                  params:
                    event_type: example-event_type
                    source: example-source
              get_events:
                summary: Query events from the event bus with optional type filter and offset.
                value:
                  tool: get_events
                  params: {}
              register_webhook:
                summary: Register a webhook endpoint to receive event notifications.
                value:
                  tool: register_webhook
                  params:
                    agent_id: example-agent_id
                    url: example-url
                    event_types: []
              list_webhooks:
                summary: List all registered webhooks for an agent. Supports pagination via paginate=true.
                value:
                  tool: list_webhooks
                  params:
                    agent_id: example-agent_id
              delete_webhook:
                summary: Delete (deactivate) a webhook by its ID.
                value:
                  tool: delete_webhook
                  params:
                    webhook_id: example-webhook_id
              get_webhook_deliveries:
                summary: Get delivery history for a webhook endpoint.
                value:
                  tool: get_webhook_deliveries
                  params:
                    webhook_id: example-webhook_id
              process_due_subscriptions:
                summary: Trigger processing of all due subscriptions and expired escrows.
                value:
                  tool: process_due_subscriptions
                  params: {}
              register_agent:
                summary: Register a cryptographic identity for an agent. Generates Ed25519 keypair.
                value:
                  tool: register_agent
                  params:
                    agent_id: example-agent_id
              verify_agent:
                summary: Verify that a message was signed by the claimed agent.
                value:
                  tool: verify_agent
                  params:
                    agent_id: example-agent_id
                    message: example-message
                    signature: example-signature
              submit_metrics:
                summary: Submit trading bot metrics (Sharpe, drawdown, latency, etc.) for platform attestation.
                value:
                  tool: submit_metrics
                  params:
                    agent_id: example-agent_id
                    metrics: {}
              get_agent_identity:
                summary: Get the cryptographic identity and public key for an agent.
                value:
                  tool: get_agent_identity
                  params:
                    agent_id: example-agent_id
              get_verified_claims:
                summary: Get all verified metric claims for an agent (e.g., Sharpe >= 2.0).
                value:
                  tool: get_verified_claims
                  params:
                    agent_id: example-agent_id
              get_agent_reputation:
                summary: Get the consumer-side reputation score for an agent.
                value:
                  tool: get_agent_reputation
                  params:
                    agent_id: example-agent_id
              create_subscription:
                summary: Create a recurring payment subscription between two agents.
                value:
                  tool: create_subscription
                  params:
                    payer: example-payer
                    payee: example-payee
                    amount: 1.0
                    interval: example-interval
              cancel_subscription:
                summary: Cancel an active or suspended subscription.
                value:
                  tool: cancel_subscription
                  params:
                    subscription_id: example-subscription_id
              get_subscription:
                summary: Get details of a subscription by ID.
                value:
                  tool: get_subscription
                  params:
                    subscription_id: example-subscription_id
              list_subscriptions:
                summary: List subscriptions for an agent (as payer or payee).
                value:
                  tool: list_subscriptions
                  params: {}
              reactivate_subscription:
                summary: Reactivate a suspended subscription.
                value:
                  tool: reactivate_subscription
                  params:
                    subscription_id: example-subscription_id
              create_wallet:
                summary: Create a new wallet for an agent (self-service onboarding).
                value:
                  tool: create_wallet
                  params:
                    agent_id: example-agent_id
              withdraw:
                summary: Withdraw funds from an agent's wallet in a specific currency.
                value:
                  tool: withdraw
                  params:
                    agent_id: example-agent_id
                    amount: 1.0
              search_agents_by_metrics:
                summary: Search for agents with verified metric claims (e.g., find bots with Sharpe >= 2.0).
                value:
                  tool: search_agents_by_metrics
                  params:
                    metric_name: example-metric_name
              create_performance_escrow:
                summary: Create an escrow that auto-releases when payee's verified metrics meet a threshold.
                value:
                  tool: create_performance_escrow
                  params:
                    payer: example-payer
                    payee: example-payee
                    amount: 1.0
                    metric_name: example-metric_name
                    threshold: 1.0
              check_performance_escrow:
                summary: Check if a performance-gated escrow's metric threshold is met and auto-release if so.
                value:
                  tool: check_performance_escrow
                  params:
                    escrow_id: example-escrow_id
              open_dispute:
                summary: Open a dispute against an escrow.
                value:
                  tool: open_dispute
                  params:
                    escrow_id: example-escrow_id
                    opener: example-opener
              respond_to_dispute:
                summary: Respond to an open dispute.
                value:
                  tool: respond_to_dispute
                  params:
                    dispute_id: example-dispute_id
                    respondent: example-respondent
                    response: example-response
              resolve_dispute:
                summary: Resolve a dispute by refunding payer or releasing funds to payee.
                value:
                  tool: resolve_dispute
                  params:
                    dispute_id: example-dispute_id
                    resolution: example-resolution
                    resolved_by: example-resolved_by
              get_dispute:
                summary: Get details of a dispute by its ID.
                value:
                  tool: get_dispute
                  params:
                    dispute_id: example-dispute_id
              list_disputes:
                summary: List disputes where the agent is opener or respondent.
                value:
                  tool: list_disputes
                  params:
                    agent_id: example-agent_id
              rotate_key:
                summary: 'Rotate an API key: revoke the current key and create a new one with the same tier.'
                value:
                  tool: rotate_key
                  params:
                    current_key: example-current_key
              build_claim_chain:
                summary: Build a Merkle tree from an agent's attestation history for verifiable claim chains.
                value:
                  tool: build_claim_chain
                  params:
                    agent_id: example-agent_id
              get_claim_chains:
                summary: Get stored Merkle claim chains for an agent.
                value:
                  tool: get_claim_chains
                  params:
                    agent_id: example-agent_id
              send_message:
                summary: Send a typed message to another agent.
                value:
                  tool: send_message
                  params:
                    sender: example-sender
                    recipient: example-recipient
                    message_type: example-message_type
              get_messages:
                summary: Get messages for an agent (sent and received).
                value:
                  tool: get_messages
                  params:
                    agent_id: example-agent_id
              negotiate_price:
                summary: Start a price negotiation with another agent.
                value:
                  tool: negotiate_price
                  params:
                    initiator: example-initiator
                    responder: example-responder
                    amount: 1.0
              check_sla_compliance:
                summary: Check if a server meets its claimed SLA using trust probe data.
                value:
                  tool: check_sla_compliance
                  params: {}
              list_strategies:
                summary: List signal provider strategies in the marketplace.
                value:
                  tool: list_strategies
                  params: {}
              get_service_analytics:
                summary: Get usage analytics for an agent (total calls, cost, tokens).
                value:
                  tool: get_service_analytics
                  params:
                    agent_id: example-agent_id
              get_revenue_report:
                summary: Get revenue report for a provider agent (incoming payments).
                value:
                  tool: get_revenue_report
                  params:
                    agent_id: example-agent_id
              create_split_intent:
                summary: Create a split payment across multiple payees with percentage-based distribution.
                value:
                  tool: create_split_intent
                  params:
                    payer: example-payer
                    amount: 1.0
                    splits: []
              backup_database:
                summary: Create a hot backup of a SQLite database, optionally encrypted with Fernet.
                value:
                  tool: backup_database
                  params:
                    database: example-database
              restore_database:
                summary: Restore a SQLite database from a backup file, with optional decryption.
                value:
                  tool: restore_database
                  params:
                    database: example-database
              check_db_integrity:
                summary: Run SQLite integrity check and return page diagnostics for a database.
                value:
                  tool: check_db_integrity
                  params:
                    database: example-database
              list_backups:
                summary: List all available database backup files.
                value:
                  tool: list_backups
                  params: {}
              stripe_list_customers:
                summary: List Stripe customers.
                value:
                  tool: stripe_list_customers
                  params: {}
              stripe_create_customer:
                summary: Create a Stripe customer.
                value:
                  tool: stripe_create_customer
                  params:
                    email: example-email
              stripe_list_products:
                summary: List Stripe products.
                value:
                  tool: stripe_list_products
                  params: {}
              stripe_create_product:
                summary: Create a Stripe product.
                value:
                  tool: stripe_create_product
                  params:
                    name: example-name
              stripe_list_prices:
                summary: List Stripe prices.
                value:
                  tool: stripe_list_prices
                  params: {}
              stripe_create_price:
                summary: Create a Stripe price.
                value:
                  tool: stripe_create_price
                  params:
                    product: example-product
                    unit_amount: 1
              stripe_create_payment_link:
                summary: Create a Stripe payment link.
                value:
                  tool: stripe_create_payment_link
                  params:
                    price: example-price
              stripe_list_invoices:
                summary: List Stripe invoices.
                value:
                  tool: stripe_list_invoices
                  params: {}
              stripe_create_invoice:
                summary: Create a Stripe invoice.
                value:
                  tool: stripe_create_invoice
                  params:
                    customer: example-customer
              stripe_list_subscriptions:
                summary: List Stripe subscriptions.
                value:
                  tool: stripe_list_subscriptions
                  params: {}
              stripe_cancel_subscription:
                summary: Cancel a Stripe subscription.
                value:
                  tool: stripe_cancel_subscription
                  params:
                    subscription_id: example-subscription_id
              stripe_create_refund:
                summary: Create a Stripe refund.
                value:
                  tool: stripe_create_refund
                  params:
                    payment_intent: example-payment_intent
              stripe_retrieve_balance:
                summary: Retrieve Stripe account balance.
                value:
                  tool: stripe_retrieve_balance
                  params: {}
              github_list_repos:
                summary: List GitHub repositories.
                value:
                  tool: github_list_repos
                  params: {}
              github_get_repo:
                summary: Get GitHub repository metadata.
                value:
                  tool: github_get_repo
                  params:
                    owner: example-owner
                    repo: example-repo
              github_list_issues:
                summary: List issues in a repository.
                value:
                  tool: github_list_issues
                  params:
                    owner: example-owner
                    repo: example-repo
              github_create_issue:
                summary: Create an issue in a repository.
                value:
                  tool: github_create_issue
                  params:
                    owner: example-owner
                    repo: example-repo
                    title: example-title
              github_list_pull_requests:
                summary: List pull requests.
                value:
                  tool: github_list_pull_requests
                  params:
                    owner: example-owner
                    repo: example-repo
              github_get_pull_request:
                summary: Get pull request details.
                value:
                  tool: github_get_pull_request
                  params:
                    owner: example-owner
                    repo: example-repo
                    pull_number: 1
              github_create_pull_request:
                summary: Create a pull request.
                value:
                  tool: github_create_pull_request
                  params:
                    owner: example-owner
                    repo: example-repo
                    title: example-title
                    head: example-head
                    base: example-base
              github_list_commits:
                summary: List commits in a repository.
                value:
                  tool: github_list_commits
                  params:
                    owner: example-owner
                    repo: example-repo
              github_get_file_contents:
                summary: Get file contents from a repository.
                value:
                  tool: github_get_file_contents
                  params:
                    owner: example-owner
                    repo: example-repo
                    path: example-path
              github_search_code:
                summary: Search code across repositories.
                value:
                  tool: github_search_code
                  params:
                    query: example-query
              pg_query:
                summary: Execute a read-only SQL query.
                value:
                  tool: pg_query
                  params:
                    sql: example-sql
              pg_execute:
                summary: Execute a SQL statement (if write-enabled).
                value:
                  tool: pg_execute
                  params:
                    sql: example-sql
              pg_list_tables:
                summary: List tables in the database.
                value:
                  tool: pg_list_tables
                  params: {}
              pg_describe_table:
                summary: Describe a table's columns and types.
                value:
                  tool: pg_describe_table
                  params:
                    table: example-table
              pg_explain_query:
                summary: EXPLAIN a SQL query plan.
                value:
                  tool: pg_explain_query
                  params:
                    sql: example-sql
              pg_list_schemas:
                summary: List schemas in the database.
                value:
                  tool: pg_list_schemas
                  params: {}
              get_metrics_timeseries:
                summary: Get per-agent usage metrics bucketed by hour or day.
                value:
                  tool: get_metrics_timeseries
                  params:
                    agent_id: example-agent_id
                    interval: example-interval
              get_agent_leaderboard:
                summary: Rank agents by total spend, calls, trust score, revenue, or rating.
                value:
                  tool: get_agent_leaderboard
                  params:
                    metric: example-metric
              register_event_schema:
                summary: Register a JSON schema for an event type in the event bus.
                value:
                  tool: register_event_schema
                  params:
                    event_type: example-event_type
                    schema: {}
              get_event_schema:
                summary: Retrieve the registered JSON schema for an event type.
                value:
                  tool: get_event_schema
                  params:
                    event_type: example-event_type
              test_webhook:
                summary: Send a test ping event to a registered webhook and return the delivery result.
                value:
                  tool: test_webhook
                  params:
                    webhook_id: example-webhook_id
              create_api_key:
                summary: Create a new API key for yourself (self-service). Only same-agent or admin can create.
                value:
                  tool: create_api_key
                  params:
                    agent_id: example-agent_id
              get_volume_discount:
                summary: Calculate discounted price based on historical usage volume.
                value:
                  tool: get_volume_discount
                  params:
                    agent_id: example-agent_id
                    tool_name: example-tool_name
                    quantity: 1
              estimate_cost:
                summary: Calculate projected cost of N calls to a specific tool without executing them.
                value:
                  tool: estimate_cost
                  params:
                    tool_name: example-tool_name
                    quantity: 1
              rate_service:
                summary: Rate a marketplace service (1-5). One rating per agent per service (upsert).
                value:
                  tool: rate_service
                  params:
                    service_id: example-service_id
                    agent_id: example-agent_id
                    rating: 1
              get_service_ratings:
                summary: Get ratings and reviews for a marketplace service.
                value:
                  tool: get_service_ratings
                  params:
                    service_id: example-service_id
  

# --- truncated at 32 KB (164 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/greenhelix-net/refs/heads/main/openapi/greenhelix-net-a2a-commerce-gateway-openapi.yml