17 lines
565 B
TypeScript
17 lines
565 B
TypeScript
import { ConfigService } from '@nestjs/config';
|
|
export declare class BinanceProvider {
|
|
private configService;
|
|
private readonly logger;
|
|
private readonly apiUrl;
|
|
constructor(configService: ConfigService);
|
|
private get apiKey();
|
|
private get secretKey();
|
|
private generateSignature;
|
|
createOrder(tenantId: string, amount: number, plan: string): Promise<{
|
|
checkoutUrl: any;
|
|
orderId: string;
|
|
prepayId: any;
|
|
}>;
|
|
verifySignature(timestamp: string, nonce: string, signature: string, payloadBody: any): boolean;
|
|
}
|