UNPKG

@muhammedaksam/sipay-node

Version:

Node.js TypeScript SDK for Sipay payment gateway

22 lines 733 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BrandedSolution = void 0; const base_1 = require("./base"); class BrandedSolution extends base_1.SipayResource { /** * Create a branded payment link */ async createPaymentLink(linkData, options) { const data = this.addMerchantKey(linkData); return this.post('/purchase/link', data, options); } /** * Check the status of a branded payment */ async checkStatus(statusData, options) { const data = this.addMerchantKey(statusData); return this.post('/purchase/status', data, options); } } exports.BrandedSolution = BrandedSolution; //# sourceMappingURL=branded-solution.js.map