PaveWay’s subscription engine allows you to automate billing for your customers. This guide covers how to set up recurring payments using both Mobile Money and Cards.Documentation Index
Fetch the complete documentation index at: https://docs.pavewaygroup.com/llms.txt
Use this file to discover all available pages before exploring further.
How it Works
- Define a Plan: Create a plan that defines the price, currency, and billing interval (daily, weekly, monthly).
- Choose a Payment Method:
- Card: Uses a saved token from a previous payment to charge the customer automatically.
- Mobile Money: Sends a USSD prompt to the customer’s phone at a Preferred Time (e.g., 6 PM daily).
- Subscribe the Customer: Create a subscription object linking the customer to the plan.
- Automatic Invoicing: PaveWay generates invoices and attempts collection automatically according to the cycle.
Integration Steps
1. Create a Subscription Plan
Use the Plans API to define your tiers.2. Set Up the Primary Payment Method
Card Subscriptions
To use card-based auto-pay, you must first have a savedcard_token from a successful PaymentIntent where setup_future_usage was enabled.
Mobile Money Subscriptions
Mobile money subscriptions don’t require pre-authorization. You just need the customer’s phone number and their preferred window for receiving payment prompts.3. Handle Ongoing Subscriptions
Use Webhooks to listen forinvoice.paid or subscription.canceled events.
[!TIP] Always configure a Fallback Payment Method. If a mobile money prompt fails (e.g., customer has no funds), PaveWay can automatically attempt to charge a secondary card if defined.
Managing Lifecycle
- Pausing: Stop billing temporarily (e.g., during a service outage).
- Grace Periods: Configured in your dashboard to allow retries before cancellation.
- Upgrades/Downgrades: Update the
plan_idon the subscription object.

