Sell software, APIs, and private repos in USDC
SettleKit lets developers sell private GitHub repos, SaaS subscriptions, API access, AI tools, templates, datasets, license keys, and digital downloads. Connect GitHub, create a product, set a USDC price, and share your checkout link. We handle payment verification, access delivery, subscriptions, license keys, webhooks, and customer portals.
What you can sell
Private GitHub repos
SaaS plans
Paid APIs
AI agent services
Digital downloads
License keys
Discord communities
How it works
- Create a product. Describe what you are selling — a repo, a SaaS plan, a paid API, a file, or a license.
- Set a USDC price. One-time, monthly, yearly, lifetime, or per-call.
- Buyer pays. SettleKit verifies the on-chain USDC transfer before granting anything.
- Access is delivered. A repo invite, an entitlement, a license key, an API key, or a signed download — automatically.
One access model for everything
Under the hood every kind of access — GitHub, SaaS feature, API call, file, Discord role, license, agent tool — is modeled as a single Entitlement. The @settlekit/entitlements engine grants entitlements from a confirmed payment and answers one hot-path question for your app: is this customer allowed?
import {
EntitlementService,
InMemoryEntitlementRepository,
} from "@settlekit/entitlements";
const entitlements = new EntitlementService(
new InMemoryEntitlementRepository(),
);
const result = await entitlements.verify({
customerId: "cus_123",
feature: "ai_export",
});
if (!result.allowed) {
throw new Error(result.reason ?? "upgrade_required");
}The same verify call backs SaaS feature flags, credit balances, and per-product access. Swap InMemoryEntitlementRepository for a database-backed repository in production — the service contract stays identical.
Developer tools
SDKs, webhooks, a universal entitlements engine, and x402 pay-per-call middleware. Everything is published as small, composable @settlekit/* packages you can adopt one at a time, and a REST API exposes the same operations under /v1.
Pick a guide
GitHub repo sales
Sell private repository access in USDC.
SaaS billing
Plans, entitlements, and the verify SDK.
Paid APIs (x402)
Gate any Fetch handler behind a pay-per-call challenge.
License keys
Issue, verify, and activate offline license keys.
Bundles
Group products into a single priced bundle.
Agent services
List machine-callable, x402-priced AI tools.
Marketplace and open source
Products and agent services can be listed in the SettleKit marketplace to get discovered by humans and AI agents. Self-host the open-source stack or use the hosted cloud — the package APIs are the same either way.
Ready to ship? Start with the Quickstart.