public CardPaymentCreated PostCardPayment(CardPaymentRequest cardPayment, string userIdentifier = null)
        {
            UseV2();

            var uri = CreateUri(userIdentifier, cardpayments);
            return PostAsync<CardPaymentRequest, CardPaymentCreated>(uri, cardPayment);
        }
 private void InitiatePayment(APIClient client)
 {
     var request = new CardPaymentRequest
                   {
                       Amount = 10000,
                       OrderId = "TEST" + TimedId,
                       IsMine = true
                   };
     request.UrlReturn = "http://example.com/dummy/Payment";
     request.Message = request.UrlReturn;
     var result = client.PostCardPayment(request, UserId);
     Assert.IsNotNull(result);
     Assert.IsNotNullOrEmpty(result.Href);
     Assert.IsTrue(result.Href.StartsWith(BaseUrl));
 }