Skip to content
Fourohtwo

Turn a USDC settlement into bookkeeping lines

402.com.tr/api/x402/settlement-line

Turn a USDC settlement into bookkeeping lines: amount, accounts, memo, optional Base tx= enrichment (status, timestamp, to). Returns journal JSON plus a two-line CSV. Not tax advice.

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/settlement-line

Uptime100% of 1 check 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://402.com.tr/api/x402/settlement-line?amount=12.50&asset=USDC&counterparty=0x973a31858f4d2125f48c880542da11a2796f12d6&creditAccount=Accounts+Receivable&debitAccount=Crypto+Clearing&memo=Invoice+1042&tx=0x68fdf10f8eb842afcddf79b2a779ed78e5be35d698e95cee1966f1787eb02b5e");
console.log(await res.json());

Example input

{
  "amount": "12.50",
  "asset": "USDC",
  "counterparty": "0x973a31858f4d2125f48c880542da11a2796f12d6",
  "creditAccount": "Accounts Receivable",
  "debitAccount": "Crypto Clearing",
  "memo": "Invoice 1042",
  "tx": "0x68fdf10f8eb842afcddf79b2a779ed78e5be35d698e95cee1966f1787eb02b5e"
}