Esempio n. 1
0
        public virtual StripeToken CreateBank(StripeBankAccountTokenCreateOptions createOptions)
        {
            var url = ParameterBuilder.ApplyAllParameters(createOptions, Urls.Tokens);

            var response = Requestor.PostString(url, ApiKey);

            return(Mapper <StripeToken> .MapFromJson(response));
        }
Esempio n. 2
0
        public virtual StripeToken CreateBank(StripeBankAccountTokenCreateOptions createOptions)
        {
            var url = ParameterBuilder.ApplyAllParameters(createOptions, Urls.Tokens);

            var response = Requestor.PostString(url, ApiKey);

            return Mapper<StripeToken>.MapFromJson(response);
        }