Move from Gumroad: 7% commission on every sale, Discover included

EXNO for developers

Your stores, from your own code and your AI.

A REST API for products, checkout links, sales and customers, signed webhooks for every sale, and an MCP server for Claude, ChatGPT and other assistants.

Quick start

  1. 1

    Create a key

    In your dashboard, open Developers and create an API key. Copy it right away: EXNO shows it only once.

  2. 2

    Make your first call

    Send the key as a bearer token. The answer is your account and the stores the key reaches.

  3. 3

    Take a payment

    Create a product, publish it and ask for a checkout link. The buyer pays on EXNO's checkout; the sale shows up in the API and arrives as a webhook.

curl https://exno.app/api/v1/me \
  -H "Authorization: Bearer exno_live_…"

Authentication

Every request needs an API key in the Authorization header. Keys belong to your EXNO account and start with exno_live_.

HTTP
Authorization: Bearer exno_live_…
  • Read-only keys can read everything they reach but can't create or change anything.
  • A key reaches every store in your account (including stores you open later) or only one. Payouts and the balance need an all-stores key.
  • EXNO shows a key once and keeps only a hash of it. Lost a key? Revoke it and create a new one; a revoked key stops working at once.
  • Keep keys on your server. Never put them in web pages, apps or public repositories.

Requests and errors

The base address is https://exno.app/api/v1. Send JSON (Content-Type: application/json) or form fields (curl -d name=value); answers are always JSON.

  • Money is an integer in the currency's smallest unit: 1900 with currency USD is $19.00. Currency codes are upper-case ISO codes.
  • Times are ISO 8601 in UTC. Time filters also take a plain date (2026-11-01) or Unix seconds.
  • Unknown parameters are refused, so a typo never goes unnoticed.

Errors

Errors come with an HTTP status code and always have the same shape. Every answer carries an X-Request-Id header; mention it if you contact support.

JSON
{
  "error": {
    "type": "invalid_request_error",
    "code": "parameter_invalid",
    "message": "refund_window_days must be 0, 7, 14 or 30.",
    "param": "refund_window_days",
    "request_id": "req_8fK2pQvL3nT7wXyZ"
  }
}
  • 400invalid_request_errorA parameter is missing or wrong; param says which.
  • 401authentication_errorThe key is missing, wrong or revoked.
  • 403permission_errorThe key may not do this (read-only, or limited to one store).
  • 404not_found_errorThe object doesn't exist, or this key can't reach it.
  • 409invalid_request_errorA request with the same Idempotency-Key is still running.
  • 429rate_limit_errorToo many requests: wait Retry-After seconds.
  • 5xxapi_errorSomething went wrong on our side: retry with the same Idempotency-Key.

Pagination

Lists come newest first, 25 at a time (limit takes up to 100). When has_more is true, send next_cursor as cursor to get the next page.

curl
curl "https://exno.app/api/v1/sales?limit=100&cursor=WzE3OTUwMDI2NTEyMDQsIjNmMmE5YzRlIl0" \
  -H "Authorization: Bearer $EXNO_API_KEY"

Idempotency

Writes (POST, PATCH, DELETE) take an Idempotency-Key header. If a request times out, send it again with the same key: you get the first answer back (marked Idempotent-Replayed: true) and nothing happens twice.

  • Use a new random value, such as a UUID, for every new operation. Keys are kept for 24 hours, per API key.
  • The same key with a different request is refused with idempotency_key_reused.
  • When the first request failed with a server error (5xx), the key is released and you can simply retry.

Rate limits

Each key can make 300 requests a minute, REST and MCP together. Every answer tells you where you stand:

  • X-RateLimit-Limit requests allowed per minute
  • X-RateLimit-Remaining requests left in this minute
  • X-RateLimit-Reset when the minute ends (Unix seconds)

Over the limit, requests get 429 with a Retry-After header.

API reference

Every endpoint, what it takes and what it returns. Paths are relative to https://exno.app/api/v1.

Account and stores

GET/me

Your account, the key you're using and the stores it reaches.

curl https://exno.app/api/v1/me \
  -H "Authorization: Bearer $EXNO_API_KEY"
GET/stores

The stores this key reaches.

GET/stores/{id}

One store.

POST/stores

Opens a new store in your account, for another brand, with its own address <handle>.exno.app. The account must already have accepted the current Seller Agreement in the dashboard. Needs an all-stores key.

namestringrequired
The store's name, up to 60 characters.
handlestring
The store's address: lowercase letters, digits and hyphens. Made from the name when left out.
curl https://exno.app/api/v1/stores \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -d name="Northlight Prints" \
  -d handle=northlight-prints

Products

GET/products

Products, newest first.

store_idstring
Only this store. Leave out for every store the key reaches.
statusstring
Only products with this status: draft, published or archived.
limitinteger
Items per page, 1–100 (default 25).
cursorstring
next_cursor from the previous page.
POST/products

Creates a product. It starts as a draft unless you send status published and nothing is missing; products that deliver files need a file, which you add with an upload link (POST /upload_links) or in the dashboard.

namestringrequired
Product name, up to 100 characters.
typestringrequired
What it is: digital, course, ebook, membership, software, template, audio, video, bundle, service.
priceintegerrequired
Price in the smallest currency unit (1900 = 19.00). 0 makes it free.
currencystring
ISO code such as USD, EUR, GBP or TRY. Defaults to the store's currency.
store_idstring
The store to create it in. Needed when the key reaches more than one store.
summarystring
One line shown under the name, up to 160 characters.
descriptionstring
Plain text: a blank line between paragraphs, "- " for bullet points, "## " for headings.
pay_what_you_wantboolean
Let buyers choose what they pay; price is then the suggested amount.
minimum_priceinteger
Lowest amount a buyer may pay when pay_what_you_want is true (0 allows free).
categorystring
EXNO category path, needed to list the product on Discover.
show_in_discoverboolean
List the product on EXNO Discover (needs a category).
refund_window_daysinteger
Refund window shown on the product page: 0, 7, 14 or 30 days.
statusstring
draft (default) or published.
curl https://exno.app/api/v1/products \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name": "Notion Weekly Planner", "type": "template", "price": 1900, "currency": "USD", "summary": "Plan your week in Notion."}'
GET/products/{id}

One product, with its cover image and number of files.

PATCH/products/{id}

Changes only the fields you send. status publishes (published), unpublishes (draft) or archives (archived) the product.

statusstring
published, draft or archived.
name, price, …
Any field of POST /products. Only the fields you send change.
curl -X PATCH https://exno.app/api/v1/products/7d0f5c1e-3b8a-4f6e-9a2d-5c4b3a2f1e0d \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -d price=2400 \
  -d status=published
POST/upload_links

A private link for adding a product's files (what buyers get) or images, or a store's logo. Open url in a browser to pick the files, or send each one with PUT to put_url (raw bytes, Content-Type the file's type, up to 25 MB). Images: JPEG, PNG or WebP, square. The link works for an hour and for 40 uploads.

product_idstring
The product (for files and images).
kindstring
files (default), images, or logo (with store_id).
store_idstring
The store to create it in. Needed when the key reaches more than one store.
curl https://exno.app/api/v1/upload_links \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -d product_id=7d0f5c1e-3b8a-4f6e-9a2d-5c4b3a2f1e0d \
  -d kind=files

# then send a file to put_url:
curl -X PUT "https://exno.app/upload/Xq7…/put?name=weekly-planner.pdf" \
  -H "Content-Type: application/pdf" \
  --data-binary @weekly-planner.pdf

Checkout links

POST/checkouts

A checkout link: the address where a buyer pays for a published product, with a discount code applied if you send one. The buyer accepts the terms and pays on EXNO; the sale then arrives as sale.completed. Nothing is charged or stored, so read-only keys may create links too.

product_idstringrequired
The product to pay for. It must be published.
discount_codestring
A discount code to apply.
curl https://exno.app/api/v1/checkouts \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -d product_id=7d0f5c1e-3b8a-4f6e-9a2d-5c4b3a2f1e0d \
  -d discount_code=LAUNCH20

Sales and refunds

GET/sales

Sales, newest first: what the buyer paid, EXNO's fee, refunds and your earnings.

store_idstring
Only this store. Leave out for every store the key reaches.
statusstring
Only sales with this status: paid, partially_refunded, refunded, disputed or chargeback.
product_idstring
Only sales of this product.
emailstring
Only sales to this buyer email address.
fromtime
At or after this time.
totime
Before this time.
limitinteger
Items per page, 1–100 (default 25).
cursorstring
next_cursor from the previous page.
curl "https://exno.app/api/v1/sales?from=2026-11-01&limit=1" \
  -H "Authorization: Bearer $EXNO_API_KEY"
GET/sales/{id}

One sale.

GET/sales/summary

Totals per currency for a period (default: the last 30 days) and your best-selling products.

store_idstring
Only this store. Leave out for every store the key reaches.
fromtime
Start of the period (default: 30 days before to).
totime
End of the period (default: now).
POST/sales/{id}/refund

Refunds a sale in full: the buyer gets back what they paid, the sale comes off your earnings (EXNO's fees aren't returned) and access to the files ends. This can't be undone.

curl -X POST https://exno.app/api/v1/sales/3f2a9c4e-8b1d-4e7a-a5c3-2d9e6f1b0c87/refund \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Customers

GET/customers

Your buyers, from their purchases: email, name, country, number of orders and spend per currency.

store_idstring
Only this store. Leave out for every store the key reaches.
emailstring
Only this buyer.
limitinteger
Items per page, 1–100 (default 25).
cursorstring
next_cursor from the previous page.

Discount codes

GET/discounts

Discount codes, newest first, with their state: active, scheduled, expired, used_up or paused.

store_idstring
Only this store. Leave out for every store the key reaches.
activeboolean
true: only codes that are switched on; false: only paused codes.
limitinteger
Items per page, 1–100 (default 25).
cursorstring
next_cursor from the previous page.
POST/discounts

Creates a discount code: percent_off, or amount_off with a currency.

codestring
What buyers type: 3–32 letters, digits, - or _ (kept in capitals). Leave out for a random code.
percent_offinteger
Percentage off, 1–100.
amount_offinteger
Fixed amount off in the smallest currency unit (500 = 5.00).
currencystring
Currency of amount_off (defaults to the store's).
product_idslist
Only these products (a list of product ids). Leave out for every product.
starts_attime
Usable from this time.
ends_attime
Usable until this time.
max_redemptionsinteger
How many times the code can be used in total.
store_idstring
The store to create it in. Needed when the key reaches more than one store.
curl https://exno.app/api/v1/discounts \
  -H "Authorization: Bearer $EXNO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "LAUNCH20", "percent_off": 20, "ends_at": "2026-12-01", "max_redemptions": 100}'
GET/discounts/{id}

One discount code.

POST/discounts/{id}/disable

Switches a code off: buyers can no longer use it.

POST/discounts/{id}/enable

Switches a paused code back on.

DELETE/discounts/{id}

Deletes a code. Sales that used it keep their record of it.

Newsletter subscribers

GET/subscribers

People who joined your newsletter (double opt-in: pending until they confirm).

store_idstring
Only this store. Leave out for every store the key reaches.
statusstring
Only this status: active, pending or unsubscribed.
limitinteger
Items per page, 1–100 (default 25).
cursorstring
next_cursor from the previous page.

Payouts and balance

GET/payouts

Payouts to your bank account, newest first. Needs an all-stores key.

statusstring
Only this status: processing, sent, paid or failed.
limitinteger
Items per page, 1–100 (default 25).
cursorstring
next_cursor from the previous page.
GET/payouts/{id}

One payout.

GET/balance

Your money per currency: available for the next payout, pending (in the 7-day hold), held (disputed) and paid out, plus the date of the next payout. Needs an all-stores key.

curl https://exno.app/api/v1/balance \
  -H "Authorization: Bearer $EXNO_API_KEY"

Webhooks

Add an endpoint on the Developers page of your dashboard and choose its events. When one happens, EXNO sends your endpoint a POST request with a JSON body.

Events

  • sale.completedA buyer paid for a product or claimed a free one.
  • sale.refundedA sale was refunded, in full or in part.
  • dispute.createdA buyer disputed a payment with their bank.
  • dispute.closedA dispute ended, won or lost.
  • subscriber.createdSomeone confirmed their newsletter subscription.
  • payout.sentA payout left for your bank account. *
  • payout.paidA payout reached your bank account. *
  • payout.failedA payout couldn't be made; the money is back in your balance. *

* Payout events are about your whole account, so only endpoints for all stores receive them.

Payload excerpt

data holds the same object the API returns: a sale, a subscriber, a payout, or a dispute with the sales it covers. The example below shows selected fields. See the Seller Agreement for current fees and terms.

Read the Seller Agreement
POST /exno/webhooks · JSON excerpt
{
  "id": "evt_4VqT9mXc2LbN8pRs6KdW1yHf",
  "type": "sale.completed",
  "created": "2026-11-18T09:24:11.982Z",
  "livemode": true,
  "data": {
    "object": "sale",
    "id": "3f2a9c4e-8b1d-4e7a-a5c3-2d9e6f1b0c87",
    "order": "3F2A9C4E",
    "store_id": "1d37e58b-9f2d-47b1-8bf0-b886baa66898",
    "product_id": "7d0f5c1e-3b8a-4f6e-9a2d-5c4b3a2f1e0d",
    "product_name": "Notion Weekly Planner",
    "status": "paid",
    "source": "direct",
    "currency": "USD",
    "amount": 1520,
    "discount": {
      "code": "LAUNCH20",
      "amount": 380
    },
    "buyer": {
      "email": "ada@example.com",
      "name": "Ada Lovelace",
      "country": "GB",
      "locale": "en",
      "business_name": null,
      "tax_id": null
    },
    "livemode": true,
    "available_at": "2026-11-25T09:24:11.204Z",
    "created_at": "2026-11-18T09:24:11.204Z"
  }
}

Headers

  • Exno-Signature t=<unix seconds>,v1=<signature>
  • Exno-Event-Id the event's id, the same on every retry, so you can skip duplicates
  • Exno-Event-Type the event type
  • Exno-Delivery-Attempt 1 on the first try, 2 on the first retry, and so on

Checking the signature

Every endpoint has its own signing secret (whsec_…), shown when you add the endpoint. The signature is the hex HMAC-SHA256 of "<timestamp>.<raw body>" with that secret. Compute it over the raw body before parsing the JSON, compare in constant time, and refuse timestamps older than five minutes.

import crypto from "node:crypto";
import express from "express";

const app = express();
const secret = process.env.EXNO_WEBHOOK_SECRET; // whsec_…

app.post("/exno/webhooks", express.raw({ type: "application/json" }), (req, res) => {
  const parts = Object.fromEntries(
    (req.get("Exno-Signature") ?? "").split(",").map((p) => p.trim().split("=")),
  );
  const t = Number(parts.t);
  const expected = crypto.createHmac("sha256", secret).update(`${t}.${req.body}`).digest();
  const given = Buffer.from(parts.v1 ?? "", "hex");
  const fresh = Math.abs(Date.now() / 1000 - t) < 300;
  if (!fresh || given.length !== expected.length || !crypto.timingSafeEqual(given, expected)) {
    return res.status(400).send("Bad signature");
  }
  const event = JSON.parse(req.body);
  // event.id, event.type ("sale.completed", …), event.data
  res.sendStatus(200);
});

Answers and retries

Answer with any 2xx status within 10 seconds. Anything else (another status, a timeout or a redirect) is a failed attempt, and EXNO tries again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours: 8 attempts in all.

  • Answer first, then do slow work in the background.
  • An event can arrive more than once or out of order. Skip ids you've already handled and treat the object's status as the truth.
  • The delivery log on the Developers page shows every attempt with its status code and the start of your answer, and lets you send a delivery again. It keeps 30 days.
  • Send test event delivers a ping event, so you can try your endpoint before real events arrive.

MCP server

EXNO speaks the Model Context Protocol, so AI assistants can work with your stores: answer questions about your sales, create products and discount codes, and hand out checkout links. You connect an assistant by signing in to EXNO and approving it, and it can do exactly what you approved.

Server

Streamable HTTP at https://exno.app/mcp. Give your assistant just this address: the first time, it opens EXNO's sign-in page, you choose what it may do (read only, or read and write; all stores or one) and approve, and it's connected. There's no key to copy.

Connect your assistant

Add a custom connector with this address (in ChatGPT, turn on developer mode first), choose Connect, then sign in to EXNO and approve. Claude Desktop uses the same connectors as claude.ai.

https://exno.app/mcp

Sign-in (OAuth 2.1)

For developers of MCP clients: a request without credentials gets a 401 whose WWW-Authenticate header points to https://exno.app/.well-known/oauth-protected-resource/mcp. EXNO's sign-in service (https://exno.app) supports dynamic client registration, the authorization code flow with PKCE (S256) and resource indicators; the scopes are read and write. Access tokens last an hour; refresh tokens last 90 days and are replaced at every use. Scripts without a browser can send an API key as the Bearer token instead.

Claude is a trademark of Anthropic. ChatGPT is a trademark of OpenAI. EXNO isn't affiliated with or endorsed by either; their logos only show which assistant you connect.

Tools

With Read only, assistants get only the tools that read. Tools marked ✎ change something; refunds can't be undone, so assistants should check with you first.

  • get_storeYour account and the stores you can reach.
  • create_store (changes data)Opens a new store in your account, for another brand.
  • list_productsProducts with price, status and page address.
  • get_productOne product in full.
  • create_product (changes data)Creates a product (a draft, or published when nothing is missing).
  • update_product (changes data)Changes a product, or publishes, unpublishes or archives it.
  • delete_product (changes data)Deletes a product (one with sales is archived, so buyers keep access).
  • get_upload_link (changes data)A private link to add a product's files or images, or a store's logo.
  • get_checkout_linkThe address where buyers pay for a product, with an optional discount code.
  • list_payment_linksPayment links with their visits, sales and revenue.
  • get_payment_linkOne payment link in full, with its latest sales.
  • create_payment_link (changes data)Creates a short exno.app/pay/… link that opens checkout for a product.
  • update_payment_link (changes data)Changes a payment link or switches it on or off.
  • delete_payment_link (changes data)Deletes a payment link (its sales stay).
  • list_salesSales, filtered by store, status, product, buyer or time.
  • get_saleOne sale in full.
  • sales_summaryTotals for a period and the best-selling products.
  • refund_sale (changes data)Refunds a sale in full.
  • list_customersBuyers with their orders and spend.
  • list_discountsDiscount codes and their state.
  • get_discountOne discount code in full, with its use.
  • create_discount_code (changes data)Creates a percentage or fixed-amount code.
  • disable_discount_code (changes data)Switches a code off.
  • enable_discount_code (changes data)Switches a code back on.
  • delete_discount_code (changes data)Deletes a code for good.
  • list_subscribersNewsletter subscribers.
  • list_payoutsPayouts to your bank account.
  • get_payoutOne payout in full.
  • get_balanceAvailable, pending and held money, and the next payout date.

Ready to build?

Create a key on the Developers page of your dashboard and make your first call in a minute.

Support EXNO: own a pixel on our wall, $1 each.Buy a pixel