UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API

20 lines 712 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.revoke = 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 revoke(sdkContext) { return function (merchantId, uniqueMandateReference, paymentContext) { return (0, communicator_1.json)({ method: "POST", modulePath: `/v1/${merchantId}/mandates/${uniqueMandateReference}/revoke`, body: null, paymentContext: paymentContext }, sdkContext); }; } exports.revoke = revoke; //# sourceMappingURL=revoke.js.map