AgenticTrade Billing API

The billing API from AgenticTrade — 4 operation(s) for billing.

Operations 4

GET /api/v1/balance/{buyer_id} Get Balance #
POST /api/v1/deposits Create Deposit #
POST /api/v1/admin/credit Admin Credit Balance #
POST /api/v1/ipn/nowpayments Nowpayments Ipn #

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/agentictrade-io:agentictrade-io-billing-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

agentictrade-io-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentictrade Io Billing API
  version: 0.7.1
  description: 'Operations tagged billing across 2 of this provider''s published API definitions: agentictrade-io-openapi.json, agentictrade-io.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Billing
paths:
  /api/v1/balance/{buyer_id}:
    get:
      tags:
      - Billing
      summary: Get Balance
      description: Get buyer's current balance. Requires authentication.
      operationId: get_balance_api_v1_balance__buyer_id__get
      parameters:
      - name: buyer_id
        in: path
        required: true
        schema:
          type: string
          title: Buyer Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/deposits:
    post:
      tags:
      - Billing
      summary: Create Deposit
      description: 'Create a deposit to add funds to buyer balance.

        Returns a NOWPayments checkout URL for payment.

        Requires authentication — buyer can only deposit to own account.'
      operationId: create_deposit_api_v1_deposits_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DepositRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepositResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/credit:
    post:
      tags:
      - Billing
      summary: Admin Credit Balance
      description: Admin endpoint to manually credit a buyer's balance (for testing).
      operationId: admin_credit_balance_api_v1_admin_credit_post
      parameters:
      - name: buyer_id
        in: query
        required: true
        schema:
          type: string
          title: Buyer Id
      - name: amount
        in: query
        required: true
        schema:
          type: number
          title: Amount
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/ipn/nowpayments:
    post:
      tags:
      - Billing
      summary: Nowpayments Ipn
      description: 'Receive IPN (Instant Payment Notification) from NOWPayments.

        Verifies HMAC signature, then credits buyer balance.'
      operationId: nowpayments_ipn_api_v1_ipn_nowpayments_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    BalanceResponse:
      properties:
        buyer_id:
          type: string
          title: Buyer Id
        balance:
          type: number
          title: Balance
        total_deposited:
          type: number
          title: Total Deposited
        total_spent:
          type: number
          title: Total Spent
      type: object
      required:
      - buyer_id
      - balance
      - total_deposited
      - total_spent
      title: BalanceResponse
    DepositRequest:
      properties:
        amount:
          type: number
          maximum: 10000.0
          exclusiveMinimum: 0.0
          title: Amount
          description: Amount in USDC (min $20 for crypto)
        buyer_id:
          type: string
          minLength: 1
          title: Buyer Id
          description: Buyer ID
      type: object
      required:
      - amount
      - buyer_id
      title: DepositRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DepositResponse:
      properties:
        deposit_id:
          type: string
          title: Deposit Id
        amount:
          type: number
          title: Amount
        status:
          type: string
          title: Status
        checkout_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Checkout Url
        message:
          type: string
          title: Message
      type: object
      required:
      - deposit_id
      - amount
      - status
      - message
      title: DepositResponse
x-refined-from:
- agentictrade-io-openapi.json
- agentictrade-io.json