/*
 * Copyright 2025 Daytona Platforms Inc.
 * SPDX-License-Identifier: AGPL-3.0
 */

export interface OrganizationWallet {
  balanceCents: number
  ongoingBalanceCents: number
  name: string
  creditCardConnected: boolean

  automaticTopUp?: AutomaticTopUp
  hasFailedOrPendingInvoice?: boolean
}

export type AutomaticTopUp = {
  thresholdAmount: number
  targetAmount: number
}

export interface WalletTopUpRequest {
  amountCents: number
}
