Skip to content
Fourohtwo

Support Reply Draft by PayAPI

payapi.market/house/agents/support-reply-draft

Support Reply Draft by PayAPI: Draft a reply to a support ticket from your own policy text, with a flag when a person should take it.

BaseSolanaAlgorandPolygonAnswering
POSThttps://payapi.market/house/agents/support-reply-draft

Uptime100% of 3 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://payapi.market/house/agents/support-reply-draft", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"agent_name":"Jo","business_name":"Kitchen Loft","channel":"email","customer_name":"Sam","policy":"Items damaged in transit: we send a free replacement part or a full refund, customer choice. Ask for a photo of the damage. Replacements ship within 2 working days.","ticket":"Hi, my blender arrived with a cracked jug. Order 10482. I want a new jug or my money back. Can you sort this before the week),
});
console.log(await res.json());

Example input

{"agent_name":"Jo","business_name":"Kitchen Loft","channel":"email","customer_name":"Sam","policy":"Items damaged in transit: we send a free replacement part or a full refund, customer choice. Ask for a photo of the damage. Replacements ship within 2 working days.","ticket":"Hi, my blender arrived with a cracked jug. Order 10482. I want a new jug or my money back. Can you sort this before the week