gohl
Version:
Go Highlevel Node Js ease of use library implementation to their API
21 lines (20 loc) • 842 B
TypeScript
import { AuthData } from "../interfaces/auth/authdata";
import { IPaymentTransactionResponse, IPaymentTransactionListResponse, IPaymentTransactionParams } from "../interfaces/payment.transaction";
export declare class PaymentTransactions {
private authData?;
constructor(authData?: AuthData);
/**
* Get Transaction by ID
* Documentation - https://highlevel.stoplight.io/docs/integrations/a3b6a89c5d8f9-get-transaction-by-id
* @param transactionId
* @returns
*/
get(transactionId: string): Promise<IPaymentTransactionResponse>;
/**
* List Transactions
* Documentation - https://highlevel.stoplight.io/docs/integrations/b8c9d2f5e3a10-list-transactions
* @param params
* @returns
*/
getAll(params?: IPaymentTransactionParams): Promise<IPaymentTransactionListResponse>;
}