plans-and-features-best-practices
Installation
SKILL.md
Plans and Features
Define your billing structure in code with PayKit's schema DSL.
Features
A feature is a capability that a plan grants. Two types:
Boolean Features
On/off access. Either the customer has it or doesn't.
import { feature } from "paykitjs"
const customBranding = feature({ id: "custom_branding", type: "boolean" })
const prioritySupport = feature({ id: "priority_support", type: "boolean" })