diff --git a/services/mockDb.ts b/services/mockDb.ts index 38ce492..2cde5c1 100644 --- a/services/mockDb.ts +++ b/services/mockDb.ts @@ -382,5 +382,13 @@ export const CondoService = { method: 'POST', body: JSON.stringify({ amount, notes: 'PayPal / Manual Payment', familyId }) }); + }, + + getExpensePayments: async (expenseId: string, familyId: string): Promise => { + return request(`/expenses/${expenseId}/shares/${familyId}/payments`); + }, + + deleteExpensePayment: async (paymentId: string): Promise => { + return request(`/expenses/payments/${paymentId}`, { method: 'DELETE' }); } };