UNPKG

stripe

Version:
27 lines (26 loc) 843 B
// File generated from our OpenAPI spec import { StripeResource } from '../../StripeResource.js'; const stripeMethod = StripeResource.method; export const Authorizations = StripeResource.extend({ retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/issuing/authorizations/{authorization}', }), update: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/authorizations/{authorization}', }), list: stripeMethod({ method: 'GET', fullPath: '/v1/issuing/authorizations', methodType: 'list', }), approve: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/authorizations/{authorization}/approve', }), decline: stripeMethod({ method: 'POST', fullPath: '/v1/issuing/authorizations/{authorization}/decline', }), });