23 lines
689 B
JavaScript
23 lines
689 B
JavaScript
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const OutboundPayments = StripeResource.extend({
|
|
create: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/treasury/outbound_payments',
|
|
}),
|
|
retrieve: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/treasury/outbound_payments/{id}',
|
|
}),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/treasury/outbound_payments',
|
|
methodType: 'list',
|
|
}),
|
|
cancel: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/treasury/outbound_payments/{id}/cancel',
|
|
}),
|
|
});
|