Skip to content
Fourohtwo

Extend the same private mailbox by a 30-day receiving term for 2 USDC

api.mekler.ai/v1/messaging/mailboxes/renew-mailbox

Extend the same private mailbox by a 30-day receiving term for 2 USDC. Early renewal preserves the current allowance until the new term begins. Use a new request_id and the original owner_key. Retained content keeps its original expiry.

SolanaBaseAnswering
POSThttps://api.mekler.ai/v1/messaging/mailboxes/renew-mailbox

Uptime100% of 2 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://api.mekler.ai/v1/messaging/mailboxes/renew-mailbox", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"mailbox_id":"1c2dee1d4ee689f629f57d2ba1ac2f40","owner_key":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE","request_id":"mekler-mail-renewal-01"}),
});
console.log(await res.json());

Example input

{
  "mailbox_id": "1c2dee1d4ee689f629f57d2ba1ac2f40",
  "owner_key": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE",
  "request_id": "mekler-mail-renewal-01"
}

More from Mekler AIProvider status