SDK (c#)

The easiest way to integrate with the Payment API is with the SDK, which is a nuget package called LinkMobility.PaymentCore.Sdk.

 Your nuget.config file should be updated like below in order for your project to connect Payment API nuget feed. Contact the support team for package access.

<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="link-internal" value="https://pkgs.dev.azure.com/linkmobilitygroup/_packaging/link-internal/nuget/v3/index.json" protocolVersion="3" /> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> </packageSources> <packageSourceCredentials> <link-internal> <add key="Username" value="nugetfeeds" /> <add key="ClearTextPassword" value="q35ma*******************5a" /> </link-internal> </packageSourceCredentials> <activePackageSource> <add key="All" value="(Aggregate source)" /> </activePackageSource> </configuration>

 

Once you modified your nuget.config, your build pipeline will be able to fetch the required packages.

Fetching packages to your local environment

There are 2 ways of doing this. 1st one is using the command below via Nuget Package Manager Console

Install-Package LinkMobility.PaymentCore.Sdk -version 2.1.8

Another way to achieve this is to use Visual Studio’s UI features.

 

Feeling lost? Click on this link! Portal page