public HttpResponse<OkResponse> UpdateCard(string customerId, string cardId, CardUpdate requestModel)
 {
     var updateCardUri = string.Format(ApiUrls.Card, customerId, cardId);
     return new ApiHttpClient().PutRequest<OkResponse>(updateCardUri, AppSettings.SecretKey, requestModel);
 }
        public static CardUpdate GetCardUpdateModel(bool setDefaultCard=false)
        {
            CardUpdate card = new CardUpdate();
            var baseCard = GetBaseCardModel();

            card.Name = baseCard.Name;
            card.ExpiryMonth = baseCard.ExpiryMonth;
            card.ExpiryYear = baseCard.ExpiryYear;
            card.BillingDetails = baseCard.BillingDetails;
            card.DefaultCard = setDefaultCard;

            return card;
        }