Open Source Libraries

In order to facilitate the merchant's Craftgate integration, there are open source libraries in four languages developed by Craftgate software engineers on GitHub.

Programming Language API Client Github Samples
Java Java Client Source Code Java Client Samples
.NET .NET Client Source Code .NET Client Samples
PHP PHP Client Source Code PHP Client Samples
JavaScript Node.js Client Source Code Node.js Client Samples

Detailed sample codes can be found within the libraries on how to integrate. The libraries are completely open source and any GitHub user can request a change or open a pull request. In order to test the libraries, first, the merchant must register on sandbox environment and obtain API user information. See Integration. You can then send requests to the Craftgate API using the apiKey and secretKey specific to your business.