跳到正文
FunCoding

billing-management

Manage XActions subscriptions and billing — view plans, start a Stripe checkout, open the billing portal, or cancel a subscription. Use when users want to upgrade, downgrade, or manage their XActions subscription.

Star
672
许可证
Apache-2.0
最近提交
2026年11月27日

skills/billing-management/SKILL.md

在 GitHub 上查看

Billing Management

Stripe-powered subscription and billing management for XActions.

Entry Points

GoalRouteMethod
List available plansGET /api/billing/plansREST API
Start Stripe checkoutPOST /api/billing/checkoutREST API
Open billing portalGET /api/billing/portalREST API
Get current subscriptionGET /api/billing/subscriptionREST API
Cancel subscriptionPOST /api/billing/cancelREST API

API Usage

List plans

GET /api/billing/plans

Returns all available subscription tiers with pricing and feature limits.

Start checkout

POST /api/billing/checkout
Authorization: Bearer <token>
Content-Type: application/json

{
  "plan": "pro",
  "successUrl": "https://yourapp.com/success",
  "cancelUrl": "https://yourapp.com/cancel"
}

Returns a Stripe checkout URL to redirect the user to.

Open billing portal

GET /api/billing/portal
Authorization: Bearer <token>

Returns a Stripe Customer Portal URL where users can update payment methods, view invoices, and manage their subscription.

Subscription Tiers

TierKey Features
freeLimited operations, community features
basicMore operations, standard automations
proUnlimited operations, all features, API access
enterpriseCustom limits, dedicated support, team features

Notes

  • Billing is handled entirely by Stripe — XActions does not store payment details
  • Subscription status is synced via Stripe webhooks
  • Downgrade takes effect at the end of the current billing period
  • Credits (for pay-per-use operations) are separate from subscriptions
  • teams-management — Manage team members on your plan
  • x402-payments — Alternative crypto-based payment via x402 protocol
  • xactions-cli — Check plan status via CLI

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,333 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,663 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 895 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 636 个 star