UNPKG

stripe

Version:
32 lines (31 loc) 950 B
// File generated from our OpenAPI spec import { StripeResource } from '../StripeResource.js'; const stripeMethod = StripeResource.method; export const ApplicationFees = StripeResource.extend({ retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/application_fees/{id}', }), list: stripeMethod({ method: 'GET', fullPath: '/v1/application_fees', methodType: 'list', }), createRefund: stripeMethod({ method: 'POST', fullPath: '/v1/application_fees/{id}/refunds', }), listRefunds: stripeMethod({ method: 'GET', fullPath: '/v1/application_fees/{id}/refunds', methodType: 'list', }), retrieveRefund: stripeMethod({ method: 'GET', fullPath: '/v1/application_fees/{fee}/refunds/{id}', }), updateRefund: stripeMethod({ method: 'POST', fullPath: '/v1/application_fees/{fee}/refunds/{id}', }), });