central-gateway
Version:
Simplify payments in Bangladesh with one unified library for AamarPay, SSLCommerz, and bKash. Skip the hassle of multiple gateway documentations—our consistent API does it all for you!
15 lines (14 loc) • 454 B
TypeScript
import { PaymentData } from '../types/interfaces';
import { BaseGateway } from './base.gateway';
export declare class AamarPayGateway extends BaseGateway {
private readonly storeId;
private readonly signatureKey;
private readonly serverUrl;
constructor(config: {
storeId: string;
signatureKey: string;
serverUrl: string;
});
processPayment(data: PaymentData): Promise<string>;
private mapToAamarPay;
}