New: Revenue Insights beta → see the demo

Getting started

Use our REST API to create products, links, subscriptions, and marketplace listings.

curl -X POST https://api.webteller.cloud/v1/products \
  -H "Authorization: Bearer <token>" \
  -d '{"name":"Pro Plan","price":2900,"currency":"USD"}'

Authentication

Pass your secret key as a Bearer token in the `Authorization` header.

HeaderExample
AuthorizationBearer sk_live_***

Checkout

Create a link to start a hosted checkout flow.

POST /v1/checkout/links
{ "product_id":"pro-plan", "amount":2900, "currency":"USD" }

Marketplace

Publish apps and take revenue share. Payouts are issued to connected developers.

POST /v1/apps
{ "name":"Super App","listing_url":"https://yourapp.example","share":0.15 }

Webhooks

Verify signatures to trust events from Webteller.

import crypto from "crypto";
export function verify(sig, payload, secret){
  const h = crypto.createHmac("sha256", secret).update(payload).digest("hex");
  return crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(h));
}