static void OutputPaymentList(MollieClient mollieClient) { Console.WriteLine("Outputting the first 2 payments"); ListResponse<PaymentResponse> paymentList = mollieClient.GetPaymentListAsync(0, 2).Result; foreach (PaymentResponse paymentResponse in paymentList.Data) { Console.WriteLine($"Payment Id: { paymentResponse.Id } - Payment method: { paymentResponse.Method }"); } }