File: //home/arjun/projects/unlimited-leads/Unlimited-Leads-Be/payment/urls.py
from django.urls import path
from payment.views import list_products, create_payment_intent, create_setup_intent, create_subscription, stripe_webhook, TransactionListView, create_free_plan_transaction, scheduled_cancel_subscription, update_subscription_plan
urlpatterns = [
path("products/", list_products, name="list_products"),
path('create-intent/', create_payment_intent, name='create_payment_intent'),
path('setup-intent/', create_setup_intent, name='create_setup_intent'),
path('create-subscription/', create_subscription, name='create_subscription'),
path('webhook/', stripe_webhook, name='stripe_webhook'),
path('transactions/', TransactionListView.as_view(), name='list_transactions'),
path('subscribe-free-plan/', create_free_plan_transaction, name='create_free_plan_transaction'),
# path('cancel-subscription/', cancel_subscription, name='cancel_subscription'),
path('cancel-subscription/', scheduled_cancel_subscription, name='cancel_subscription'),
path('update-subscription/', update_subscription_plan, name='update_subscription')
]