Requirements
The Akatus .NET SDK requires:- .NET Framework 3.5 or higher
- System.Configuration - For reading configuration from Web.Config
- System.Net - For HTTP requests
- System.Web - For web application integration
- System.Xml and System.Xml.Linq - For XML processing
Installation Methods
There are two ways to add the Akatus SDK to your .NET project:Method 1: Add Project Reference
If you have access to the source code, you can add the Akatus project directly to your solution:Add the project to your solution
In Visual Studio, right-click on your solution and select Add > Existing Project. Navigate to the
Akatus.Src folder and select the Akatus.csproj file.Add a reference to the Akatus project
Right-click on your application project and select Add Reference. In the Projects tab, check the Akatus project.
Method 2: Add DLL Reference
If you have the compiled DLL file:Build or obtain the Akatus.dll
If building from source, compile the
Akatus.Src project. The DLL will be located in:- Debug build:
Akatus.Src/bin/Debug/Akatus.dll - Release build:
Akatus.Src/bin/Release/Akatus.dll
Add the DLL reference
Right-click on your project and select Add Reference. Click Browse and navigate to the
Akatus.dll file.Configuration
After installing the SDK, you need to configure your Akatus API credentials in yourWeb.Config file.
Add the following configuration keys in the <appSettings> section:
Web.Config
The SDK reads configuration values from
Web.Config using ConfigurationManager.AppSettings. Make sure your application has a reference to System.Configuration.Configuration Parameters
| Parameter | Description | Values |
|---|---|---|
AkatusAmbiente | The environment to use | testes for testing, producao for production |
AkatusApiKey | Your Akatus API key | Provided by Akatus |
AkatusTokenNIP | Token for Instant Payment Notifications | Provided by Akatus |
AkatusEmail | Email used for your Akatus account | Your account email |
Verify Installation
To verify that the SDK is properly installed and configured, try creating a simple instance:Next Steps
Now that you have installed the Akatus SDK, you can:- Follow the Quickstart Guide to process your first transaction
- Learn about Payment Methods
- Explore Transaction Status checking
- Set up Payment Notifications