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 your library




JS

JS is the latest JavaScript and node.js SDK.

npm install @voucherify/sdk


iframes with widgets

JS SDK is the latest JavaScript and node.js SDK. However, note that it doesn't support widget iframes. Use the Voucherify.js SDK to place widgets as iframes.




Node.js

๐Ÿšง

Depreciated SDK

Node.js is a deprecated version. Go to JS to use the latest Node.js SDK.

npm install voucherify



Java

Grab the SDK via Maven:

<dependency>
  <groupId>pl.rspective.voucherify.client</groupId>
  <artifactId>voucherify-java-sdk</artifactId>
  <version>2.4.0</version>
</dependency>

or via Gradle:

compile 'pl.rspective.voucherify.client:voucherify-java-sdk:2.4.0'




Ruby

gem install voucherify



PHP

Include Voucherify PHP SDK (rspective/voucherify) in your PHP composer.json file as required module i.e:

"require": { "rspective/voucherify": "dev-master" }

You can check available versions at Packagist.




Python

pip install voucherify



.NET

Client Side Library

Install-Package Voucherify.Client

Server Side Library

Install-Package Voucherify

Or simple use libraries from lib/{target-framework} folder.




Voucherify.js

๐Ÿšง

Deprecated SDK

Voucherify.js is a deprecated version. Go to JS to use the latest SDK.

From CDN:

http://www.jsdelivr.com/projects/voucherify.js




Android

Using Gradle:

dependencies {
    compile 'pl.rspective.voucherify.android.client:voucherify-android-sdk:0.6.0'
}

Using Maven:

<dependency>
    <groupId>pl.rspective.voucherify.android.client</groupId>
    <artifactId>voucherify-android-sdk</artifactId>
    <version>0.6.0</version>
</dependency>

๐Ÿ“˜

Prerequisite

The SDK requires at least Java 6 or Android 2.3.3 (API 10)




iOS (Swift)

Using CocoaPods simply add the following line to your Podfile:

pod "VoucherifySwiftSdk"

๐Ÿ“˜

Prerequisite

The SDK requires Swift 2.2 and therefore Xcode 7.3

Updated 11 days ago

SDKs


Suggested Edits are limited on API Reference Pages

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