Braintree.TransactionGateway.Refund C# (CSharp) Method

Refund() public method

public Refund ( string id ) : Result
id string
return Result
        public virtual Result<Transaction> Refund(string id)
        {
            XmlNode response = service.Post(service.MerchantPath() + "/transactions/" + id + "/refund");
            return new ResultImpl<Transaction>(new NodeWrapper(response), gateway);
        }

Same methods

TransactionGateway::Refund ( string id, TransactionRefundRequest refundRequest ) : Result
TransactionGateway::Refund ( string id, decimal amount ) : Result