"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.refundPaymentSchema = exports.verifyPaymentSchema = exports.initiatePaymentSchema = void 0;
const zod_1 = require("zod");
exports.initiatePaymentSchema = zod_1.z.object({
    orderId: zod_1.z.string().min(1, 'Order ID is required'),
    gateway: zod_1.z.string().min(1, 'Payment gateway is required'),
    method: zod_1.z.string().optional().default('UPI'),
});
exports.verifyPaymentSchema = zod_1.z.object({
    orderId: zod_1.z.string().min(1, 'Order ID is required'),
    payload: zod_1.z.any(),
});
exports.refundPaymentSchema = zod_1.z.object({
    paymentId: zod_1.z.string().min(1, 'Payment ID is required'),
    amount: zod_1.z.number().positive('Refund amount must be positive'),
    reason: zod_1.z.string().optional(),
});
//# sourceMappingURL=payment.validator.js.map