nestjs-khalti
Version:
This is simple wrapper for Khalti Payment extended from @dallotech/nestjs-khalti. It supports ePayment Gateway(NEW) and transaction verification, but later more will be added. Just ping us or open pull request and contribute :)
17 lines • 738 B
TypeScript
import { HttpService } from '@nestjs/axios';
import { KhaltiInitResponse, KhaltiOptions, KhaltiRequestDto, KhaltiResponseDto } from "./khalti.interface";
export declare class KhaltiService {
private readonly options;
private readonly httpService;
private readonly paymentMode;
private readonly secretKey;
private readonly initiateUrl;
private readonly initiateUrlForTest;
private readonly lookupUrl;
private readonly lookupUrlForTest;
private readonly verifyUrl;
constructor(options: KhaltiOptions, httpService: HttpService);
init(khaltiRequestDto: KhaltiRequestDto): Promise<KhaltiInitResponse>;
lookUp(data: any): Promise<KhaltiResponseDto>;
}
//# sourceMappingURL=khalti.service.d.ts.map