Create:
QIWI.Wallet wallet = new QIWI.Wallet("QIWI API Key");
Get Balance and get phone:
string phone = wallet.Identification.Phone();
double balrub = wallet.Balance.RUB(phone);
double balusd = wallet.Balance.USD(phone);
Send money for other QIWI Wallet:
bool done = wallet.Balance.Transfer.QIWIRUB("phone", 1.0, "comment");
Create:
QIWI.Donation donation = new QIWI.Donation("donate.qiwi.com token", NewDonates);
Get link for donate:
string link = donation.GetDonateLink("nickname", "senderName", "Message", ammount);
Get new donate:
private void NewDonates(QIWI.Donation.Event response)
{
Console.WriteLine("ID: " + response.eventExtId);
Console.WriteLine("Nickname: " + response.attributes.DONATION_SENDER);
Console.WriteLine("Ammount: " + response.attributes.DONATION_AMOUNT);
Console.WriteLine("Currency: " + response.attributes.DONATION_CURRENCY);
Console.WriteLine("Message: " + response.attributes.DONATION_MESSAGE);
}