Skip to content

AcquiredSupport/Acquired-dotnet-api-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Acquired .Net Library 1.0.1

Description

The Acquired API Library for Java enables you to work with Acquired APIs.

Environment

ASP.net core 2.0
MVC
C#
Newtonsoft.Json

Directory

AQPayCommon.cs
AQPay.cs
readme.md

else file could ignore

Documentation

https://docs.acquired.com/api.php

Installation

NuGet

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

Examples

Get start

you can full example from "https://github.com/AcquiredSupport/Acquired-api-sdk-dotnet"

  1. set config parameters in AQPayConfig.cs.
  2. import the below file in the example controller.
using Acquiredapisdkdotnet.Lib.AQPay;

How to use

It is very simply to use like this:

  1. new a AQPay obj.
AQPay aqpay = new AQPay();
  1. set parameters.
aqpay.SetParam("amount", "1");
  1. post parameters according to your transaction type.
JObject result = aqpay.Capture();
  1. deal response.
if(aqpay.IsSignatureValid(result)) {
    
    // Perform actions based on the result
    
}

About

Acquired api for dotnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages