Documentation

    QBitFlow docs.

    Everything you need to integrate crypto payments — from your first checkout to going live.

    Managing subscriptions

    QBitFlow supports fixed recurring subscriptions powered by smart contracts for automated, trustless billing.

    New to on-chain subscriptions? See how recurring crypto payments work →

    Subscription types

    Fixed recurring subscriptions

    Traditional subscription model with fixed amounts charged at regular intervals (weekly, monthly, yearly).

    Best for SaaS, memberships

    Creating subscriptions

    Step-by-step process

    1. 1
      Create a subscription session

      Use the SDK or API to create a subscription session checkout with your desired parameters (frequency, trial period, etc.)

    2. 2
      Share the checkout link

      Send the generated checkout link to your customer.

    3. 3
      Customer completes setup

      Customer visits the link, selects their cryptocurrency, and signs the allowance transaction.

    4. 4
      Monitor via webhook or success URL

      The Transaction webhook fires when the subscription is successfully created; the success URL gives the customer immediate feedback.

    5. 5
      React to status changes via webhook

      Configure the Subscription status webhook to be notified the instant a subscription changes state. Periodic polling is optional as a fallback.

    Creating a fixed subscription

    Create Recurring Subscription
    Set up a monthly subscription with a 7-day trial

    Monitoring subscriptions

    Subscription status webhook (recommended)

    Subscriptions are long-lived, so their status changes over time (billing succeeds, allowance runs low, billing fails, the subscription is cancelled). Configure the Subscription status webhook in the dashboard to be notified the instant a transition happens — no cron required.

    Set it up

    See the section for the subscription status webhook payload and handler code.

    Polling (optional fallback)

    You can also fetch a subscription's status directly at any time — useful as a fallback or to reconcile your records. This is optional now that the status webhook exists.

    Fetch Subscription Status
    Check subscription status and handle different states

    Customer self-service management

    Public management page

    QBitFlow provides a public subscription management page that customers can access without logging in. Customers can view their subscription details and billing history, perform actions like canceling, increasing allowance, or updating the max amount, and request a refund on a specific billing. All actions require wallet signature verification for security — QBitFlow builds and hosts this whole management surface, so you don't have to.

    Management page URL:

    https://qbitflow.app/user/<ref-id>/manage?uuid=<subscription-uuid>

    Share this link with your customers so they can manage their subscriptions themselves. Reduces support overhead and empowers customers.

    Available customer actions

    Cancel subscription

    Customers can cancel their subscription at any time. Requires wallet signature to verify ownership.

    Increase allowance

    If the subscription shows "low_on_funds" status, customers can increase their allowance to ensure future billings succeed.

    Update max amount

    If crypto prices drop and the max amount is reached, customers can update it to resume billing.

    View billing history

    Customers see every charge on the subscription, each with its transaction hash and a link to view the payment on a block explorer — fully verifiable on-chain.

    Request a refund

    Customers can raise a refund request for a specific billing directly from the management page. You review and action it from your dashboard.

    Automation tip

    Let the Subscription status webhook drive your automation. When a status changes (e.g., from "active" to "past_due"), your handler can send notifications or revoke access immediately — no polling loop to maintain. See the section for details on all possible states.
    Talk to us