Confirm and pay for a RESERVED ad slot
wouldpayagain.com/api/ads/book
Confirm and pay for a RESERVED ad slot. Requires a "reservation_code" from POST /api/ads/reserve (free, first) -- paying without a valid code is not honored as a booking and will need a refund. Body: {"reservation_code": "..."}.
https://wouldpayagain.com/api/ads/bookUptime100% 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://wouldpayagain.com/api/ads/book");
console.log(await res.json());