Home Walletix Java API
Post
Cancel

Walletix Java API

jMBS

Walletix project doesn’t exist anymore. 😢

Walletix API for Java applications Version 1.1

You can use this api for both Desktop/Web Java application.

How to?

Include the WalletixJavaAPI.jar file into your project then import the package

1
import org.payment.wltx.Walletix;

Constructors:

if you want to make payment on sandbox to test Walletix :

1
Walletix walletix = new Walletix(VENDOR_ID, API_KEY , true);

else:

1
2
3
Walletix walletix = new Walletix(VENDOR_ID, API_KEY, false);
// OR best
Walletix walletix = new Walletix(VENDOR_ID, API_KEY) ;

Generate Payement:

1
2
// Generate and get the code
String generatedCode = new walletix.generatePaymentCode(PURCHASE_ID, AMOUNT,CALL_BACK_URL);

Verify Payment:

1
boolean vp = walletix.verifyPayment(generatedCode);

Delete Payment:

1
boolean dp = walletix.deletePayment(generatedCode);

Please, Don't hesitate to post suggestions or bug reports.

This post is licensed under CC BY-NC-SA 4.0 by the author.

alsac Command Line Sound Controller

Walletix Python API