UNPKG

@mft/moneyhub-api-client

Version:
22 lines 692 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = ({ config, request }) => { const { identityServiceUrl } = config; const getStandingOrder = ({ id }, options) => request(`${identityServiceUrl}/standing-orders/${id}`, { cc: { scope: "payment:read", }, options, }); return { getStandingOrder, getStandingOrders: (params = {}, options) => request(`${identityServiceUrl}/standing-orders`, { searchParams: params, cc: { scope: "payment:read", }, options, }), }; }; //# sourceMappingURL=standing-orders.js.map