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 startedjavascript
| 1 | import { Salable } from "@salable/sdk"; |
| 2 | const salable = new Salable("secret-api-key"); |
| 3 | |
| 4 | const { data } = await salable.api.checkout.post({ |
| 5 | planId: "plan_01KHNZHBA28YMY720VVD8KVKF5", |
| 6 | owner: "user_123", |
| 7 | interval: "month", |
| 8 | intervalCount: 1, |
| 9 | currency: "USD", |
| 10 | successUrl: "https://myapp.com/success", |
| 11 | cancelUrl: "https://myapp.com/cancel" |
| 12 | }); |
| 13 | // data.url — redirect to this checkout URL |
Pricing models
Start building
Take payments
Create checkouts to monetise subscriptions
Lock features
Control feature access based on subscriptions
Flexible seat assignment
Assign a seat to any entity that works for your product
Upgrade and downgrade
Change a subscription's plan, updating features and cost
Seat management
Easily update a subscription's seat quantity
Charge for usage
Update a subscription's consumption
Update customer cards
Change cards that are about to expire
Invoices
See full subscription invoice history