gohl
Version:
Go Highlevel Node Js ease of use library implementation to their API
28 lines (27 loc) • 623 B
TypeScript
export interface IPaymentTransaction {
id: string;
orderId: string;
amount: number;
currency: string;
status: string;
type: string;
provider: string;
createdAt: string;
updatedAt: string;
}
export interface IPaymentTransactionResponse {
transaction: IPaymentTransaction;
traceId: string;
}
export interface IPaymentTransactionListResponse {
transactions: IPaymentTransaction[];
total: number;
traceId: string;
}
export interface IPaymentTransactionParams {
orderId?: string;
page?: number;
limit?: number;
sort?: string;
order?: "asc" | "desc";
}