public static TmsV2CustomersResponse Run() { string customerTokenId = "AB695DA801DD1BB6E05341588E0A3BDC"; try { var configDictionary = new Configuration().GetConfiguration(); var clientConfig = new CyberSource.Client.Configuration(merchConfigDictObj: configDictionary); var apiInstance = new CustomerApi(clientConfig); TmsV2CustomersResponse result = apiInstance.GetCustomer(customerTokenId); Console.WriteLine(result); return(result); } catch (Exception e) { Console.WriteLine("Exception on calling the API : " + e.Message); return(null); } }