using System.Threading.Tasks;
static async Task Main(string[] args) {
private static async Task ApiCall() {
var message = new HttpRequestMessage(HttpMethod.Get, "https://giftcards.reloadly.com/countries/es/products");
message.Headers.TryAddWithoutValidation("Authorization", "Bearer YOUR_ACCESS_TOKEN_HERE");
message.Headers.TryAddWithoutValidation("Accept", "application/com.reloadly.giftcards-v1+json");
var httpClient = new HttpClient();
var response = await httpClient.SendAsync(message);
var responseBody = await response.Content.ReadAsStringAsync();
var result = JsonConvert.DeserializeObject < dynamic > (responseBody);
Console.WriteLine(result);