import { client } from "../client"; import type { PaymentBalance } from "./types"; export function getPaymentBalanceByUserId( userId: string, signal?: AbortSignal, ): Promise { return client(`/payments/balance/${encodeURIComponent(userId)}`, { signal }); }