Salable developer platform

Salable offers subscription based access to features within your product through per-seat, flat rate or usage-based pricing models. Monetise your application in record time!

Developer quickstart

Make your first API request in minutes. Learn the basics of the Salable platform.

Get started
javascript
1const response = await fetch(
2 "https://salable.app/api/checkout",
3 {
4 method: "POST",
5 headers: {
6 Authorization: `Bearer ${process.env.SALABLE_API_KEY}`,
7 "Content-Type": "application/json",
8 },
9 body: JSON.stringify({
10 planId: "plan_01ABC123",
11 owner: "user_123",
12 interval: "month",
13 intervalCount: 1,
14 successUrl: "https://myapp.com/success",
15 cancelUrl: "https://myapp.com/cancel",
16 }),
17 }
18);
19
20const { data } = await response.json();
21// data.url — redirect to this checkout URL

Pricing models

Start building