AgentLine Agent Recharge API

The Agent Recharge API from AgentLine — 1 operation(s) for agent recharge.

Operations 1

POST /v1/billing/topup/x402/pay Recharge prepaid agent phone service #

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/agentline-cloud:agentline-cloud-agent-recharge-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

agentline-cloud-agent-recharge-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgentLine — Prepaid Phone Service for AI Agents Agent…
  description: 'AgentLine gives AI agents real US and Canada phone numbers, inbound/outbound voice calls, AI receptionists, transcripts, two-way SMS and live phone events. Use REST or MCP without signup: recharge and save agent_token. This endpoint adds prepaid credit with Base USDC x402 or Tempo MPP. $1 minimum recharge; numbers $3/30 days; connected calls $0.12/min (first-minute minimum, then per-second); SMS $0.02 sent or received. Other endpoints use prepaid balance and do not accept payments.'
  version: 0.3.0
  contact:
    name: AgentLine Support
    email: support@agentline.cloud
    url: https://agentline.cloud
  x-guidance: 'Recharge at GET or POST /v1/billing/topup/x402/pay with optional amount ($1-$1000). Retry the 402 challenge with exactly one Base x402 or Tempo MPP credential. Without signup, save the returned agent_token and use Authorization: Bearer <agent_token> for prepaid service operations and /mcp. Number leases cost $3 for 30 days; connected calls cost $0.12/min and require $0.50 available balance. No other endpoint accepts payments. Existing signup users may send their account Bearer token with recharge to credit that account. See /.well-known/agent-payments.json for configuration, numbers, calls, events and error guidance.'
servers:
- url: https://api.agentline.cloud
tags:
- name: Agent Recharge
paths:
  /v1/billing/topup/x402/pay:
    post:
      tags:
      - Agent Recharge
      summary: Recharge prepaid agent phone service
      description: Recharge $1–$1000 with Base x402 or Tempo MPP; get prepaid credit and agent access without login.
      operationId: x402_payment_discovery_post
      parameters:
      - name: amount
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/PayDiscoveryBody'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Prepaid recharge credited and agent access issued.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: settled
                  amount_usd:
                    type: number
                  new_balance:
                    type: number
                  tx_hash:
                    type: string
                  agent_token:
                    type: string
                    description: Save as Bearer access for wallet agents.
                  owner_wallet:
                    type: string
                  access_mode:
                    type: string
                    enum:
                    - wallet_agent
                    - signup_account
                  payment_protocol:
                    type: string
                    enum:
                    - x402
                    - mpp
                  network:
                    type: string
                  already_settled:
                    type: boolean
                required:
                - status
                - amount_usd
                - new_balance
                - access_mode
                - payment_protocol
                - network
        '402':
          description: Retry this URL with exactly one payment credential.
        '409':
          description: Payment outcome uncertain or in progress; retry the same credential, never pay again.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-payment-info:
        protocols:
        - x402: {}
        price:
          mode: dynamic
          currency: USD
          min: '1.00'
          max: '1000.00'
      security: []
components:
  schemas:
    PayDiscoveryBody:
      properties:
        amount:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
          description: Recharge USD amount, $1–$1000; defaults to $1.
      type: object
      title: PayDiscoveryBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    API_Key_or_OAuth:
      type: http
      description: 'Pass an API key (`Authorization: Bearer al_live_xxx`) or an OAuth access token issued via the Claude.ai / MCP connect flow. Wallet agents use the payment-issued `agent_token` with the same Bearer header, without signup.'
      scheme: bearer
x-service-info:
  name: AgentLine - AI Phone Service
  description: 'AgentLine gives AI agents real US and Canada phone numbers, inbound/outbound voice calls, AI receptionists, transcripts, two-way SMS and live phone events. Use REST or MCP without signup: recharge and save agent_token. This endpoint adds prepaid credit with Base USDC x402 or Tempo MPP. $1 minimum recharge; numbers $3/30 days; connected calls $0.12/min (first-minute minimum, then per-second); SMS $0.02 sent or received. Other endpoints use prepaid balance and do not accept payments.'
  url: https://agentline.cloud
  iconUrl: https://api.agentline.cloud/favicon.png