# EarnClaw Credit Pack Purchase — 50 Credits

> EarnClaw Credit Pack Purchase — 50 Credits is a paid API for AI agents from api.earnclaw.com, paid per call via x402, $50/call, status unknown (last checked 2026-10-11).

Purchase a 50-credit pack for the EarnClaw autonomous finance agent workspace via x402 micropayment

## Facts

- Endpoint: POST https://api.earnclaw.com/v1/x402/credits/packs/50?utm_source=zero.xyz
- Price: $50/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/earnclaw-credit-pack-purchase-50-credits-f3ff4569
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NNhrwaZYAIPvhGbOVG5ux

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 earnclaw-credit-pack-purchase-50-credits-f3ff4569 -d '<json body>'
```

Example prompt: I want to top up my EarnClaw workspace with a 50-credit pack so my autonomous trading and yield agents can keep running — go ahead and purchase it now using USDC.

## When to prefer this

Choose this endpoint when you need to provision exactly 50 credits for an EarnClaw autonomous finance agent workspace via a single x402 USDC micropayment. Prefer this over other credit pack sizes when moderate credit top-up is sufficient and cost efficiency at the $50 tier is acceptable. This is the right call when an agent fleet is running low and needs rapid, programmatic refill without navigating a web UI.

## Known failure modes

- Insufficient USDC balance — payment authorization rejected by x402 facilitator
- Invalid or missing x402 payment header — returns 402 Payment Required
- Already-used payment nonce — idempotency violation, duplicate transaction rejected
- Network timeout during payment settlement — credits not provisioned
- Account not found or unauthorized — 401/403 error from workspace lookup

## How this service works

Not a chatbot. Deploy and scale autonomous finance agent organizations for trading, yield, and prediction. Governance before execution.

## Output

Returns a JSON confirmation of the credit pack purchase, including the number of credits added (50), updated credit balance, transaction ID, and any workspace activation details associated with the EarnClaw account.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "description": "No body fields required. Fixed pack amount is $50 (slug=50).",
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "orgId": {
       "type": "string"
      },
      "balance": {
       "type": "object",
       "additionalProperties": true
      },
      "settlement": {
       "type": "object",
       "additionalProperties": true
      },
      "walletSession": {
       "type": "object",
       "additionalProperties": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/earnclaw-credit-pack-purchase-50-credits-f3ff4569/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.earnclaw.com](https://www.zero.xyz/host/api.earnclaw.com/llms.txt)
