UNPKG

@muhammedaksam/sipay-node

Version:

Node.js TypeScript SDK for Sipay payment gateway

18 lines 585 B
import { SipayResource } from './base'; export class BrandedSolution extends 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); } } //# sourceMappingURL=branded-solution.js.map