import api from './api';

const staffPaymentService = {
    getAll: () => api.get('/staff-payments'),
    create: (data) => api.post('/staff-payments', data),
    updateStatus: (id, data) => api.put(`/staff-payments/${id}/status`, data),
    delete: (id) => api.delete(`/staff-payments/${id}`),
};

export default staffPaymentService;
