Skip to main content

POST /admin/outreach-pay

Admin-only endpoint to send a paid A2A message/send to any x402-gated target.

Request

Response

If the target’s 402 pricing exceeds max_usdc, the payment is refused and the requirements are returned for inspection.

Auth

ADMIN_TOKEN is a private shared secret set as a Railway env var. Rotate immediately if leaked.

Safety

  • Hard cap of $1.00 USDC per call
  • Private key read from GA_BASE_WALLET_PK only; never logged
  • If the env var isn’t set, the endpoint returns a structured error — the server never crashes