C# implementation of BitPay API