Slootly Documentation

Everything you need to add subscriptions to your Telegram, Discord, or WhatsApp bot.

New to Slootly?

Start with the 5-minute Quickstart Guide to go from zero to your first subscription check.

What is Slootly?

Slootly is a cross-platform subscription infrastructure for messaging bots. It lets you monetize your bot with Stripe-powered subscriptions using a single SDK that works across Telegram, Discord, WhatsApp, and Slack.

Instead of building payment infrastructure from scratch or routing revenue through crypto intermediaries, Slootly gives you:

  • One SDK call to check subscription status
  • Hosted checkout powered by Stripe -- no custom payment UI needed
  • Direct fiat payouts to your bank account via Stripe Connect
  • Cross-platform identity so one subscription works everywhere
  • JWT offline verification for sub-millisecond subscription checks

Quick Example

import { Slootly } from '@slootly/sdk';

const gate = new Slootly('sk_live_...');

// In your bot handler:
const sub = await gate.check(userId, 'telegram');

if (sub.active && sub.plan === 'pro') {
  // Unlock premium features
} else {
  const url = gate.checkoutUrl(userId, 'pro', 'telegram');
  bot.sendMessage(chatId, `Upgrade to Pro: ${url}`);
}

Core Concepts

Guides

SDK Reference