connect-sdk-nodejs
Version:
SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API
20 lines • 717 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.directory = void 0;
/*
* This file was auto-generated from the API references found at
* https://apireference.connect.worldline-solutions.com/
*/
const communicator_1 = require("../../utils/communicator");
function directory(sdkContext) {
return function (merchantId, paymentProductId, paymentContext) {
return (0, communicator_1.json)({
method: "GET",
modulePath: `/v1/${merchantId}/products/${paymentProductId}/directory`,
body: null,
paymentContext: paymentContext
}, sdkContext);
};
}
exports.directory = directory;
//# sourceMappingURL=directory.js.map