Skip to content
Fourohtwo

Get a human's decision before you act

aipaygen.com/v1/ask_human

Get a human's decision before you act: ask a question with up to 6 choices (default Approve / Deny). Returns a private link to send them; add `notify` and we push it to their phone, Discord, Slack or Telegram for you. Read the answer with ask_status (free) or get it on your webhook. Links expire after 24 hours by default.

BaseAnswering
POSThttps://aipaygen.com/v1/ask_human

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://aipaygen.com/v1/ask_human", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"details":"Needed to finish the competitor report.","notify":{"channel":"ntfy","target":"acme-agent-7f3a9c"},"question":"Pay $42.00 to Acme Data for the monthly API plan?"}),
});
console.log(await res.json());

Example input

{
  "details": "Needed to finish the competitor report.",
  "notify": {
    "channel": "ntfy",
    "target": "acme-agent-7f3a9c"
  },
  "question": "Pay $42.00 to Acme Data for the monthly API plan?"
}

More from AIPayGenProvider status