/// <summary> /// POST /paymentMethods API call async /// </summary> /// <param name="paymentMethodsRequest"></param> /// <returns>PaymentMethodsResponse</returns> public async Task <PaymentMethodsResponse> PaymentMethodsAsync(PaymentMethodsRequest paymentMethodsRequest) { var jsonRequest = Util.JsonOperation.SerializeRequest(paymentMethodsRequest); var jsonResponse = await _paymentMethods.RequestAsync(jsonRequest); return(JsonConvert.DeserializeObject <PaymentMethodsResponse>(jsonResponse)); }