示例#1
0
        public ephemeral_keys_fixture()
        {
            var customer = Cache.GetCustomer();

            var service = new StripeEphemeralKeyService(Cache.ApiKey);

            EphemeralKeyCreateOptions = new StripeEphemeralKeyCreateOptions
            {
                CustomerId    = customer.Id,
                StripeVersion = "2017-05-25",
            };

            EphemeralKey = service.Create(EphemeralKeyCreateOptions);
        }