UNPKG

stripe

Version:
27 lines (26 loc) 923 B
"use strict"; // File generated from our OpenAPI spec Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookEndpoints = void 0; const StripeResource_js_1 = require("../StripeResource.js"); const stripeMethod = StripeResource_js_1.StripeResource.method; exports.WebhookEndpoints = StripeResource_js_1.StripeResource.extend({ create: stripeMethod({ method: 'POST', fullPath: '/v1/webhook_endpoints' }), retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/webhook_endpoints/{webhook_endpoint}', }), update: stripeMethod({ method: 'POST', fullPath: '/v1/webhook_endpoints/{webhook_endpoint}', }), list: stripeMethod({ method: 'GET', fullPath: '/v1/webhook_endpoints', methodType: 'list', }), del: stripeMethod({ method: 'DELETE', fullPath: '/v1/webhook_endpoints/{webhook_endpoint}', }), });