feat(admin): add AdminTopupCreateView for admin top-up functionality

This commit is contained in:
2025-07-27 10:50:40 +05:00
parent 3e7a74950e
commit cdef5ed27c
2 changed files with 43 additions and 0 deletions
+2
View File
@@ -11,6 +11,7 @@ from .views import (
TopupDetailAPIView,
CancelTopupView,
ListWalletTransactionView,
AdminTopupCreateView,
)
urlpatterns = [
@@ -37,6 +38,7 @@ urlpatterns = [
VerifyTopupPaymentAPIView.as_view(),
name="verify-topup-payment",
),
path("admin-topup/", AdminTopupCreateView.as_view(), name="admin-topup"),
path(
"topup/<str:pk>/cancel/",
CancelTopupView.as_view(),