public IActionResult GetChargeTransaction() { ChargeTransactionModel cash = epayco.GetChargeTransaction("14925792"); return(Ok(cash)); }
public ChargeTransactionModel GetChargeTransaction(string ref_payco) { ENDPOINT = body.getQueryCashTransaction(ref_payco, _PUBLIC_KEY); string content = _request.Execute( ENDPOINT, "GET", _auxiliars.ConvertToBase64(_PUBLIC_KEY)); ChargeTransactionModel transaction = JsonConvert.DeserializeObject <ChargeTransactionModel>(content); return(transaction); }