using Application.Abstractions.Messaging;
namespace Application.Features.Api.Payment.Toss.Confirm;
///
/// 토스 결제 승인. successUrl 콜백의 {paymentKey, orderId, amount} 를 받아
/// 서버 저장 주문 금액과 대조(변조 차단) 후 서버 저장 금액으로 승인 API 를 호출한다.
///
public sealed record Command(
string PaymentKey,
string OrderID,
int Amount,
int MemberID = 0
) : ICommand;