Paystack's Cryptocurrency API

Accept Cryptocurrencies with just a few lines of code.

        
        // 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;
    

Increase conversions in seconds

Adding Cryptocurrencies as a checkout method for you users can greatly increase your revenue and customer base.

Paystack makes this integration really simple and it only takes a few seconds to get set up.

Accept Cryptocurrency without a crypto wallet

There is no need to sign up for a bitcoin, ethereum or bitcoin cash wallet when processing Cryptocurrencies through Paystack.

Paystack will automatically convert your Cryptocurrency payments to USD and deposit the funds directly to your Paystack account.