This is the .NET client V2 for the KeyPay API.
The KeyPayV2 Client can be installed using the Nuget package manager.
Install-Package KeyPayV2
var apiKey = "{your KeyPay API Key goes here}";
// Create a client instance
var api = new UkApiClient("https://api.yourpayroll.com.uk/api/v2",
new ApiKeyAuthenticationDetails(apiKey));
// Retrieve a list of the businesses associated with the API Key
var businesses = api.Business.ListBusinesses();
There is a Sample Application that demonstrates a few core concepts of working with the KeyPay Client. Please check out our online documentation as a reference, or contact our Support.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.