x402basequality 0.40

x402 payment endpoint: send $0.10 USDC on Base to a specified wallet and receive a transaction hash.

Price
0.1 USDC / call
Protocol
x402
Verified
no

What it does

This endpoint is a straightforward x402-protocol payment resource hosted by Codenut AI. When called with a valid X-PAYMENT header containing a signed USDC payment of $0.10 on the Base network, it processes the payment to wallet address 0xfFDCD428845F2bFb2F07E6b4aF5A04F9a8e6D9A0 and returns a JSON object containing the resulting transaction hash.

The endpoint uses the x402 "exact" payment scheme on Base mainnet with USDC (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, 6 decimals). The maxAmountRequired is 100000 (i.e., $0.10 in USDC's 6-decimal representation). Payment verification and settlement are handled through Codenut's facilitator service at https://facilitator.codenut.ai/. The x402 challenge is live and returns a well-formed 402 response with version 1 of the protocol.

Note that this endpoint appears to be a simple payment/transfer primitive rather than a service that returns computed data. The only documented output is a transaction hash confirming the payment was settled. There is no additional API documentation, OpenAPI spec, or detailed description of use cases beyond the payment itself. It may serve as a building block for agent-to-agent payments, tipping, or pay-per-call gating on other Codenut services.

Capabilities

x402-paymentusdc-transferbase-networktransaction-hash-responseexact-schemeagent-payment

Use cases

  • Agent-to-wallet USDC transfers on Base for $0.10
  • Programmatic tipping or donation to a specific wallet
  • Testing x402 payment flows against a live endpoint
  • Pay-per-call gating where the payment itself is the service

Fit

Best for

  • Developers testing x402 client integrations
  • AI agents that need to make small USDC payments on Base
  • Prototyping x402 payment flows with a live endpoint

Not for

  • Retrieving data or computed results beyond a transaction hash
  • Payments on networks other than Base (e.g., Ethereum mainnet, Solana)
  • Large-value transfers (fixed at $0.10)

Quick start

# 1. GET the endpoint without payment to receive the 402 challenge:
curl -i https://pay.codenut.ai/x402/0xfFDCD428845F2bFb2F07E6b4aF5A04F9a8e6D9A0/0.1

# 2. With x402 client (JS):
import { createPaymentHeader } from 'x402/client';
const header = await createPaymentHeader(walletClient, 1, requirements);
const res = await fetch(
  'https://pay.codenut.ai/x402/0xfFDCD428845F2bFb2F07E6b4aF5A04F9a8e6D9A0/0.1',
  { headers: { 'X-PAYMENT': header } }
);
const { txHash } = await res.json();

Example

Response

{
  "txHash": "0xabc123def456789..."
}

Endpoint

Transporthttp
Protocolx402
Pay to0xfFDCD428845F2bFb2F07E6b4aF5A04F9a8e6D9A0
CurrencyUSD COIN

Quality

0.40/ 1.00

The x402 challenge is live and well-formed, confirming the endpoint works. However, there is no OpenAPI spec, no detailed documentation for this specific endpoint, and the service appears to be a bare payment primitive with minimal output (just a txHash). The purpose beyond simple payment transfer is unclear.

Warnings

  • No OpenAPI or detailed API documentation available for this endpoint
  • The endpoint appears to be a simple payment primitive — the only output is a transaction hash
  • No /docs, /api, or /pricing pages found (all return 404)
  • Purpose and broader utility beyond payment transfer are not documented

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 19:02:44Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-25

Agent access