x402 payment endpoint: send $1,478 USDC on Base to a specified wallet via the x402 protocol.
What it does
This is an x402-protocol payment endpoint hosted on Codenut AI's pay infrastructure. When called with a valid X-PAYMENT header, it processes a $1,478 USDC payment on the Base network to wallet address 0x5e04D4bC0A077c2727D4e542629606923AA55fff. The endpoint returns a JSON object containing the settlement transaction hash upon successful payment.
The endpoint uses the "exact" payment scheme, meaning the caller must authorize exactly the stated amount (1,478,000,000 in 6-decimal USDC units). Payment headers are created client-side using the x402 client library and a viem wallet, then verified and settled through Codenut's facilitator service at facilitator.codenut.ai. The USDC asset contract on Base is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.
There is no documentation describing what service or resource this $1,478 payment unlocks. The endpoint's description is generic ("x402 Payment of $1478 to 0x5e04…"), and no additional context about the underlying product, API, or deliverable is available from the crawled pages. The Codenut pay platform supports Base (USDC) and xLayer (USDT0) networks and provides facilitator infrastructure for x402 payment verification and settlement.
Capabilities
Use cases
- —Programmatic USDC payment of $1,478 to a specific wallet on Base
- —AI agent purchasing access to a gated resource behind this payment endpoint
- —Automated settlement of a fixed-price transaction using the x402 protocol
Fit
Best for
- —AI agents that need to make on-chain USDC payments via HTTP
- —Developers integrating x402-protocol payments on Base
- —Automated workflows requiring verifiable on-chain settlement receipts
Not for
- —Users looking for variable-price or subscription billing
- —Anyone needing payments on networks other than Base (this specific endpoint)
- —Users who need documentation about what the payment unlocks — none is provided
Quick start
import { createPaymentHeader } from 'x402/client';
// After creating a viem walletClient on Base:
const header = await createPaymentHeader(walletClient, 1, paymentRequirements);
const res = await fetch(
'https://pay.codenut.ai/x402/0x5e04D4bC0A077c2727D4e542629606923AA55fff/1478',
{ headers: { 'X-PAYMENT': header } }
);
const { txHash } = await res.json();Example
Response
{
"txHash": "0xabc123def456789..."
}Endpoint
Quality
The endpoint is live (402 challenge captured) and the x402 protocol metadata is complete, but there is zero documentation about what service or resource the $1,478 payment actually provides. The description is entirely generic. No OpenAPI spec, no dedicated docs, and no explanation of the underlying product.
Warnings
- —No documentation exists describing what this $1,478 payment unlocks — the purpose of the endpoint is unknown.
- —The payment amount is very high ($1,478 USDC) with no explanation of the deliverable.
- —No OpenAPI or dedicated API docs are available; /docs, /api, /pricing all return 404.
- —Listing is effectively a stub due to lack of context about the underlying service.
Citations
- —The endpoint returns HTTP 402 with x402Version 1, exact scheme, on Base network using USDC at asset address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913https://pay.codenut.ai/x402/0x5e04D4bC0A077c2727D4e542629606923AA55fff/1478
- —Codenut facilitator supports Base (USDC) and xLayer (USDT0) networks with facilitator URL https://facilitator.codenut.ai/https://pay.codenut.ai
- —Payment verification and settlement are done via the facilitator's /verify and /settle endpointshttps://pay.codenut.ai
- —Output schema specifies a JSON object with a required txHash string fieldhttps://pay.codenut.ai/x402/0x5e04D4bC0A077c2727D4e542629606923AA55fff/1478