15 lines
505 B
TypeScript
15 lines
505 B
TypeScript
import { ConfigService } from '@nestjs/config';
|
|
export declare class PayMobProvider {
|
|
private configService;
|
|
private readonly logger;
|
|
private readonly baseUrl;
|
|
constructor(configService: ConfigService);
|
|
createPaymentKey(tenantId: string, amount: number, plan: string): Promise<{
|
|
paymentKey: string;
|
|
orderId: string;
|
|
}>;
|
|
getTransactionDetails(transactionId: string): Promise<any>;
|
|
private getAuthToken;
|
|
verifyHmac(payload: any, hmac: string): boolean;
|
|
}
|