Payment receipt with transaction details
www.api-xpay.com/x402/payment
Payment receipt with transaction details
GET
https://www.api-xpay.com/x402/paymentUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.api-xpay.com/x402/payment");
console.log(await res.json());More from X PayProvider status
- www.api-xpay.com/x402/classifyAI topic classification of text20.00
- www.api-xpay.com/x402/ipReturn the requester IP address0.005
- www.api-xpay.com/x402/keywordsAI keyword extraction from text10.00
- www.api-xpay.com/x402/networkBase network and USDC payment metadata0.005
- www.api-xpay.com/x402/quotePayment quote with amount, asset, and merchant wallet0
- www.api-xpay.com/x402/randomGenerate a random integer and hex bytes0.005
- www.api-xpay.com/x402/rewriteAI rewrite of input text10.00
- www.api-xpay.com/x402/sentimentAI sentiment analysis of text10.00
- www.api-xpay.com/x402/statusService status and payment configuration0.005
- www.api-xpay.com/x402/timeCurrent server time in UTC0.005
- www.api-xpay.com/x402/uuidGenerate a random UUID v40.005
