/
home
/
infinitibizsol
/
.trash
/
node_modules.4
/
stripe
/
cjs
/
resources
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/node_modules.4/stripe/cjs/resources/EphemeralKeys.js
"use strict"; // File generated from our OpenAPI spec Object.defineProperty(exports, "__esModule", { value: true }); exports.EphemeralKeys = void 0; const StripeResource_js_1 = require("../StripeResource.js"); const stripeMethod = StripeResource_js_1.StripeResource.method; exports.EphemeralKeys = StripeResource_js_1.StripeResource.extend({ create: stripeMethod({ method: 'POST', fullPath: '/v1/ephemeral_keys', validator: (data, options) => { if (!options.headers || !options.headers['Stripe-Version']) { throw new Error('Passing apiVersion in a separate options hash is required to create an ephemeral key. See https://stripe.com/docs/api/versioning?lang=node'); } }, }), del: stripeMethod({ method: 'DELETE', fullPath: '/v1/ephemeral_keys/{key}' }), });
Copyright ©2k19 -
Hexid
|
Tex7ure