The Voucherify Developer Hub

Welcome to the Voucherify developer hub. You'll find comprehensive guides and documentation to help you start working with Voucherify as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started


Get up and running with our API libraries and start developing your Voucherify integration.

Get up and running with our API libraries and start developing your Voucherify integration.

Integrating Voucherify into your app or website can begin as soon as you create a Voucherify account. Then, only 3 more steps are required to start integration:

  1. Get your API keys so Voucherify can authenticate your integration’s API requests
  2. Install an SDK so you can interact with the Voucherify API
  3. Make a test API request to confirm everything is up and running

In the following tutorial, we're going to redeem one of pre-defined test voucher codes which comes with the developer sandbox.

Get your API keys

Voucherify authenticates your requests with API keys you can find in your account. Every account comes with 2 pair of keys with different access levels which serve different integration architectures (application and client-side).

On top of that, every request exists in either Production or Test (sandbox) mode. Objects in one mode cannot be manipulated by objects in the other.

Now, obtain your keys (Application Id and Application Secret Key) in the Project settings in your account.

The following code sample works with the Voucherify test account, you should replace the keys with the ones from the dashboard to see if examples are populated with your account.

Install SDK

We provide official libraries for different programming languages and mobile platforms.

Make a test API request

To check that your integration is working correctly, make a test redemption request using your sandbox keys.


Every sandbox is populated with a set of test vouchers. Note that these codes aren't visible in the dashboard and that redemptions performed on them don't count towards the monthly limits.

Call the redemption endpoint passing a voucher you want to redeem

curl -X POST \
-H "X-App-Id: 8a824b12-0530-4ef4-9479-d9e9b9930176" \
-H "X-App-Token: 9e322bac-8297-49f7-94c8-07946724bcbc" \
-H "Content-Type: application/json" \
-d '{}' ""
const voucherifyClient = require('voucherify')

const client = voucherifyClient({
    applicationId: '8a824b12-0530-4ef4-9479-d9e9b9930176',
    clientSecretKey: '9e322bac-8297-49f7-94c8-07946724bcbc'


use Voucherify\VoucherifyClient;
use Voucherify\ClientException;

$apiID  = "8a824b12-0530-4ef4-9479-d9e9b9930176";
$apiKey = "9e322bac-8297-49f7-94c8-07946724bcbc";

$client = new VoucherifyClient($apiID, $apiKey);
require 'voucherify'

voucherify ={
  :applicationId => '8a824b12-0530-4ef4-9479-d9e9b9930176',
  :clientSecretKey => '9e322bac-8297-49f7-94c8-07946724bcbc'

puts voucherify.redemptions.redeem('')
import io.voucherify.client.VoucherifyClient;
import io.voucherify.client.model.redemption.RedeemVoucher;
import io.voucherify.client.model.redemption.response.RedeemVoucherResponse;

class QuickStartApp {
    public static void main(String[] args) {
        VoucherifyClient client = new VoucherifyClient.Builder()

        RedeemVoucher redeemVoucher = RedeemVoucher.builder().build();
        RedeemVoucherResponse redeemVoucherResponse = client.redemptions().redeem("", redeemVoucher);

        System.out.println("Redemption: " + redeemVoucherResponse);
using System;
using Voucherify.DataModel;
using Voucherify.Core.Exceptions;
using System.Threading.Tasks;

public class Program {
    public static void Main() {
        var api = new Voucherify.Api(

           Voucherify.DataModel.Queries.RedemptionRedeem query = new Voucherify.DataModel.Queries.RedemptionRedeem();
           Voucherify.DataModel.Contexts.RedemptionRedeem context = new Voucherify.DataModel.Contexts.RedemptionRedeem();
           Voucherify.DataModel.Redemption redemption = await api.Redemptions.RedeemVoucher("", query, context);
           Console.WriteLine("Redemption: {0}", redemption);
       catch(Voucherify.Core.Exceptions.VoucherifyClientException exception) {
           Console.WriteLine("Exception: {0}", exception);

Voucherify will reply with redemption and voucher details

   "tracking_id":"(tracking_id not set)",