# AgentLine Credit Purchase (USDC)

> AgentLine Credit Purchase (USDC) is a paid API for AI agents from api.agentline.cloud, paid per call via x402, $1/call, status unknown (last checked 2026-09-14).

Purchase USDC-denominated API credit for the AgentLine voice/SMS platform, enabling AI agents to make outbound calls, send SMS, and receive inbound voice calls.

## Facts

- Endpoint: POST https://api.agentline.cloud/v1/x402/credit/buy
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentline-credit-purchase-usdc-f77c8760
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e37X-2Y3xgewpHMpwhQ5y

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentline-credit-purchase-usdc-f77c8760 -d '<json body>'
```

Example prompt: Add $25 of USDC credit to my AgentLine account so my voice agent can make outbound calls and send SMS.

## When to prefer this

Use this endpoint when an AI agent needs to autonomously fund or replenish its AgentLine telephony credit balance using USDC via the x402 payment protocol, particularly when operating as part of a self-sustaining agent workflow that manages its own operational costs for voice and SMS capabilities.

## Known failure modes

- Insufficient USDC in wallet — payment rejected with 402 status
- Amount outside allowed range (below $1 or above $1000) — validation error
- Invalid or missing wallet authorization — 401/403 error
- Network or blockchain transaction failure — tx_hash not returned
- x402 facilitator timeout — no confirmation received

## How this service works

Get a real phone number for your AI agent in under 10 minutes. Works with OpenClaw, Hermes Agent, and any LLM. Outbound calls, SMS, and inbound voice — one API. No telecom experience needed.

## Output

Returns a transaction hash confirming the USDC payment, the USD amount purchased, the new running credit balance on the account, and the owner wallet address associated with the purchase.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amount"
 ],
 "properties": {
  "amount": {
   "type": "number",
   "description": "USD credit to buy (1.00–1000.00). 1 USDC ≈ $1.00."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tx_hash": {
   "type": "string"
  },
  "amount_usd": {
   "type": "number"
  },
  "new_balance": {
   "type": "number"
  },
  "owner_wallet": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentline-credit-purchase-usdc-f77c8760/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentline.cloud](https://www.zero.xyz/host/api.agentline.cloud/llms.txt)
