from django.urls import path from monetization.views import ( CreateBillingPortalSessionView, CreateCheckoutSessionView, InvoiceListView, PaymentListView, PlanListView, RevenueCatWebhookView, StripeWebhookView, SubscriptionMeView, ) urlpatterns = [ path( "checkout/", CreateCheckoutSessionView.as_view(), name="finance_checkout", ), path( "portal/", CreateBillingPortalSessionView.as_view(), name="finance_portal", ), path( "invoices/", InvoiceListView.as_view(), name="finance_invoices", ), path( "payments/", PaymentListView.as_view(), name="finance_payments", ), path( "plans/", PlanListView.as_view(), name="finance_plans", ), path( "subscription/", SubscriptionMeView.as_view(), name="finance_subscription_me", ), path( "webhooks/stripe/", StripeWebhookView.as_view(), name="finance_stripe_webhook", ), path( "webhooks/revenuecat/", RevenueCatWebhookView.as_view(), name="finance_revenuecat_webhook", ), ]