Boost My AgentGet Boost OS
Stripe

Stripe starter module

Subscriptions

Keeps billing changes, cancellations, and customer access aligned with Stripe.

Files
4
Lines
167
Languages
TypeScript
Stripe docs

Included files

This page lists paths and purposes, not source contents.

  • src/subscriptions/activate-on-first-payment.ts

    Activates recurring access only after Stripe reports a successful paid invoice.

    TypeScript

    49 lines

  • src/subscriptions/handle-cancellation.ts

    Ends recurring access when Stripe confirms the current subscription was deleted.

    TypeScript

    30 lines

  • src/subscriptions/invoice-details.ts

    Extracts subscription and customer IDs from Stripe invoices across API shapes.

    TypeScript

    39 lines

  • src/subscriptions/sync-status.ts

    Converts a Stripe subscription into the status record your app stores.

    TypeScript

    49 lines