mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
884 B
27 lines
884 B
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const PaymentMethods = StripeResource.extend({
|
|
create: stripeMethod({ method: 'POST', fullPath: '/v1/payment_methods' }),
|
|
retrieve: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/payment_methods/{payment_method}',
|
|
}),
|
|
update: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/payment_methods/{payment_method}',
|
|
}),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/payment_methods',
|
|
methodType: 'list',
|
|
}),
|
|
attach: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/payment_methods/{payment_method}/attach',
|
|
}),
|
|
detach: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/payment_methods/{payment_method}/detach',
|
|
}),
|
|
});
|
|
|