Skip to content

Alantoo/liqpay-dotnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

liqpay.ua API SDK for .Net/C# [.Net Standard 2.0]

API Documentation in Russian and in English

Nuget

NuGet

Usage

// send invoce by email
var invoiceRequest = new LiqPayRequest
{
    Email = "[email protected]",
    Amount = 200,
    Currency = "USD",
    OrderId = "order_id",
    Action = LiqPayRequestAction.InvoiceSend,
    Language = LiqPayRequestLanguage.EN,
    Goods = new List<LiqPayRequestGoods> {
        new LiqPayRequestGoods {
            Amount = 100,
            Count = 2,
            Unit = "pcs.",
            Name = "phone"
        }
    }
};

var liqPayClient = new LiqPayClient("publicApiKey", "priveteApiKEy");
//liqPayClient.IsCnbSandbox = true;
var response = await liqPayClient.RequestAsync("request", invoiceRequest);

About

liqpay.ua API SDK for .Net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%