DirectMailAmerica
directmailamerica.com/api/v1/orders
DirectMailAmerica: send letters, Certified Mail and full-color postcards, including 5.5 x 4.25 single-sided and 8.5 x 5.5 two-sided postcards, to US addresses. Pay each approved order with USDC via x402; no credit top-up required. Workspace Authorization Bearer API key and ready product quote required. Public probes show a sample price only. Quote, artwork and recovery details: https://directmaila
POST
https://directmailamerica.com/api/v1/ordersUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://directmailamerica.com/api/v1/orders", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"confirmed":true,"expectedTotalCents":199,"quoteId":"quote_example"}),
});
console.log(await res.json());Example input
{
"confirmed": true,
"expectedTotalCents": 199,
"quoteId": "quote_example"
}