# Agent Paywire Credits Purchase

> Agent Paywire Credits Purchase is a paid API for AI agents from api.agentpaywire.com, paid per call via x402, $0.8/call, status unknown (last checked 2026-10-29).

Purchases a prepaid credit bundle (100 or 1000 API calls) for the Agent Paywire service, returning an expiring credit balance valid for 90 days.

## Facts

- Endpoint: POST https://api.agentpaywire.com/v1/credits?utm_source=zero.xyz
- Price: $0.8/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-paywire-credits-purchase-1d5213c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Py5TfzPWzVq1FHfzQZGJd

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 agent-paywire-credits-purchase-1d5213c8 -d '<json body>'
```

Example prompt: Buy me 100 calls on Agent Paywire so I can start researching stablecoin and machine-to-machine payment protocols for AI agents.

## When to prefer this

Use this endpoint when you need prepaid access to Agent Paywire's AI payment intelligence content and want to pay once via USDC stablecoin rather than per-call. Prefer the 1000-call bundle for production or high-frequency agent workloads (better unit economics at 0.007 USDC/call vs 0.008 USDC/call). Choose the 100-call bundle for evaluation or low-volume use. This is the correct endpoint when you need to establish or replenish a credit balance before making content queries on the platform.

## Known failure modes

- Insufficient USDC balance — payment rejected, no credits issued
- Invalid 'calls' value not in enum [100, 1000] — returns 400 validation error
- Payment protocol (x402) handshake failure — transaction not completed
- Expired or invalid payment authorization — credits not granted
- Service unavailable — 5xx error with no credit bundle created

## How this service works

Buy prepaid calls for any paid Agent Paywire route. POST JSON with calls set to 100 (0.80 USDC) or 1000 (7.00 USDC). Packs last 90 days. This request is 0.80 USDC. The bearer token is returned once.

## Output

A JSON object confirming the purchased credit bundle, including the total number of calls allocated (calls_total), calls remaining (calls_remaining), and an ISO 8601 expiration timestamp (expires_at) indicating when the credits expire (90 days from purchase).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "calls": {
   "enum": [
    100,
    1000
   ],
   "type": "integer",
   "description": "100 calls for 0.80 USDC, or 1000 calls for 7.00 USDC. Required. Valid 90 days."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "expires_at": "2027-01-18T00:00:00.000Z",
  "calls_total": 100,
  "calls_remaining": 100
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-paywire-credits-purchase-1d5213c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentpaywire.com](https://www.zero.xyz/host/api.agentpaywire.com/llms.txt)
