voko-sdk
Version:
Process payments with ease
22 lines (21 loc) • 736 B
TypeScript
import { SupportedProvider } from './core/types';
import { VokoClient } from './client/voko-client';
import { AdapterFactory } from './registry/adapter-factory.interface';
import './factories';
export declare class voko {
static zenopay(config: {
apiKey: string;
vendor: string;
environment?: 'sandbox' | 'production';
apiSecret?: string;
webhookSecret?: string;
}): VokoClient;
static azampay(config: {
appName: string;
clientId: string;
clientSecret: string;
environment?: 'sandbox' | 'production';
}): VokoClient;
static registerAdapter(factory: AdapterFactory): void;
static isProviderSupported(provider: SupportedProvider): boolean;
}