bankson-js-mb
Version:
Bankson.fi Node client, Mad Booster fork
17 lines • 523 B
JavaScript
import Qs from 'qs';
import BaseSubClient from '../baseSubClient.js';
export default class Payments extends BaseSubClient {
fetchV2(opts) {
return this.base.get('/v2/outbound-payments?' + Qs.stringify(opts));
}
addV2(data) {
return this.base.post('/v2/outbound-payments', data);
}
removeV2(id) {
return this.base.delete(`/v2/outbound-payments/${id}`);
}
fetchFeedbackV2() {
throw new Error('Not implemented');
}
}
//# sourceMappingURL=outbound-payments.js.map