klarna / kco_rest_dotnet

[DEPRECATED] Official .NET.Core SDK library for Klarna Services
https://developers.klarna.com/api/
Apache License 2.0
20 stars 37 forks source link
api c-sharp dotnet-core kco klarna klarna-checkout klarna-payments kp order-management pay pay-later pay-now payment-methods sdk settlements shipping-service

[DEPRECATED] Official Klarna .NET Core SDK

NuGet Version Build Status Coverage Status

SDK Deprecation Warning and Sunsetting

Dear community, the SDK you are currently looking at is now deprecated. These are details related to sunsetting:

Workarounds

We are making Klarna REST API definition files available in Swagger / OAS v2 format, under the Klarna API Reference section on the Klarna Developer Portal. These will be regularly updated as the APIs evolve. You can use tools like https://swagger.io/tools/swagger-codegen/ to generate your own SDKs, client libraries, etc.

Shop now. Pay later.

Shop at your favorite stores today and experience the freedom to pay later with Klarna.

Get started

The Klarna .NET Core SDK covers all of Klarna APIs under: https://developers.klarna.com/api/

Prerequisites

API Credentials

Before getting a production account you can get a playground one. Register here to be able to test your SDK integration before go live:

Installation and Usage

Important Notices

⚠️ v3.1.10 is marked as broken/deprecated. Consider to use v3.1.12 instead.

Examples

Example files can be found in the examples project.

Sample Apps

Also you can check for the Sample projects:

Installation with Package Manager

To install the Klarna .NET Core SDK, run the following command in the Package Manager Console:

PM> Install-Package Klarna.Rest.Core -Version x.y.z

.NET CLI

dotnet add package Klarna.Rest.Core --version x.y.z

Paket CLI

paket add Klarna.Rest.Core --version x.y.z

Usage

Check the https://www.nuget.org/packages/Klarna.Rest.Core/ to get information about the latest version.

Documentation

Klarna API documentation: https://developers.klarna.com/api/
SDK References: https://klarna.github.io/kco_rest_dotnet/

Example files can be found in the Klarna.Rest/Klarna.Rest.Core.Examples/ project.
Additional documentation can be found at https://developers.klarna.com.

Questions and feedback

If you have any questions concerning this product or the implementation, please create an issue: https://github.com/klarna/kco_rest_dotnet/issues/new/choose

or use the Contact Us form at https://klarna.com website.

How to contribute

At Klarna, we strive toward achieving the highest possible quality for our products. Therefore, we require you to follow these guidelines if you wish to contribute.

To contribute, the following criteria need to be fulfilled:

License

The Klarna .NET Core SDK is licensed under Apache License, Version 2.0