Mapato turns usage into revenue truth.View architecture

Developers

Revenue infrastructure that speaks your stack.

Idempotent APIs, typed SDKs, and inspectable evidence at every step of the monetisation chain.

Record usage. Get truth back.

Every Mapato call returns lineage IDs so downstream systems, support tools, and audits can trace the outcome end-to-end.

Idempotent

Safe retries with deterministic outcomes.

Typed SDKs

TypeScript, Python, and Go.

CLI-first

Local dev, replay, and inspection.

Evidence docs

Every response links its lineage.

usage.ts
// Record a billable action
await mapato.usage.record({
  tenant_id: "tnt_9c2a",
  meter: "sms.outbound",
  quantity: 1,
  context: {
    message_id: "msg_9c2a4e81",
    provider: "twilio",
  },
  idempotency_key: "msg_9c2a4e81",
});

// → rated by π² using snapshot v14
// → economic record posted to Economic Flow
// → invoice line INV-8842#88 · $0.008

Get building

Wire up your first billable action in an afternoon.