HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
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')

]