using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Payouts.Commands.MarkPayoutFailed;

/// <summary>Records a reconciled bank rejection on a payout — sets <c>failed</c> with the reason. Posts <b>no</b>
/// ledger movement (no money left the platform). Used when the rail reports a transfer bounced after submit.</summary>
public record MarkPayoutFailedCommand(long PayoutId, string FailureReason) : IRequest<OperationResult<bool>>;
