export interface PaymentGatewayOrder {
  id: string;
  gatewayOrderId: string;
  amount: number;
  currency: string;
  status: string;
  rawResponse?: any;
}

export interface PaymentGatewayCheckout {
  checkoutUrl: string;
  gatewayOrderId?: string;
  gatewayTransactionId?: string;
  qrCodeData?: string; // For dynamic UPI QR
  intentUrl?: string; // For UPI Intent deep links
}

export interface PaymentGatewayVerify {
  success: boolean;
  status: string;
  gatewayPaymentId?: string;
  gatewayTransactionId?: string;
  message?: string;
  rawResponse?: any;
}

export interface PaymentGatewayCapture {
  success: boolean;
  gatewayPaymentId: string;
  amount: number;
  status: string;
}

export interface PaymentGatewayRefund {
  success: boolean;
  gatewayRefundId: string;
  amount: number;
  status: string;
  rawResponse?: any;
}

export interface PaymentGatewayStatus {
  status: string; // SUCCESS, FAILED, PENDING, etc.
  gatewayPaymentId?: string;
  gatewayTransactionId?: string;
  rawResponse?: any;
}
