# Agentics State Deposit

> Agentics State Deposit is a paid API for AI agents from x402rail.net, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-15).

Deposits a credit balance for an AI agent tenant, returning a tenant key and credited USD amount for subsequent correctness-critical service calls

## Facts

- Endpoint: POST https://x402rail.net/v1/state/deposit
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentics-state-deposit-b525566c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8DsiTwBfTxltpZ4gNFveq

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 agentics-state-deposit-b525566c -d '<json body>'
```

Example prompt: Deposit $0.20 worth of credit into my Agentics tenant account on x402rail so I can start making correctness-critical agent calls — I need a tenant key back to use for follow-up requests.

## When to prefer this

Use this endpoint when you need to pre-fund an AI agent tenant account on x402rail.net before making downstream correctness-critical agent service calls. This is the initialization step that returns a tenantKey needed for all subsequent Agentics service calls on this platform.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Malformed JSON body or missing required fields — returns 400 Bad Request
- bodyType not set to 'json' or method not POST — schema validation error
- Service unavailable or internal error — returns 500
- Duplicate deposit attempt may create a new tenant or fail idempotency checks

## How this service works

Correctness-critical services for autonomous AI agents

## Output

Returns a JSON object with 'creditUsd' (the amount credited, e.g. 0.2) and 'tenantKey' (an opaque string like 'tnt_9f2b1c4d…') that identifies the funded tenant account for subsequent API calls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "creditUsd": 0.2,
  "tenantKey": "tnt_9f2b1c4d…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentics-state-deposit-b525566c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402rail.net](https://www.zero.xyz/host/x402rail.net/llms.txt)
