Docs — live in three steps
DropIn is a single script plus two API calls. No backend, no SDK build step.
1
Add the embed
Paste this into your <head>. It exposes window.dropin.
<script
src="https://dropin.aiskillhub.info/dropin.js"
data-key="pk_demo_dropin"
></script>2
Add a checkout button
Declarative — no JS needed:
<button data-dropin-checkout="pro" data-dropin-currency="inr">
Upgrade to Pro
</button>Or imperative:
dropin.checkout("lifetime", "usd");3
Gate a paid feature
After purchase, call dropin.activate(licenseKey). Then gate anywhere:
const { entitled } = await dropin.gate("pro");
if (!entitled) {
dropin.checkout("pro", "inr");
} else {
renderProFeature();
}4
Verify a license server-side (optional)
Licenses are HMAC-signed and verifiable from your own backend:
curl "https://dropin.aiskillhub.info/api/entitlement?key=DROPIN-...&feature=pro"
# -> { "entitled": true, "plan": "pro" }Health & status
GET /api/health returns { status, version, uptime } for uptime monitors.