Florian Mihalits 4772d0d462 Add auto-payout feature for wallets with balances
Introduced new methods in `IWalletService` and `WalletService` to retrieve wallets with positive balances. Added `AutoPayout` and `RunAutoPayout` methods in `ToolsController` to automate payouts, including synchronization with MangoPay balances.

Created `AutoPayoutVm` and `RunAutoPayoutVm` view models. Added Razor views `AutoPayout.cshtml` and `RunAutoPayout.cshtml` for managing and displaying payout processes.

Updated `appsettings` files to reduce `MinPayoutAmmount` from 1000 to 1. Refactored `ToolsController` for better wallet handling, added error handling, and improved code formatting. Commented out KYC check logic in `ApiPaymentController` with a TODO for review.
2025-11-21 13:19:58 +01:00

23 lines
522 B
C#

using gehGassi.Domain.Dogs;
using gehGassi.Domain.Payment;
using gehGassi.Dto.Payment;
namespace gehGassi.Web.Models
{
/// <summary>
/// Viewmodel für das Autopayout tool
/// </summary>
public class AutoPayoutVm
{
public Wallet Wallet { get; set; }
public AppUser AppUser { get; set; }
}
public class RunAutoPayoutVm
{
public Wallet Wallet { get; set; }
public AppUser AppUser { get; set; }
public PayoutDto PayoutDto { get; set; }
}
}