paychangu-js
Version:
Paychangu JavaScript SDK for easy integration of payment services
10 lines (9 loc) • 329 B
TypeScript
import { VerificationResponse } from '../core/types';
export declare class VerificationAPI {
private static instance;
private secretKey;
private constructor();
static getInstance(): VerificationAPI;
setSecretKey(secretKey: string): void;
verifyTransaction(txRef: string): Promise<VerificationResponse>;
}