Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtone123/liqpay-dotnet
liqpay.ua API SDK for .Net
https://github.com/jtone123/liqpay-dotnet
liqpay liqpay-extension uah
Last synced: about 1 month ago
JSON representation
liqpay.ua API SDK for .Net
- Host: GitHub
- URL: https://github.com/jtone123/liqpay-dotnet
- Owner: JTOne123
- License: mit
- Created: 2018-02-15T11:23:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T08:52:13.000Z (9 months ago)
- Last Synced: 2024-12-01T22:47:51.349Z (about 1 month ago)
- Topics: liqpay, liqpay-extension, uah
- Language: C#
- Homepage:
- Size: 132 KB
- Stars: 20
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
liqpay.ua API SDK for .Net/C# [.Net Standard 2.0]
===========================API Documentation [in Ukrainian](https://www.liqpay.ua/doc) and [in English](https://www.liqpay.ua/en/doc)
Nuget
----------------------[![NuGet][lp-img]][lp-link]
[![GitHub Feed][ghf-img]][ghf-link]
Usage
----------------------```csharp
// 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 {
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);
```[lp-img]: https://img.shields.io/badge/nuget-v1.0.1-blue.svg
[ghf-img]: https://img.shields.io/badge/github_feed-v1.0.1-green.svg[lp-link]: https://www.nuget.org/packages/LiqPay/
[ghf-link]: https://github.com/JTOne123/liqpay-dotnet/packages