368 lines
9.4 KiB
JSON
368 lines
9.4 KiB
JSON
{
|
|
"$schema": "https://mintlify.com/docs.json",
|
|
"theme": "mint",
|
|
"name": "Autumn",
|
|
"colors": {
|
|
"primary": "#8838ff",
|
|
"light": "#9b5cff",
|
|
"dark": "#8838ff"
|
|
},
|
|
"appearance": {
|
|
"default": "system",
|
|
"strict": false
|
|
},
|
|
"contextual": {
|
|
"options": [
|
|
"copy",
|
|
"cursor",
|
|
"view"
|
|
]
|
|
},
|
|
"banner": {
|
|
"content": "You're viewing the docs for Autumn's v2 API. You can find the previous API version [here](https://docs-v1.useautumn.com).",
|
|
"dismissible": true
|
|
},
|
|
"favicon": "/favicon.svg",
|
|
"interaction": {
|
|
"drilldown": true
|
|
},
|
|
"navigation": {
|
|
"global": {
|
|
"anchors": [
|
|
{
|
|
"anchor": "Discord",
|
|
"icon": "discord",
|
|
"href": "https://discord.gg/STqxY92zuS"
|
|
},
|
|
{
|
|
"anchor": "GitHub",
|
|
"icon": "github",
|
|
"href": "https://github.com/useautumn/autumn"
|
|
},
|
|
{
|
|
"anchor": "Website",
|
|
"icon": "globe",
|
|
"href": "https://useautumn.com"
|
|
}
|
|
]
|
|
},
|
|
"tabs": [
|
|
{
|
|
"tab": "Documentation",
|
|
"icon": "folder-open",
|
|
"groups": [
|
|
{
|
|
"group": " ",
|
|
"pages": [
|
|
"welcome",
|
|
{
|
|
"group": "Concepts",
|
|
"pages": [
|
|
"documentation/concepts/overview",
|
|
"documentation/concepts/plans",
|
|
"documentation/concepts/features",
|
|
"documentation/concepts/plan-items",
|
|
"documentation/concepts/subscriptions",
|
|
"documentation/concepts/balances",
|
|
"documentation/concepts/stripe"
|
|
]
|
|
},
|
|
"documentation/getting-started/migration"
|
|
]
|
|
},
|
|
{
|
|
"group": "Getting Started",
|
|
"pages": [
|
|
"documentation/getting-started/setup",
|
|
"documentation/getting-started/gating",
|
|
"documentation/getting-started/display-billing",
|
|
"documentation/getting-started/deploy"
|
|
]
|
|
},
|
|
{
|
|
"group": "Configure Pricing",
|
|
"pages": [
|
|
"documentation/modelling-pricing/recurring",
|
|
"documentation/modelling-pricing/one-off-purchases",
|
|
"documentation/modelling-pricing/free-plans",
|
|
"documentation/modelling-pricing/credit-systems",
|
|
"documentation/modelling-pricing/prepaid-pricing",
|
|
"documentation/modelling-pricing/usage-based-pricing",
|
|
"documentation/modelling-pricing/per-unit-pricing",
|
|
"documentation/modelling-pricing/rollovers",
|
|
"documentation/modelling-pricing/proration",
|
|
"documentation/modelling-pricing/trials",
|
|
"documentation/modelling-pricing/auto-top-ups",
|
|
"documentation/modelling-pricing/spend-limits",
|
|
"documentation/modelling-pricing/add-ons",
|
|
"documentation/modelling-pricing/graduated-pricing",
|
|
"documentation/modelling-pricing/volume-based-tiers",
|
|
"documentation/modelling-pricing/sub-entity-balances",
|
|
"documentation/modelling-pricing/sub-entity-plans",
|
|
"documentation/modelling-pricing/rewards"
|
|
]
|
|
},
|
|
{
|
|
"group": "Billing & Subscriptions",
|
|
"pages": [
|
|
"documentation/customers/payment-flow",
|
|
"documentation/customers/subscription-lifecycle",
|
|
"documentation/customers/updating-subscriptions",
|
|
"documentation/customers/custom-plans",
|
|
"documentation/customers/versioning",
|
|
"documentation/customers/edge-cases"
|
|
]
|
|
},
|
|
{
|
|
"group": "Customers",
|
|
"pages": [
|
|
"documentation/customers/creating-customers",
|
|
"documentation/customers/managing-customers",
|
|
"documentation/customers/check",
|
|
"documentation/customers/tracking-usage",
|
|
"documentation/customers/balance-locking",
|
|
"documentation/customers/managing-balances",
|
|
"documentation/customers/billing-controls",
|
|
"documentation/customers/feature-entities"
|
|
]
|
|
},
|
|
{
|
|
"group": "Additional Resources",
|
|
"pages": [
|
|
"documentation/webhooks",
|
|
"documentation/slack-discord-notifications",
|
|
"documentation/fail-open",
|
|
"documentation/rate-limits",
|
|
"documentation/external-providers/ai-sdk",
|
|
"documentation/external-providers/openrouter",
|
|
"documentation/external-providers/convex",
|
|
"documentation/external-providers/revenuecat",
|
|
"documentation/external-providers/vercel-marketplace"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tab": "Examples",
|
|
"icon": "graduation-cap",
|
|
"pages": [
|
|
"examples/monetary-credits",
|
|
"examples/prepaid",
|
|
"examples/per-seat",
|
|
"examples/pay-as-you-go-overages",
|
|
"examples/entity-balances",
|
|
"examples/trial-card-required",
|
|
"examples/trial-card-not-required"
|
|
]
|
|
},
|
|
{
|
|
"tab": "React",
|
|
"icon": "react",
|
|
"groups": [
|
|
{
|
|
"group": "React Hooks",
|
|
"pages": [
|
|
"react/hooks/introduction",
|
|
"react/hooks/autumn-provider",
|
|
"react/hooks/autumn-handler",
|
|
"react/hooks/useCustomer",
|
|
"react/hooks/useEntity",
|
|
"react/hooks/useListEvents",
|
|
"react/hooks/useAggregateEvents",
|
|
"react/hooks/useListPlans",
|
|
"react/hooks/useReferrals"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tab": "CLI",
|
|
"icon": "square-terminal",
|
|
"pages": [
|
|
"cli/getting-started",
|
|
"cli/config",
|
|
"cli/commands"
|
|
]
|
|
},
|
|
{
|
|
"tab": "API Reference",
|
|
"icon": "display-code",
|
|
"groups": [
|
|
{
|
|
"group": "Billing",
|
|
"pages": [
|
|
"api-reference/billing/attach",
|
|
"api-reference/billing/billingUpdate",
|
|
"api-reference/billing/previewAttach",
|
|
"api-reference/billing/previewUpdate",
|
|
"api-reference/billing/openCustomerPortal",
|
|
"api-reference/billing/setupPayment",
|
|
"api-reference/billing/previewMultiAttach",
|
|
"api-reference/billing/multiAttach",
|
|
"api-reference/billing/createSchedule"
|
|
]
|
|
},
|
|
{
|
|
"group": "Balances",
|
|
"pages": [
|
|
"api-reference/core/check",
|
|
"api-reference/core/track",
|
|
"api-reference/balances/trackTokens",
|
|
"api-reference/core/batchTrack",
|
|
"api-reference/balances/createBalance",
|
|
"api-reference/balances/updateBalance",
|
|
"api-reference/balances/deleteBalance",
|
|
"api-reference/balances/finalizeLock"
|
|
]
|
|
},
|
|
{
|
|
"group": "Customers",
|
|
"pages": [
|
|
"api-reference/customers/getOrCreateCustomer",
|
|
"api-reference/customers/getCustomer",
|
|
"api-reference/customers/listCustomers",
|
|
"api-reference/customers/updateCustomer",
|
|
"api-reference/customers/deleteCustomer"
|
|
]
|
|
},
|
|
{
|
|
"group": "Events",
|
|
"pages": [
|
|
"api-reference/events/listEvents",
|
|
"api-reference/events/aggregateEvents"
|
|
]
|
|
},
|
|
{
|
|
"group": "Entities",
|
|
"pages": [
|
|
"api-reference/entities/getEntity",
|
|
"api-reference/entities/listEntities",
|
|
"api-reference/entities/createEntity",
|
|
"api-reference/entities/updateEntity",
|
|
"api-reference/entities/deleteEntity"
|
|
]
|
|
},
|
|
{
|
|
"group": "Plans",
|
|
"pages": [
|
|
"api-reference/plans/getPlan",
|
|
"api-reference/plans/listPlans",
|
|
"api-reference/plans/createPlan",
|
|
"api-reference/plans/updatePlan",
|
|
"api-reference/plans/deletePlan"
|
|
]
|
|
},
|
|
{
|
|
"group": "Features",
|
|
"pages": [
|
|
"api-reference/features/getFeature",
|
|
"api-reference/features/listFeatures",
|
|
"api-reference/features/createFeature",
|
|
"api-reference/features/updateFeature",
|
|
"api-reference/features/deleteFeature"
|
|
]
|
|
},
|
|
{
|
|
"group": "Rewards & Referrals",
|
|
"pages": [
|
|
"api-reference/referrals/createReferralCode",
|
|
"api-reference/referrals/redeemReferralCode",
|
|
"api-reference/rewards/redeemRewardCode"
|
|
]
|
|
},
|
|
{
|
|
"group": "Webhook Events",
|
|
"pages": [
|
|
{
|
|
"group": "Balances",
|
|
"pages": [
|
|
"api-reference/webhooks/balancesUsageAlertTriggered",
|
|
"api-reference/webhooks/balancesLimitReached"
|
|
]
|
|
},
|
|
{
|
|
"group": "Billing",
|
|
"pages": [
|
|
"api-reference/webhooks/billingAutoTopupSucceeded",
|
|
"api-reference/webhooks/billingUpdated"
|
|
]
|
|
},
|
|
{
|
|
"group": "Vercel",
|
|
"pages": [
|
|
"api-reference/webhooks/vercelResourcesDeleted",
|
|
"api-reference/webhooks/vercelResourcesProvisioned",
|
|
"api-reference/webhooks/vercelResourcesRotateSecrets",
|
|
"api-reference/webhooks/vercelWebhooksEvent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"group": "Platform (Beta)",
|
|
"pages": [
|
|
"api-reference/platform/overview",
|
|
"api-reference/platform/create-organization",
|
|
"api-reference/platform/oauth-url",
|
|
"api-reference/platform/update-stripe",
|
|
"api-reference/platform/list-users",
|
|
"api-reference/platform/list-orgs"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tab": "Changelog",
|
|
"icon": "list-ol",
|
|
"pages": [
|
|
"changelog/changelog"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"logo": {
|
|
"light": "/assets/logo/autumn-dark.svg",
|
|
"dark": "/assets/logo/autumn-light.svg"
|
|
},
|
|
"api": {
|
|
"playground": {
|
|
"display": "interactive"
|
|
},
|
|
"examples": {
|
|
"languages": [
|
|
"typescript",
|
|
"python",
|
|
"bash"
|
|
]
|
|
}
|
|
},
|
|
"background": {
|
|
"color": {
|
|
"light": "#FFFFFF",
|
|
"dark": "#0A0A0A"
|
|
}
|
|
},
|
|
"navbar": {
|
|
"primary": {
|
|
"type": "button",
|
|
"label": "Dashboard",
|
|
"href": "https://app.useautumn.com"
|
|
}
|
|
},
|
|
"footer": {
|
|
"socials": {
|
|
"x": "https://x.com/autumnpricing",
|
|
"github": "https://github.com/useautumn",
|
|
"linkedin": "https://linkedin.com/company/useautumn"
|
|
}
|
|
},
|
|
"fonts": {
|
|
"heading": {
|
|
"family": "Inter"
|
|
},
|
|
"body": {
|
|
"family": "Inter"
|
|
}
|
|
}
|
|
}
|