LemonWay .NET Core tutorial
This is a console application developed and tested on a Linux machine using the .NET Core platform.
It calls the GetWalletDetails service
and display the details information of the wallet sc
.
It is a very basic application, to demonstrate how easy to access to the LemonWay service. However, in real project you should use the LemonWayService
library
ASP.NET MVC developer might interested in
https://github.com/lemonwaysas/aspdotnet-client-directkit-json2
There, you will also find the
LemonWayService
library - a more advanceLwService
helper than the one used here.
- Edit the
LwService.cs
. Put yourDIRECTKIT_URL
(json2),LOGIN
andPASSWORD
- Run the example:
dotnet run
The example is only the basic, you can play with our API by calling other services. For example:
- Create a new wallet
- Create a payment link to credit a wallet
- Create a payment form to credit a wallet
- Register an IBAN to the wallet
- Transfer money from wallet to a bank account
- Transfer money from wallet to other wallet
- You can only call the LemonWay service from your server which has been whitelisted.
- It is not the only way to access to our API, feel free to use your own library.