> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs

## Get your library

***

<div style={{display:'grid',gridTemplateColumns:'repeat(auto-fit,minmax(80px,1fr))',gap:'1rem',alignItems:'center',justifyItems:'center'}}>
  <a href="https://github.com/voucherifyio/voucherify-php-sdk" target="_blank" aria-label="Voucherify PHP SDK" title="PHP SDK">
    <svg xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 68 42" role="img">
      <g fill="#4F5B93">
        <path d="M51 15.7h-2.8l-1.5 7.9h2.5c1.7 0 2.8-.3 3.7-.9.8-.6 1.4-1.7 1.7-3.1.3-1.4.2-2.4-.4-2.9-.6-.8-1.6-1-3.2-1m-31.7 0h-2.8L15 23.6h2.4c1.7 0 2.8-.3 3.7-.9s1.4-1.7 1.7-3.1c.3-1.4.2-2.4-.4-2.9-.5-.8-1.5-1-3.1-1" />

        <path d="M34 3.6C15.3 3.6 0 11.4 0 21s15.2 17.4 34 17.4c18.7 0 34-7.8 34-17.4 0-9.6-15.3-17.4-34-17.4zm-9.6 20.8c-.8.7-1.7 1.3-2.7 1.7-1 .4-2.3.5-3.8.5h-3.5l-.9 5.1h-4l3.6-18.8H21c2.4 0 4 .6 5.1 1.8 1.1 1.3 1.4 3 1 5.2-.2.9-.5 1.7-.9 2.5-.6.6-1.1 1.4-1.8 2zm11.8 2.1l1.6-8.4c.2-.9.1-1.6-.2-1.9-.3-.4-1-.6-2-.6h-3.2l-2 10.8h-4L30 7.6h4l-.9 5.1h3.6c2.3 0 3.9.4 4.7 1.2s1.1 2.1.7 3.9l-1.7 8.7h-4.2zm22.4-6.7c-.2.9-.5 1.7-.9 2.5-.5.7-1 1.5-1.7 2.1-.8.7-1.7 1.3-2.7 1.7-1 .3-2.3.5-3.8.5H46l-.9 5.1h-4l3.6-18.8h7.8c2.4 0 4 .6 5.1 1.8 1.1 1.1 1.5 2.8 1 5.1z" />
      </g>
    </svg>
  </a>

  <a href="https://github.com/voucherifyio/voucherify-js-sdk" target="_blank" aria-label="Voucherify JS SDK" title="JS SDK">
    <svg xmlns="http://www.w3.org/2000/svg" width="40" height="42" viewBox="0 0 40 42" role="img">
      <path fill="#F8DC3C" d="M38.3 1H1.7C.8 1 0 1.8 0 2.7v36.5c0 1 .8 1.7 1.7 1.7h36.5c1 0 1.7-.8 1.7-1.7V2.7c.1-.9-.7-1.7-1.6-1.7zM23.9 31.8c0 .5-.1 1-.2 1.7-.1.5-.3 1.1-.6 1.6s-.7.9-1.3 1.2c-.5.3-1.2.4-2.1.4-1.1 0-2-.3-2.7-.9-.7-.6-1.1-1.3-1.4-2.3l2.3-.6c.1.4.3.8.6 1.1.3.3.7.4 1.1.4.3 0 .6-.1.9-.2.3-.1.4-.3.5-.5.1-.3.2-.5.3-.9s.1-.7.1-1.1v-9.4h2.5v9.5zm11.3 2.3c-.3.5-.6 1-1.1 1.4-.4.3-1 .6-1.7.9-.6.2-1.3.3-1.9.3-.9 0-1.8-.2-2.7-.5-.9-.3-1.6-.9-2.1-1.5l1.7-1.7c.3.4.8.9 1.4 1.1.6.3 1.1.4 1.7.4.3 0 .6 0 .9-.1.3-.1.6-.2.8-.3.3-.2.4-.3.6-.6.2-.3.3-.6.3-1 0-.3-.1-.7-.3-1-.2-.3-.4-.4-.7-.6-.3-.2-.6-.3-1-.4-.4-.1-.8-.3-1.2-.4-.4-.2-.9-.3-1.3-.4-.4-.2-.8-.4-1.1-.7-.3-.3-.6-.7-.8-1.1-.2-.4-.3-1-.3-1.7s.2-1.3.4-1.8c.3-.5.7-1 1.1-1.3.4-.3 1-.6 1.7-.8.6-.2 1.2-.3 1.8-.3.7 0 1.4.1 2.2.3.7.3 1.4.6 1.9 1.1l-1.7 1.7c-.3-.3-.6-.6-1.1-.9-.5-.3-1-.3-1.5-.3-.3 0-.6 0-.9.1-.3.1-.5.2-.8.3-.3.2-.4.3-.6.6-.2.3-.3.5-.3.9s.1.6.2.8c.2.3.3.4.5.6.3.2.5.3.9.4.3.1.7.3 1 .3.4.2.9.3 1.4.5.5.2 1 .4 1.3.7.4.3.7.7 1 1.1s.3 1 .3 1.7c.5 1 .3 1.7 0 2.2z" />
    </svg>
  </a>

  <a href="https://github.com/voucherifyio/voucherify-ruby-sdk" target="_blank" aria-label="Voucherify Ruby SDK" title="Ruby SDK">
    <svg xmlns="http://www.w3.org/2000/svg" width="38" height="42" viewBox="0 0 38 42" role="img">
      <path fill="#CC342D" d="M1.4 21.6c.3-.8.5-2.3 1.2-3.6 3.2-6.5 8.2-11.2 14.7-14.1 1.3-.6 2.8-.8 4.2-.8 1.8 0 2.9 1.2 3.1 3 .1.9.1 1.9-.3 2.8-3.1 8.4-9 14-17.4 17.2-.3.1-.7.2-1 .2-2.7.5-4.5-1.1-4.5-4.7zm21.8-6.3c4.5-.3 9.1-.7 13.8-1l-.8-.8C32.1 10.3 28 7 23.9 3.6c-.4-.3-.7-.8-1.2-1.6h4.6c1.7 0 3.5-.2 5.1.2 3.6.7 5.6 3 5.5 6.7-.1 3.5-.4 6.9-.7 10.4-.4 5.3-.8 10.5-1.2 15.8-.1.9-.2 1.9-.3 2.9-1.9-1.7-3.7-3.4-5.6-5-.3-.3-.4-.5-.7-.7-2.2-1.4-3.1-3.5-3.6-6.1-.7-3.3-1.6-6.6-2.4-9.9-.1-.2-.1-.5-.2-1zM6 35.5c1-.2 1.9-.2 2.8-.4.3-.1.8-.5.8-.8.8-2.6 1.6-5.2 2.4-7.9.1-.3.2-.4.3-.8 4.8 1.5 9.5 3 14.4 4.6-2.5 2.6-5.2 4.7-8.3 6.7 5.4.4 10.8.8 16.1 1.3v.2c-1.2.1-2.4.2-3.5.3-6.8.4-13.6.9-20.5 1.3-1.1-.1-2.2 0-3.3 0-4.6-.1-7.2-2.6-7.2-7.2 0-2.6.3-5.2.4-7.8 0-.2.3-.3.4-.6.3.2.6.3.7.6l4 9.6c.2.3.3.5.5.9z" />
    </svg>
  </a>

  <a href="https://github.com/voucherifyio/voucherify-java-sdk" target="_blank" aria-label="Voucherify Java SDK" title="Java SDK">
    <svg xmlns="http://www.w3.org/2000/svg" width="32" height="42" viewBox="0 0 32 42" role="img">
      <path fill="#E92D2F" stroke="#E92D2F" strokeWidth=".094" strokeMiterlimit="10" d="M20.2 0c.9 1.1 1.3 2.7 1 4-.3 1.6-1.2 3-2.2 4.2-.8 1-1.8 1.8-2.8 2.7-1.2.9-2.3 1.9-3 3.3-.6 1.1-.8 2.4-.3 3.5.7 2 2.3 3.4 3.2 5.3-.9-.8-1.9-1.8-2.8-2.7-.9-1-1.8-2-2.4-3.3-.4-.8-.6-1.8-.3-2.8.3-.9.9-1.7 1.6-2.4 1.8-1.8 4.1-3.2 6-5.1 1-1 1.8-2.3 2.1-3.7.2-.9.1-2-.1-3zm-1.5 11.7c2-1.4 4.3-2.4 6.6-3.1-1.8 1.2-3.8 2.3-5.4 3.8-.6.6-1.2 1.2-1.4 2-.2.6-.1 1.3.1 1.8.4 1 1.2 1.8 1.7 2.7.5.8.6 1.8.2 2.6-.5 1.2-1.6 2.1-2.7 2.8-.2.1-.3.3-.4.3.8-.7 1.3-1.6 1.3-2.6 0-.8-.4-1.4-.9-1.9-1-1.2-1.8-2.8-1.7-4.4.1-1.8 1.3-3.1 2.6-4z" />

      <path fill="#0774BA" stroke="#0774BA" strokeWidth=".094" strokeMiterlimit="10" d="M25.7 23.5c.4-.5 1.1-.7 1.8-.8 1.1-.2 2.3.2 3 .8.7.6 1.1 1.5.9 2.4-.2 1.1-.8 1.9-1.7 2.6-1.4 1.2-3.2 1.8-5 2.3l.3-.3c1.3-.8 2.7-1.6 3.7-2.8.6-.8 1.1-1.7.8-2.7-.2-1.1-1.3-1.9-2.4-2-.4.2-.9.3-1.4.5zm-20.6.9c1.8-.8 3.9-1.3 6-1.3-1.2.3-2.4.7-3.5 1.2-.3.2-.6.3-.8.6 0 .1.2.3.3.3.7.3 1.4.3 2.2.4 2.6.2 5.2.1 7.9-.1 2.6-.2 5.1-.5 7.6-.9-.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 4.2.5 6.3.6 3.4.1 6.9 0 10.3-.4 2-.2 4-.6 6-1.2z" />
    </svg>
  </a>

  <a href="https://github.com/voucherifyio/voucherify-dotNET-sdk" target="_blank" aria-label="Voucherify .NET SDK" title=".NET SDK">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="42" height="42" role="img">
      <path fillRule="evenodd" clipRule="evenodd" fill="#1384C8" d="M82.108 78.432c.479-1.232 1.022-2.445 1.427-3.701 2.288-7.097 4.554-14.2 6.805-21.309.865-2.731 1.813-5.42 3.515-7.767 2.692-3.709 6.442-5.652 10.88-6.331 1.741-.266 3.518-.389 5.28-.406 5.267-.05 10.536-.015 15.804-.01.28 0 .56.029.957.052-.129.304-.199.525-.311.724-1.955 3.494-3.872 7.009-5.885 10.468-3.505 6.022-7.016 12.042-10.631 17.998-2.319 3.819-4.834 7.52-7.687 10.974-2.105 2.548-4.321 4.984-7.146 6.77-1.925 1.217-3.981 1.929-6.315 1.917-8.278-.045-16.556-.012-24.834-.024-2.461-.004-4.568-.941-6.356-2.603-2.563-2.381-4.093-5.412-5.345-8.608-2.284-5.835-3.563-11.951-5.031-18.014-.688-2.838-1.47-5.654-2.215-8.478-.048-.183-.142-.354-.25-.617l-.577.542c-3.228 3.207-6.071 6.741-8.615 10.498-.693 1.024-.926 2.374-1.313 3.591-1.424 4.47-2.722 8.983-4.264 13.411-1.477 4.242-4.125 7.616-8.264 9.61-2.42 1.165-5.004 1.795-7.689 1.855-3.98.088-7.962.098-11.943.134-.952.009-.996-.069-.748-.99 1.707-6.338 3.87-12.514 6.58-18.492 2.794-6.167 6.085-12.048 10.231-17.419 2.823-3.657 5.941-7.031 9.843-9.582 1.979-1.293 4.083-2.315 6.477-2.584.394-.045.793-.073 1.189-.073 8.478-.004 16.956.082 25.433-.039 4.547-.065 7.839 1.855 10.304 5.515 1.533 2.276 2.63 4.761 3.553 7.328 1.861 5.178 3.018 10.547 4.325 15.878.748 3.051 1.581 6.081 2.379 9.12.06.228.157.446.238.668l.199-.006z" />
    </svg>
  </a>

  <a href="https://github.com/voucherifyio/voucherify-python-sdk" target="_blank" aria-label="Voucherify Python SDK" title="Python SDK">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="42" height="42" role="img">
      <path fill="#3776AB" d="M63.391 1.988c-4.222.02-8.252.379-11.8 1.007-10.45 1.846-12.346 5.71-12.346 12.837v9.411h24.693v3.137h-33.961c-7.176 0-13.46 4.313-15.426 12.521-2.268 9.405-2.368 15.275 0 25.096 1.755 7.311 5.947 12.519 13.124 12.519h8.491v-11.282c0-8.151 7.051-15.34 15.426-15.34h24.665c6.866 0 12.346-5.654 12.346-12.548v-23.513c0-6.693-5.646-11.72-12.346-12.837-4.244-.706-8.645-1.027-12.866-1.008zm-13.354 7.569c2.55 0 4.634 2.117 4.634 4.721 0 2.593-2.083 4.69-4.634 4.69-2.56 0-4.633-2.097-4.633-4.69-.001-2.604 2.073-4.721 4.633-4.721z" />

      <path fill="#FFD43B" d="M91.682 28.38v10.966c0 8.5-7.208 15.655-15.426 15.655h-24.665c-6.756 0-12.346 5.783-12.346 12.549v23.515c0 6.691 5.818 10.628 12.346 12.547 7.816 2.297 15.312 2.713 24.665 0 6.216-1.801 12.346-5.423 12.346-12.547v-9.412h-24.664v-3.138h37.012c7.176 0 9.852-5.005 12.348-12.519 2.578-7.735 2.467-15.174 0-25.096-1.774-7.145-5.161-12.521-12.348-12.521h-9.268zm-13.873 59.547c2.561 0 4.634 2.097 4.634 4.692 0 2.602-2.074 4.719-4.634 4.719-2.55 0-4.633-2.117-4.633-4.719 0-2.595 2.083-4.692 4.633-4.692z" />
    </svg>
  </a>
</div>

***

<Note>
  Voucherify developers constantly improve Voucherify's RESTful API, which you can use to integrate with your systems. The SDKs are open source and are mostly developed with the help of the client and partner community. Contribute and provide feedback by submitting a pull request on the [GitHub repository](https://github.com/voucherifyio/).
</Note>

***

## JS

JS is **the latest** JavaScript and node.js SDK.

```shell Shell theme={null}
npm install @voucherify/sdk
```

[voucherifyio/voucherify-js-sdk](https://github.com/voucherifyio/voucherify-js-sdk)

***

## Java

Grab the SDK via Maven:

```xml XML theme={null}
<dependency>
<groupId>io.voucherify.client</groupId>
<artifactId>voucherify-java-sdk</artifactId>
<version>17.0.2</version>
<scope>compile</scope>
</dependency>
```

or via Gradle:

```
  repositories {
    mavenCentral()
  }

  dependencies {
     implementation "io.voucherify.client:voucherify-java-sdk:17.0.2"
  }
```

[voucherifyio/voucherify-java-sdk](https://github.com/voucherifyio/voucherify-java-sdk)

***

## Ruby

```shell Shell theme={null}
gem install voucherify
```

[voucherifyio/voucherify-ruby-sdk](https://github.com/voucherifyio/voucherify-ruby-sdk)

***

## PHP

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

```php php theme={null}
"require": {
    "rspective/voucherify": "dev-master"
}
```

You can check available versions at [Packagist](https://packagist.org/packages/rspective/voucherify).

[voucherifyio/voucherify-php-sdk](https://github.com/voucherifyio/voucherify-php-sdk)

***

## Python

```shell Shell theme={null}
pip install voucherify
```

[voucherifyio/voucherify-python-sdk](https://github.com/voucherifyio/voucherify-python-sdk)

***

## .NET

### Client-side library

```shell Shell theme={null}
Install-Package Voucherify.Client
```

### Server-side library

```shell Shell theme={null}
Install-Package Voucherify
```

Or simply use libraries from the lib/\{target-framework} folder.

[voucherifyio/voucherify-dotNET-sdk](https://github.com/voucherifyio/voucherify-dotNET-sdk)

***

## Node.js

<Warning>
  Node.js is a deprecated version. Go to [JS](/docs/sdks#js) to use the latest Node.js SDK.
</Warning>

```shell Shell theme={null}
npm install voucherify
```

[voucherifyio/voucherify-nodejs-sdk](https://github.com/voucherifyio/voucherify-nodejs-sdk)

***

## Voucherify.js

<Warning>
  Voucherify.js is a deprecated version. Go to [JS](/docs/sdks#js) to use the latest SDK.
</Warning>

From CDN:

[http://www.jsdelivr.com/projects/voucherify.js](http://www.jsdelivr.com/projects/voucherify.js)

[voucherify/voucherify.js](https://github.com/voucherifyio/voucherify.js)

***

## Android

<Warning>
  Voucherify developers currently don't develop this SDK.
</Warning>

Using Gradle:

```groovy Groovy theme={null}
dependencies {
    compile 'pl.rspective.voucherify.android.client:voucherify-android-sdk:0.6.0'
}
```

Using Maven:

```xml XML theme={null}
<dependency>
    <groupId>pl.rspective.voucherify.android.client</groupId>
    <artifactId>voucherify-android-sdk</artifactId>
    <version>0.6.0</version>
</dependency>
```

<Note>
  The SDK requires at least Java 6 or Android 2.3.3 (API 10)
</Note>

[voucherifyio/voucherify-android-sdk](https://github.com/voucherifyio/voucherify-android-sdk)

***

## iOS(Swift)

<Warning>
  Voucherify developers currently don't develop this SDK.
</Warning>

Using CocoaPods simply add the following line to your Podfile:

```shell Shell theme={null}
pod "VoucherifySwiftSdk"
```

<Note>
  The SDK requires Swift 2.2 and therefore Xcode 7.3
</Note>

[voucherifyio/voucherify-ios-sdk](https://github.com/voucherifyio/voucherify-ios-sdk)
