application request create

This commit is contained in:
Sayyid Hamid Mahdavi 2025-06-05 21:38:26 +03:30
parent e5c58c98aa
commit d57d40ffa7

View file

@ -1,5 +1,6 @@
from django.urls import path, include from django.urls import path, include
from .views import PaymentRequestView, PaymentRequestCreateApiView, PaymentConfirmView from .views import PaymentRequestView, PaymentRequestCreateApiView, PaymentConfirmView, \
ApplicationPaymentRequestCreateApiView
app_name = "pg" app_name = "pg"
@ -7,4 +8,5 @@ urlpatterns = [
path('page/charge/<uuid>/', PaymentRequestView.as_view(), name='payment-request-view'), path('page/charge/<uuid>/', PaymentRequestView.as_view(), name='payment-request-view'),
path('page/pna_callback/<uuid>/', PaymentConfirmView.as_view(), name='payment-confirm-view'), path('page/pna_callback/<uuid>/', PaymentConfirmView.as_view(), name='payment-confirm-view'),
path('api/charge_create/', PaymentRequestCreateApiView.as_view(), name='charge-request-create-api-view'), path('api/charge_create/', PaymentRequestCreateApiView.as_view(), name='charge-request-create-api-view'),
path('api/application/charge_create/', ApplicationPaymentRequestCreateApiView.as_view(), name='application-user-charge-request-create-api-view'),
] ]