agentry-com Wallets API

The wallets API from agentry-com — 11 operation(s) for wallets.

Operations 11

POST /api/wallets/create Create Wallet #
GET /api/wallets/stats Wallet Stats #
GET /api/wallets/{agent_id} Get Wallet #
POST /api/wallets/{agent_id}/fund/lightning Fund Lightning #
POST /api/wallets/{agent_id}/fund/confirm/{operation_id} Confirm Lightning Funding #
POST /api/wallets/{agent_id}/fund/stripe Fund Stripe #
POST /api/wallets/stripe-webhook Stripe Wallet Webhook #
GET /api/wallets/{agent_id}/transactions List Transactions #
POST /api/wallets/{agent_id}/debit Debit Wallet #
POST /api/wallets/{agent_id}/credit Credit Wallet Endpoint #
POST /api/wallets/{agent_id}/admin-credit Admin Credit #

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/agentry-com:agentry-com-wallets-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

agentry-com-wallets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentry Wallets API
  description: AI Agent Registry and Discovery service — browse, search, and register AI agents. Machine-readable via /llms.txt, /.well-known/agents.json, and /api/agents/public (A2A).
  version: 0.4.0
tags:
- name: Wallets
paths:
  /api/wallets/create:
    post:
      tags:
      - Wallets
      summary: Create Wallet
      description: Create a wallet for an agent. Returns existing wallet if one exists.
      operationId: create_wallet_api_wallets_create_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWalletRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Create Wallet Api Wallets Create Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/stats:
    get:
      tags:
      - Wallets
      summary: Wallet Stats
      description: Platform-wide wallet statistics.
      operationId: wallet_stats_api_wallets_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Wallet Stats Api Wallets Stats Get
  /api/wallets/{agent_id}:
    get:
      tags:
      - Wallets
      summary: Get Wallet
      description: Get wallet balance and summary for an agent.
      operationId: get_wallet_api_wallets__agent_id__get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Wallet Api Wallets  Agent Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/{agent_id}/fund/lightning:
    post:
      tags:
      - Wallets
      summary: Fund Lightning
      description: 'Generate a Lightning invoice to fund an agent wallet.


        Creates a real Lightning invoice via Fedimint. After payment,

        confirm with POST /api/wallets/{agent_id}/fund/confirm/{operation_id}.'
      operationId: fund_lightning_api_wallets__agent_id__fund_lightning_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FundLightningRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Fund Lightning Api Wallets  Agent Id  Fund Lightning Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/{agent_id}/fund/confirm/{operation_id}:
    post:
      tags:
      - Wallets
      summary: Confirm Lightning Funding
      description: 'Confirm a Lightning payment and credit the wallet.


        Checks if the invoice was paid via fedimint-cli await-invoice.

        If paid, credits the wallet balance.'
      operationId: confirm_lightning_funding_api_wallets__agent_id__fund_confirm__operation_id__post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      - name: operation_id
        in: path
        required: true
        schema:
          type: string
          title: Operation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Confirm Lightning Funding Api Wallets  Agent Id  Fund Confirm  Operation Id  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/{agent_id}/fund/stripe:
    post:
      tags:
      - Wallets
      summary: Fund Stripe
      description: 'Create a Stripe Checkout session to fund an agent wallet.


        Converts USD to approximate sats and creates a Stripe session.

        On successful payment, the wallet is credited via webhook.'
      operationId: fund_stripe_api_wallets__agent_id__fund_stripe_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FundStripeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Fund Stripe Api Wallets  Agent Id  Fund Stripe Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/stripe-webhook:
    post:
      tags:
      - Wallets
      summary: Stripe Wallet Webhook
      description: Handle Stripe webhook for wallet funding completions.
      operationId: stripe_wallet_webhook_api_wallets_stripe_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Stripe Wallet Webhook Api Wallets Stripe Webhook Post
  /api/wallets/{agent_id}/transactions:
    get:
      tags:
      - Wallets
      summary: List Transactions
      description: Transaction history for an agent wallet.
      operationId: list_transactions_api_wallets__agent_id__transactions_get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Transactions Api Wallets  Agent Id  Transactions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/{agent_id}/debit:
    post:
      tags:
      - Wallets
      summary: Debit Wallet
      description: Debit an agent wallet. Internal endpoint — requires admin key.
      operationId: debit_wallet_api_wallets__agent_id__debit_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      - name: X-Admin-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Admin-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DebitRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Debit Wallet Api Wallets  Agent Id  Debit Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/{agent_id}/credit:
    post:
      tags:
      - Wallets
      summary: Credit Wallet Endpoint
      description: Credit an agent wallet. Internal endpoint — requires admin key.
      operationId: credit_wallet_endpoint_api_wallets__agent_id__credit_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      - name: X-Admin-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Admin-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreditRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Credit Wallet Endpoint Api Wallets  Agent Id  Credit Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/wallets/{agent_id}/admin-credit:
    post:
      tags:
      - Wallets
      summary: Admin Credit
      description: 'Admin-only: credit an agent wallet for testing or manual adjustments.'
      operationId: admin_credit_api_wallets__agent_id__admin_credit_post
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      - name: X-Admin-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Admin-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminCreditRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Admin Credit Api Wallets  Agent Id  Admin Credit Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DebitRequest:
      properties:
        amount_sats:
          type: integer
          minimum: 1.0
          title: Amount Sats
        reason:
          type: string
          title: Reason
          default: invocation
        invocation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Invocation Id
        counterparty_agent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Counterparty Agent Id
      type: object
      required:
      - amount_sats
      title: DebitRequest
    CreditRequest:
      properties:
        amount_sats:
          type: integer
          minimum: 1.0
          title: Amount Sats
        reason:
          type: string
          title: Reason
          default: invocation_revenue
        invocation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Invocation Id
        counterparty_agent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Counterparty Agent Id
        gross_sats:
          anyOf:
          - type: integer
          - type: 'null'
          title: Gross Sats
        platform_fee_sats:
          anyOf:
          - type: integer
          - type: 'null'
          title: Platform Fee Sats
      type: object
      required:
      - amount_sats
      title: CreditRequest
    AdminCreditRequest:
      properties:
        amount_sats:
          type: integer
          maximum: 100000000.0
          minimum: 1.0
          title: Amount Sats
          description: Amount to credit
        reason:
          type: string
          title: Reason
          description: Reason for credit
          default: admin_credit
      type: object
      required:
      - amount_sats
      title: AdminCreditRequest
    FundLightningRequest:
      properties:
        amount_sats:
          type: integer
          maximum: 10000000.0
          minimum: 1.0
          title: Amount Sats
          description: Amount in satoshis
      type: object
      required:
      - amount_sats
      title: FundLightningRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CreateWalletRequest:
      properties:
        agent_id:
          type: string
          title: Agent Id
          description: Agent ID to create wallet for
      type: object
      required:
      - agent_id
      title: CreateWalletRequest
    FundStripeRequest:
      properties:
        amount_usd:
          type: number
          maximum: 10000.0
          minimum: 0.5
          title: Amount Usd
          description: Amount in USD
        success_url:
          type: string
          title: Success Url
          default: https://agentry.com/wallet/success
        cancel_url:
          type: string
          title: Cancel Url
          default: https://agentry.com/wallet/cancel
      type: object
      required:
      - amount_usd
      title: FundStripeRequest