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

Examples

Here are some exemplary integrations and third-party guides for you to learn more about Voucherify. If you'd like to share your own example, please contact us at [email protected] .

Demo Store "Hot Beans"

With this exemplary store, you can see Voucherify in action. The store is connected to your Voucherify account. In the store, you can use dummy products, validation rules, vouchers, and campaigns to see how Voucherify promotions work in practice.

Live Demo
Source Code
Tech stack: React, Node.js

📘

Tags

Describe which core components of Voucherify are demonstrated within a given examples, these include:

  • campaigns - defining new promo scenarios
  • distributions - learn how to deliver codes to your customers
  • system integration - how to integrate with 3rd party systems
  • monitoring - voucher tracking and promotion performance monitoring

Simplest redemption point

This example shows how you could implement a voucher redemption in your checkout page. There are two examples, one of them shows the easiest, most basic redemption, and the other one uses pretty much every feature available for redemption in Voucherify.

Live demo
Source: Glitch
Tech stack: JavaScript, Node.js
Tags: campaigns, system integration

Postman test cases

The up-to-date list of the API requests examples. Covers simple calls and more complex promo scenarios.

Run in PostmanRun in Postman

To run it on your account, you should provide your sandbox application keys in the environment and enable client-side operations in Project Settings (remember to whitelist the requests with * in the client-side settings section)

Simple cart integration

This example shows how you can make Voucherify API work with a simple cart checkout example. You can see for yourself that a simple integration with voucherify API gives you easy access to a multitude of validation strategies that can be managed and modified from voucherify dashboard without or with very little impact on code.

Live demo
Source: Glitch | Github
Tech stack: JavaScript, Node.js
Tags: campaigns, distributions, system integration

Stripe integration

This repository is an example of how easy it is to integrate discounts for single Stripe charges using Voucherify coupon API. Discount and charge your customer in under 40 lines of code.

Live demo
Source: Glitch
Tech stack: JavaScript, React.js, Node.js
Tags: system integration

Voucherify.js

To manage promotion activities on the frontend, consider using our open source web SDK - Voucherify.js . Here is a couple of examples demonstrating its capabilities.

Discount widget

This demo shows how to use a widget to validate coupon codes to show your customers the discounted price.

Live demo
Source: Glitch
Tech stack: JavaScript
Tags: system integration

Publish widget

The application shows how to build sort of a company's coupon code site. It lists some active promotions, including both bulk campaigns and standalone codes. With the widget, shoppers can publish a unique code to themselves.

Live demo
Source: Glitch
Tech stack: JavaScript
Tags: distribution, system integration

Subscribe widget

This part of Voucherify.js offers an easy way to add customers straight from the web. The installation boils down to pasting a little snippet including the iframe.

Live demo
Source: Glitch
Tech stack: JavaScript
Tags: system integration

Referral program

This example shows how referral programs work in Voucherify. The bulk of actual referral program configuration is done on your Voucherify Dashboard.

You can see that this example assumes two types of referral programs.

  • A standard referral program where ther referrer is rewarded every time their referral code is redeemed.
  • Multi tiered referral program where you can define multiple reward tiers for different scenarios (read the docs to see what is possible)

Live demo
Source: Glitch
Tech stack: JavaScript, Node.js
Tags: campaigns, system integration

Publish app

Publish a voucher to a customer with a simple web form.

https://github.com/voucherifyio/voucherify-publish-app

Voucherify webhooks

This example shows you how to leverage Voucherify webhooks to be notified about on-going redemptions and other events in your system.

Live demo
Source: Glitch
Tech stack: JavaScript, jQuery

Updated 7 days ago

Examples


Here are some exemplary integrations and third-party guides for you to learn more about Voucherify. If you'd like to share your own example, please contact us at [email protected] .

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.