MARKETPLACE
PLUGINS
STRIPE TINY API
Stripe Tiny API logo

Stripe Tiny API

Published April 2025
   •    Updated March 2026

Plugin details

Stripe Tiny API provides a lightweight, direct bridge between your Bubble app and critical Stripe subscription features—without the overhead of large third-party plugins. It enables you to create Checkout Sessions for both new and existing customers, retrieve a completed Checkout Session to capture the customer's Stripe ID after payment, retrieve customer data to check active subscription status (such as during login), and create a Customer Portal Session so users can manage or cancel their subscriptions through Stripe’s hosted billing portal.
The plugin also supports free trials with or without a required payment method. Trial length and behavior are fully configurable, allowing you to launch frictionless trial periods or require upfront card collection based on your pricing strategy. Once the trial ends, you can choose to automatically cancel or pause the subscription if no payment method has been added—giving you full control over onboarding behavior.

In addition, the plugin enables immediate subscription cancellation via a simple API call, making it easy to cleanly handle user account deletion workflows. This full-cycle subscription support—subscribe, trial, manage, cancel—is designed for SaaS products that require transparent control and clean integration with Stripe.

This plugin is designed for developers who want simplicity, visibility, and full control. Rather than hiding Stripe operations behind complex abstractions, Stripe Tiny API offers direct access to just the endpoints needed to run a real subscription-based product.

The Stripe Secret Key is centralized in the plugin settings, making it easy to switch between test and live environments without editing individual API calls. This design ensures your app remains secure, easy to maintain, and production-ready.

Stripe Tiny API solves several common problems for Bubble developers. It avoids the complexity of full Stripe plugin suites, gives direct and understandable access to key subscription functions, and simplifies Stripe key management. It is ideal for lean SaaS applications where clean billing workflows and minimal overhead are essential.

Limitations: This plugin supports multiple subscription price tiers via dynamic price_id fields, and now includes flexible trial configuration. However, it does not currently support usage-based billing, metered subscriptions, or one-time payments. The subscription mode is set to "subscription" and cannot be changed at runtime.

Free

For everyone

stars   •   0 ratings
4 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

Chris Moore logo
Chris Moore
Joined 2025   •   1 Plugin
View contributor profile

Instructions

To use the Stripe Tiny API plugin, start by entering your Stripe Secret Key in the plugin settings. You can use your test key while building and later switch to your live key for production by updating this single field. This key is used in all API calls automatically, so no manual headers are required.
For subscribing users, use the "Create Checkout Session" action in your workflow. This call supports both new and existing Stripe customers by passing in a customer_email or customer_id. You must also provide the price ID and redirect URLs. Be sure to include the Stripe placeholder {CHECKOUT_SESSION_ID} in your success URL so that your app can retrieve the session details after a successful payment. The plugin supports multiple subscription price tiers through the dynamic price_id input.

On your checkout success page, retrieve the session ID from the page URL and call "Retrieve Checkout Session" to access the associated Stripe customer ID. You should then update the current user’s record in your Bubble database with this Stripe customer ID. This allows your app to retrieve the user's active subscription status later.

To check whether a user has an active subscription, use the "Retrieve Customer" action. The call returns the customer's current subscriptions, and you can inspect the status (e.g., active or trialing) to determine access level. This is commonly used during login or page load to assign roles, unlock features, or enforce usage limits.

You can allow users to manage their subscription through Stripe by using the "Create Customer Portal Session" action. Pass the customer ID and a return URL so the user is redirected back to your app after making changes or cancelling their plan.

If a user deletes their account, you can use the "Cancel Subscription" action to immediately cancel their active Stripe subscription. This call requires the subscription ID, which you can retrieve beforehand using the "Retrieve Customer" action if you store only the customer ID.

The plugin is designed to be lightweight, flexible, and fully transparent. It gives you full control over the logic in your workflows while exposing just the Stripe endpoints necessary to build real SaaS billing functionality. It does not currently support usage-based billing, metered subscriptions, or one-time payments. All subscriptions use Stripe’s “subscription” mode and must be handled through Stripe’s recurring billing infrastructure.

Types

This plugin can be found under the following types:
Api   •   Action   •   Background Services

Categories

This plugin can be found under the following categories:
Payment   •   Ecommerce

Resources

Support contact

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble