Build on the same
API we do.

Every action in Hermos is a REST call, the same one our dashboard makes. Every state change is a signed webhook, and the MCP server hands the same API to your agents. Build in test mode, then switch to live.

Founding spots: no Hermos fee for 12 months.

Create a checkout sessiontest mode
POST /v1/checkout_sessions
curl https://api.hermos.ai/v1/checkout_sessions \
  -H "Authorization: Bearer $HERMOS_TEST_KEY" \
  -H "Idempotency-Key: order-4821" \
  -d product=prod_masterclass \
  -d price=price_yearly \
  -d customer_email=alex@example.com \
  -d referral_token=rt_9xQ2

Illustrative request and response. Endpoint names and fields are examples; the docs have the real reference.

REST API and MCP server: two doors, same account

Your code talks to Hermos through the REST API. Your AI assistants talk to it through the MCP server. Both reach the same products, customers and money, with the same keys and the same rules.

REST API

Every action in Hermos as an HTTPS call, the same calls our own dashboard makes.

  • Test and live keys, idempotency keys
  • Signed webhooks for every change

MCP server

MCP is a standard way for AI assistants to use tools directly. Connect an assistant to Hermos and it can create products, set up checkout or run reports by itself, without you writing any code.

  • The same scoped keys and spending limits
  • Approval for sensitive actions, every call in the audit log

Five assistants, one Hermos account

Each assistant below has its own key and its own job. Every call they make lands in the same account and the same activity log, and anything over a limit waits for you.

Illustration: five AI assistants named Claude, Codex, Gemini, Grok and Muse work on one Hermos account at the same time through MCP tool calls. Claude creates a course product and a three-payment plan. Codex creates an embedded checkout and a webhook endpoint. Gemini adds an upsell offer and builds a funnel. Grok creates a 30% recurring affiliate program. Muse creates an invoice for Acme, then tries a $240 refund that is over its limit; it pauses until you approve it. A shared activity log lists every action with the assistant that made it.

Illustration. Assistant names are shown as examples of MCP-capable tools; the business, tasks and amounts are fictional.

Everything you need to build on money

One account, one API, and the plumbing that payment code usually gets wrong, handled for you.

REST API for every action

Products, checkouts, subscriptions, refunds, affiliates, payouts. If the dashboard can do it, so can your code.

Signed webhooks

An event for every state change, signed so you can prove it came from Hermos, with automatic retries.

MCP server

Agents discover and call the same API through MCP, with scoped keys and limits you set.

Entitlement endpoint

Ask "what does this customer have right now?" and get one clear answer, kept current by Hermos.

Test and live modes

Separate keys and data for each. Keys belong to your company and mode, so they keep working if you change how you take payments.

Idempotency keys

Retry any request safely. The same key returns the same result, so a network hiccup never charges twice.

Double-entry ledger

Every sale, refund, commission and payout is a balanced set of entries you can read back through the API.

Reports and exports

Revenue, commissions, payouts and recovered payments, in the dashboard, through the API, or as a download.

A signed event for every change

Customer created, sale, renewal, refund, dispute, commission earned, approved or paid, affiliate signed up. Your app hears about each one and can check it really came from Hermos.

  • Signed. Each delivery carries a signature made with your endpoint's secret. Verify it before you trust the body.
  • Retried, never silently dropped. Failed deliveries retry on their own. If an endpoint keeps failing, Hermos tells you and shows its health.
  • Replayable. See every delivery and send any event again from the dashboard or the API.
Deliveries to app.northwind.example/hooksIllustrative

Illustration: a list of webhook events being delivered, each signed. One delivery fails with a server error and succeeds when Hermos retries it.

Ledger entriesBalanced
Example ledger entries for a $49.00 sale with $3.43 tax and a 30% affiliate commission, followed by a full refund. Debits equal credits.
AccountDebitCredit
Sale, Pricing Masterclass, $49.00 + $3.43 tax
Funds held at processor52.43
Merchant revenue34.30
Affiliate payable, 30%14.70
Sales tax set aside3.43
Full refund, commission reversed
Merchant revenue34.30
Affiliate payable, 30%14.70
Sales tax set aside3.43
Funds held at processor52.43
Total104.86104.86

A ledger that always balances

Money in Hermos moves as double-entry postings, per currency and per merchant, and they can't be edited after the fact. A refund doesn't rewrite history; it adds the entries that undo the sale, commission included.

  • Debits always equal credits. Every movement is a balanced set, so the numbers in your reports add up.
  • Commissions follow the money. Affiliates are paid only after funds are collected, and refunds or lost disputes reverse their share automatically.
  • Yours to read. Pull entries through the API or download them for your accountant.

“What does this customer have right now?”

One call answers it. Hermos decides access from its own records, including trials, prepaid time, grace periods while a failed payment is retried, refunds and disputes, so your app never has to piece it together.

  • trial
  • prepaid
  • postpaid
  • delinquent
  • paused
  • ended
  • A date, not a guess. Prepaid access comes back as "paid through" a date.
  • Pushed when it changes. Versioned entitlement events tell your app the moment access changes.
  • Billing inside your app. Drop-in components for the customer billing page, purchases and the affiliate area, using your login and your styles.
  • License keys included. Sell software with a key issued at checkout. Your app checks the key, and it follows the same access state.
GET /v1/customers/cus_D4na/entitlementIllustrative
{
  "customer": "cus_D4na",
  "product": "prod_masterclass",
  "state": "prepaid",
  "has_access": true,
  "paid_through": "2027-10-29",
  "source": "subscription sub_7Rk",
  "version": 12
}
mcp.jsonIllustrative
// Add Hermos to Claude, ChatGPT, Cursor or any MCP client
{
  "mcpServers": {
    "hermos": {
      "url": "https://mcp.hermos.ai",
      "headers": { "Authorization": "Bearer ${HERMOS_AGENT_KEY}" }
    }
  }
}

The same API, for agents

The MCP server is a front door to this API, not a second product. Each tool maps to an endpoint, each agent gets its own scoped key, and every call lands in the audit log.

See how agents run the business side

Questions

Is it really the same API the dashboard uses?

Yes. Row actions in the dashboard, such as a refund, a plan change or a pause, call the same public API you do, and the refund preview is available through the API as a dry run.

How do test and live modes work?

Each mode has its own keys and its own data. Keys belong to your company and mode, so they keep working if you move between Hermos Payments and your own Stripe account.

How do I check a webhook is genuine?

Every delivery is signed with your endpoint's secret. Recompute the signature from the body and compare it before acting on the event. The docs show how in each language.

What happens if I send the same request twice?

Send an idempotency key with any request that creates or changes something. A repeat with the same key returns the original result instead of doing the work again.

Which languages can I use?

Any language that can make an HTTPS request and read JSON. The examples on this page use curl, Node and Python.

Get your test keys first

Join the waitlist and we'll send API access as soon as your spot opens. Founding customers pay no Hermos fee for 12 months: see the offer.

Founding spots: no Hermos fee for 12 months.

Or send us a message