feat: add donations feature with one-time payments - M6 (refs #55)
This commit is contained in:
@@ -9,4 +9,6 @@ export const subscriptionApi = {
|
||||
updatePaymentMethod: (data: PaymentMethodUpdateRequest) => apiClient.put('/subscriptions/payment-method', data),
|
||||
getInvoices: () => apiClient.get('/subscriptions/invoices'),
|
||||
downgrade: (data: DowngradeRequest) => apiClient.post('/subscriptions/downgrade', data),
|
||||
createDonation: (amount: number) => apiClient.post('/donations', { amount }),
|
||||
getDonations: () => apiClient.get('/donations'),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user