public async Task <Result <RetrieveIncomeResponseData, OkraError> > RetrieveIncomeAsync(PaginatedRequest request) { var url = "products/income/get"; var response = await _okraApi.Post <RetrieveIncomeResponse, PaginatedRequest>(url, request); return(response.ToResult()); }
public async Task<Result<RetrieveTransactionResponseData, OkraError>> RetrieveTransactionsAsync(PaginatedRequest request) { var url = "products/transactions"; var response = await _okraApi.Post<RetrieveTransactionsResponse, PaginatedRequest>(url, request); return response.ToResult(); }