expresspayments
Version:
ExpressPayments API wrapper
28 lines (27 loc) • 987 B
JavaScript
// File generated from our OpenAPI spec
import { ExpressPaymentsResource } from '../../ExpressPaymentsResource.js';
const expressPaymentsMethod = ExpressPaymentsResource.method;
export const Accounts = ExpressPaymentsResource.extend({
retrieve: expressPaymentsMethod({
method: 'GET',
fullPath: '/v1/financial_connections/accounts/{account}',
}),
list: expressPaymentsMethod({
method: 'GET',
fullPath: '/v1/financial_connections/accounts',
methodType: 'list',
}),
disconnect: expressPaymentsMethod({
method: 'POST',
fullPath: '/v1/financial_connections/accounts/{account}/disconnect',
}),
listOwners: expressPaymentsMethod({
method: 'GET',
fullPath: '/v1/financial_connections/accounts/{account}/owners',
methodType: 'list',
}),
refresh: expressPaymentsMethod({
method: 'POST',
fullPath: '/v1/financial_connections/accounts/{account}/refresh',
}),
});