Skip to content

SDKs & libraries

LanguagePackageStatus
Java / Kotlincom.vauchflow:vauchflow-javaIn development
JavaScript / TypeScript@vauchflow/sdkIn development
Pythonvauchflow-pythonPlanned
PHPvauchflow/vauchflow-phpPlanned
<!-- Maven -->
<dependency>
<groupId>com.vauchflow</groupId>
<artifactId>vauchflow-java</artifactId>
<version>0.1.0</version>
</dependency>
val client = VauchflowClient("vf_sk_YOUR_KEY")
val voucher = client.vouchers.redeem("SAVE20") {
customerId = "cust_123"
orderValue = BigDecimal("89.99")
}
println(voucher.discountApplied) // 17.998
Terminal window
npm install @vauchflow/sdk
import { VauchflowClient } from '@vauchflow/sdk';
const client = new VauchflowClient('vf_sk_YOUR_KEY');
const result = await client.vouchers.redeem('SAVE20', {
customerId: 'cust_123',
orderValue: 89.99,
});
console.log(result.discountApplied); // 17.998

While the SDKs are being finalised, the REST API is production-ready. See the API Reference for all endpoints and the Getting Started guide for a working curl quickstart.

All SDK clients will follow the same authentication and idempotency semantics as the REST API.