diff --git a/apps/pg/urls.py b/apps/pg/urls.py index 292f7d9..f3d08d0 100644 --- a/apps/pg/urls.py +++ b/apps/pg/urls.py @@ -1,5 +1,6 @@ from django.urls import path, include -from .views import PaymentRequestView, PaymentRequestCreateApiView, PaymentConfirmView +from .views import PaymentRequestView, PaymentRequestCreateApiView, PaymentConfirmView, \ + ApplicationPaymentRequestCreateApiView app_name = "pg" @@ -7,4 +8,5 @@ urlpatterns = [ path('page/charge//', PaymentRequestView.as_view(), name='payment-request-view'), path('page/pna_callback//', PaymentConfirmView.as_view(), name='payment-confirm-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'), ]