sslcommerz
Version:
### Installation
19 lines (18 loc) • 872 B
TypeScript
export declare class SslCommerzPayment {
private readonly baseURL;
private readonly initURL;
private readonly validationURL;
private readonly refundURL;
private readonly refundQueryURL;
private readonly transactionQueryBySessionIdURL;
private readonly transactionQueryByTransactionIdURL;
private readonly store_id;
private readonly store_password;
constructor(store_id: any, store_passwd: any, live?: boolean);
init(data: any, url?: boolean, method?: string): any;
validate(data: any, url?: boolean, method?: string): any;
initiateRefund(data: any, url?: boolean, method?: string): any;
refundQuery(data: any, url?: boolean, method?: string): any;
transactionQueryBySessionId(data: any, url?: boolean, method?: string): any;
transactionQueryByTransactionId(data: any, url?: boolean, method?: string): any;
}