The Acquired API Library for Java enables you to work with Acquired APIs.
ASP.net core 2.0
MVC
C#
Newtonsoft.Json
AQPayCommon.cs
AQPay.cs
readme.md
else file could ignore
https://docs.acquired.com/api.php
download api library from nuget.org https://www.nuget.org/packages/acquired.com or install it from package manager PM> Install-Package acquired.com -Version 1.0.1
you can full example from "https://github.com/AcquiredSupport/Acquired-api-sdk-dotnet"
- set config parameters in AQPayConfig.cs.
- import the below file in the example controller.
using Acquiredapisdkdotnet.Lib.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.
JObject result = aqpay.Capture();
- deal response.
if(aqpay.IsSignatureValid(result)) {
// Perform actions based on the result
}