示例#1
0
        public void Create_Refund_Card_Charge_Test()
        {
            dynamic charge = _client.CreateCharge(100M, "usd", _card);

            dynamic response = _client.CreateRefund(charge.Id);

            Assert.NotNull(response);
            Assert.False(response.IsError);
            Assert.Equal(charge.Id, response.charge);
            Assert.NotNull(response.balance_transaction);
        }