from django.urls import path
from package_payment.views.payment_view import CreateCheckoutSessionView, PackagePaymentSuccessView, StripeWebhookView
from package_payment.views.payment_list_view import PaymentListView

urlpatterns = [
    path('create-checkout-session/', CreateCheckoutSessionView.as_view(), name='create-checkout-session'),
    path('package-payment/success/', PackagePaymentSuccessView.as_view(), name='package-payment-success'),
    path('webhook/', StripeWebhookView.as_view(), name='stripe-webhook'),
    path("list/", PaymentListView.as_view()),
]