UNPKG

@muhammedaksam/sipay-node

Version:

Node.js TypeScript SDK for Sipay payment gateway

35 lines 1.24 kB
import { SipayConfig } from './types'; import { Payments } from './resources/payments'; import { Recurring } from './resources/recurring'; import { BrandedSolution } from './resources/branded-solution'; import { Commissions } from './resources/commissions'; export declare class Sipay { private client; payments: Payments; recurring: Recurring; brandedSolution: BrandedSolution; commissions: Commissions; constructor(config: SipayConfig); /** * Manually authenticate with Sipay API * Note: This is automatically called when needed, but can be called manually */ authenticate(): Promise<void>; /** * Get the current authentication token */ getToken(): string | undefined; /** * Set a custom authentication token */ setToken(token: string): void; } export default Sipay; export * from './types'; export { SipayHttpClient } from './utils/http-client'; export { SipayResource } from './resources/base'; export { Payments } from './resources/payments'; export { Recurring } from './resources/recurring'; export { BrandedSolution } from './resources/branded-solution'; export { Commissions } from './resources/commissions'; //# sourceMappingURL=index.d.ts.map