The Acquired API Library for Java enables you to work with Acquired APIs.
|--WebContent.examples (html files)
|--public
|--css
general.css
auth_.html
refund.html
...
|--src.com.Acquired
|--form (recieve html post data)
Auth_.java
Refund.java
AQPayConfig.java
|--helper (Acquired api sdk)
AQPay.java
AQPayCommont.java
|--WebContent.WEB-INF.lib
gson-2.7.jar
readme.md
index.htmlhttps://developer.acquired.com/integrations
You can simply Download the Release
- set config parameters in AQPayConfig.java.
- import the below file in the example files.
import com.Acquired.helper.AQPay;It is very simply to use like this:
- new a AQPay obj.
AQPay aqpay = new AQPay();- set parameters.
aqpay.setParam("amount", "1");- post parameters according to your transaction type.
JsonObject result = aqpay.capture();- deal response.
if(aqpay.isSignatureValid(result)) {
// Perform actions based on the result
}gson-2.7.jar