private string CreatePath(TransactionRequest request) { var data = JsonConvert.SerializeObject(request); var path = CleanStringForPath(data); return(path); }
public HttpWebResponse CreateRequest(string method, TransactionRequest request, MerchantConfig config) { var path = CreatePath(request); path = "transactions?" + path; return(DoRequest(config, path, method)); }