Purchase 100 USDC worth of CodeNut credits via x402 on Base network
What it does
This x402 endpoint lets an AI agent (or human client) purchase CodeNut platform credits by sending a single USDC payment on the Base network. The endpoint at `https://pay.codenut.ai/credit-drop/xl` requires exactly 100 USDC (100,000,000 in 6-decimal units) and returns a JSON object containing the credited amount. The listing explicitly states this is "NOT A TOKEN" — it is a credit purchase for the CodeNut platform.
The payment uses the x402 protocol (version 1) with the "exact" scheme on Base mainnet. The accepted asset is USDC at contract address `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`. The facilitator infrastructure is hosted at `https://facilitator.codenut.ai/` and supports both Base (USDC) and X Layer (USDT0) networks. The endpoint is a simple HTTP GET that requires an `X-PAYMENT` header containing the x402 payment payload.
The response schema is minimal: a JSON object with a single required `amount` field (number type), presumably indicating the quantity of CodeNut credits received. The description claims "100x worth of CodeNut credits," suggesting a 100× multiplier on the dollar value, though the exact credit-to-dollar ratio and what those credits can be used for on the CodeNut platform is not documented in the available material.
Capabilities
Use cases
- —AI agents purchasing CodeNut platform credits programmatically via x402
- —Bulk credit acquisition for CodeNut services at a promotional rate
- —Automated wallet-to-credit conversion on Base network
Fit
Best for
- —Agents or users who need CodeNut platform credits
- —Programmatic USDC-based purchases on Base mainnet
- —x402-compatible clients looking for credit bundles
Not for
- —Users seeking small or micro-payment credit amounts (minimum is 100 USDC)
- —Anyone expecting a token or transferable asset in return
- —Clients not on Base network or without USDC
Quick start
curl -X GET https://pay.codenut.ai/credit-drop/xl \
-H "X-PAYMENT: <base64-encoded-x402-payment-payload>"Example
Response
{
"amount": 10000
}Endpoint
Quality
The x402 challenge provides basic payment parameters and a minimal output schema, but there is no OpenAPI spec, no detailed documentation for this specific endpoint, and the meaning of the returned 'amount' and what CodeNut credits can be used for is not documented. The '100x worth' claim is unverified. Multiple doc/API/pricing pages return 404.
Warnings
- —No OpenAPI or detailed API documentation available; /docs, /api, /pricing all return 404
- —The '100x worth of CodeNut credits' claim is not substantiated by any available documentation
- —The response schema only specifies an 'amount' number field — the exact meaning and credit utility are unclear
- —High cost endpoint: 100 USDC per call with no documented refund or error-handling policy
- —No information on what CodeNut credits can actually be redeemed for
Citations
- —Endpoint requires 100 USDC (maxAmountRequired: 100000000 with 6 decimals) on Base networkhttps://pay.codenut.ai/credit-drop/xl
- —Payment asset is USDC at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913https://pay.codenut.ai
- —Facilitator URL is https://facilitator.codenut.ai/ supporting Base and X Layer networkshttps://pay.codenut.ai
- —Response schema is a JSON object with a required 'amount' number fieldhttps://pay.codenut.ai/credit-drop/xl