xpanseSdk 2.1.9
dotnet add package xpanseSdk --version 2.1.9
NuGet\Install-Package xpanseSdk -Version 2.1.9
<PackageReference Include="xpanseSdk" Version="2.1.9" />
<PackageVersion Include="xpanseSdk" Version="2.1.9" />
<PackageReference Include="xpanseSdk" />
paket add xpanseSdk --version 2.1.9
#r "nuget: xpanseSdk, 2.1.9"
#:package xpanseSdk@2.1.9
#addin nuget:?package=xpanseSdk&version=2.1.9
#tool nuget:?package=xpanseSdk&version=2.1.9
xpanse .NET SDK
Library for integrating with xpanse payments in your app. It includes the following APIs:
- Charge API
- Customer API
- PaymentMethod API
- Transfer API
- Vault API
- Token API
- Provider API
- Info API
- Batch API
📄 Requirements
Use of the xpanse .NET SDK requires:
- .NET Standard 2.0/2.1 or .NET Core 2.1 or .NET 4.5/4.8
🧰 Installation
To use the xpanse .NET SDK in your project please do the following step:
dotnet add package XpanseSdk --version <version>
or
NuGet\Install-Package XpanseSdk -Version <version>
👷 Usage
An example of creating a xpanse client with development environment. FunctionalTests folder must contain appsettings.json file with following contents:
{
"Environment": "Development",
"SecretKey": "XPANSE_SECRET_KEY",
"ProviderId": "DUMMY_PROVIDER_ID",
"Tokens": ["PAYMENT_TOKEN1","PAYMENT_TOKEN2"]
}
We recommend to have 8 payment tokens to make all tests passed.
🔨 Tests
Clone the repo locally, cd into the directory and run dotnet test
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.2
- Microsoft.AspNet.WebApi (>= 5.3.0)
- Microsoft.NETCore.App (>= 2.2.8)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.3)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.5.1
- Microsoft.AspNet.WebApi (>= 5.3.0)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.3)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.8
- Microsoft.AspNet.WebApi (>= 5.3.0)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.3)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.AspNet.WebApi (>= 5.3.0)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.3)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.1
- Microsoft.AspNet.WebApi (>= 5.3.0)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 13.0.3)
- System.ValueTuple (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.9 | 192 | 1/15/2025 |
2.1.9 Added Metadata parameters