Beispiel #1
0
        public void GetFundingDestinationsExpected()
        {
            const string CurrencyName = "mxn";

            using (var client = new BitsoClient(this.TestingServerUrl, this.ApiKey, this.ApiSecret))
            {
                try
                {
                    var res = client.GetFundingDestinations(CurrencyName);
                    Assert.IsNotNull(res);
                    Assert.IsFalse(string.IsNullOrEmpty(res.AccountIdentifierName));
                    Assert.IsFalse(string.IsNullOrEmpty(res.AccountIdentifier));
                }
                catch (BitsoException ex)
                {
                    this.TestContext.WriteLine(ex.Header);
                    throw;
                }
            }
        }