How to read text/csv Rest API Response and convert it to JSON or storing data in datatable in C#

I am receiving the response for my Rest API as text/CSV. How can i read it's data and save it to DataTable or List<> in C#. Also is it necessary to use await and aysnc method to call an API?

using (var client = new HttpClient())
var authCredential = Encoding.UTF8.GetBytes(AppSettings.PayWayApiKey);
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Basic", Convert.ToBase64String(authCredential));

client.BaseAddress = new Uri(AppSettings.PayWayApiBaseUrl);
'GET Method'

'string APIURL = AppSettings.PayWayApiBaseUrl + "/receipts-files/" + 

string APIURL = AppSettings.PayWayApiBaseUrl + "/receipts-files/2022-01-13";
HttpResponseMessage response = client.GetAsync(APIURL).Result;
if (response.IsSuccessStatusCode)

Console.WriteLine("Internal server Error");

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum