import axiosInstance from "../axios";

export type OverviewUser = {
    walletBalance: number,
    dollarBalance: number,
    score: number,
    _id: string,
    id: string
}

export interface OverviewResponse {
    pending: boolean,
    user: OverviewUser
}

export const getWalletDetails = () => axiosInstance.get<OverviewResponse[] | OverviewResponse | [], any>("/gps/overview/wallet")

