# x402Factory.ai Base Send Payment Schema Builder

> x402Factory.ai Base Send Payment Schema Builder is a paid API for AI agents from x402factory.ai, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Builds an x402-compatible ERC-20 token payment schema on Base for sending tokens to a specified wallet address

## Facts

- Endpoint: POST https://x402factory.ai/base/send
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402factory-ai-base-send-payment-schema-builder-9379108d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-2m-gS7_ygcjVZTTvq2j5

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 x402factory-ai-base-send-payment-schema-builder-9379108d -d '<json body>'
```

Example prompt: Build me an x402 payment schema to send 500000 atomics of USDC (that's 0.5 USDC) to wallet 0xAbC1234567890abcdef1234567890abcdef123456 on Base.

## When to prefer this

Use this endpoint when you need to programmatically generate an x402-compatible payment schema to send ERC-20 tokens (defaulting to Base USDC) to any valid 0x wallet on the Base network. Prefer it over manual schema construction when building agentic payment flows that need a ready-to-use schema object, or when you want to target a custom ERC-20 token by providing its contract address. Not suitable for Solana transfers or non-Base EVM chains.

## Known failure modes

- Invalid or malformed receiver address (non-0x or wrong length) — returns error
- Missing required fields receiver or amountAtomic — returns validation error
- Invalid token contract address format — returns error
- amountAtomic is zero or negative — returns error
- x402 payment not settled or facilitator unavailable — endpoint not unlocked
- Unsupported token contract on Base network — schema generation may fail

## How this service works

Base send endpoint discovery. Example quote uses 1.0 USDC (1,000,000 atomics) paid to the server address for documentation and x402scan registration. For real sends, provide receiver and amountAtomic (and optionally a token contract) so the payment schema targets your chosen receiver and token directly. On Base there is geen ATA-concept; elke 0x wallet kan tokens ontvangen zolang het een geldig adres is en het tokencontract een standaard transfer ondersteunt.

## Output

Returns a JSON object with ok=true, the ERC-20 token contract used, the Base network identifier, the receiver address, the amount in atomics, the payer wallet that paid the x402 fee, the payment transaction hash, and a fully constructed x402-compatible paymentSchema object that agents or wallets can use to execute the token transfer to the chosen receiver.

## Example request

```json
{
 "receiver": "0x1234567890123456789012345678901234567890",
 "amountAtomic": "500000"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "receiver",
  "amountAtomic"
 ],
 "properties": {
  "token": {
   "type": "string",
   "description": "Optional ERC-20 token contract address (0x...). When omitted, the endpoint uses BASE_USDC for the current BASE_NETWORK."
  },
  "receiver": {
   "type": "string",
   "description": "Base/EVM 0x wallet address that should receive the tokens."
  },
  "amountAtomic": {
   "type": "string",
   "description": "Amount in token smallest units (atomics), as a positive integer string. For Base USDC with 6 decimals, 0.001 USDC = 1000 atomics. You may also provide this field as 'amount' for compatibility."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean",
  "description": "True on success."
 },
 "token": {
  "type": "string",
  "description": "ERC-20 token contract used for the payment schema (either the provided token or the default BASE_USDC)."
 },
 "action": {
  "type": "string",
  "description": "Action performed. For successful calls this is 'build_send_schema'."
 },
 "network": {
  "type": "string",
  "description": "Base network for which the schema was built (BASE_NETWORK env, e.g. 'base' or 'base-sepolia')."
 },
 "receiver": {
  "type": "string",
  "description": "Receiver wallet address that should receive the funds (0x...)."
 },
 "amountAtomic": {
  "type": "string",
  "description": "Amount in token smallest units (atomics) as provided by the caller. For Base USDC with 6 decimals, 0.001 USDC is 1000 atomics."
 },
 "payer_wallet": {
  "type": "string",
  "description": "Wallet address that paid the x402 fee for using this endpoint (extracted from the settled payment)."
 },
 "payment_txid": {
  "type": "string",
  "description": "Blockchain transaction id / transaction hash for the x402 payment that unlocked this endpoint, when provided by the facilitator."
 },
 "paymentSchema": {
  "type": "object",
  "description": "x402-compatible exact payment schema that agents and wallets can use to construct a token payment to the receiver."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402factory-ai-base-send-payment-schema-builder-9379108d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402factory.ai](https://www.zero.xyz/host/x402factory.ai/llms.txt)
