Recurring billing done right

Enable recurring payment schedule, control the billing cycle and get instant alerts on subscription activity with Paystack Subscriptions.

        
        // Set your secret key: remember to change this to your live secret key in production
// See your keys here: https://dashboard.paystack.com/account/apikeys
Paystack.apiKey = "sk_test_aHYM6GR1DDQ82zO1911NW2Cq";

// Token is created using Checkout or Elements!
// Get the payment token ID submitted by the form:
String token = request.getParameter("paystackToken");

// Charge the user's card:
Map params = new HashMap();
params.put("amount", 999);
params.put("currency", "usd");
params.put("description", "Example charge");
params.put("source", token);

Charge charge = Charge.create(params);

    
        
        <?php
$api = Api::get("https://your-repo-name.prismic.io/api");
$response = $api->query(
Predicates::at('document.type', 'blog_post'),
[ 'orderings' => '[my.blog_post.date desc]' ]
);
// $response contains the response object, $response->getResults() holds the documents
    
        
        var Prismic = require('prismic-javascript');

initApi(req).then(function(api){
api.query(
    Prismic.Predicates.at('document.type', 'blog_post'),
    { orderings : '[my.blog_post.date desc]' }
).then(function(response) {
    // response is the response object, response.results holds the documents
});
});
    
        
        api = Prismic.api('https://your-repo-name.prismic.io/api')
response = api.query(
Prismic::Predicates.at("document.type", "blog_post"),
{ "orderings" => "[my.blog_post.date desc]" }
)
# response is the response object, response.results holds the documents
    
        
        Response response = api.query(Predicates.at("document.type", "blog_post"))
.orderings("my.blog_post.date desc")
.submit();
List<Document> documents = response.getResults();
    
        
        Response response = api.query(Predicates.at("document.type", "blog_post"))
.Orderings("my.blog_post.date desc")
.Submit();
IList<Document> documents = response.Results;
    

Frictionless subscriptions for your customers

Paystack Subscriptions gives you the flexibility to craft your subscription plans as per your business' specific requirements, with support for trial period, upfront charges, add-ons, discounts etc.

Multiple payment methods available

Offer your customers a variety of payment methods to choose from for the subscription. All payment modes offering recurring are compliant with RBI's regulations.