Security recovery: hold sweep, dashboard updates, and admin fixes.
This commit is contained in:
@@ -46,4 +46,9 @@ export const paymentsApi = {
|
||||
|
||||
refund: (id: string) =>
|
||||
fetchApi<{ message: string }>(`/api/payments/${id}/refund`, { method: 'POST' }),
|
||||
|
||||
reactivate: (id: string) =>
|
||||
fetchApi<{ payment: Payment; message: string }>(`/api/payments/${id}/reactivate`, {
|
||||
method: 'POST',
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user