feat(views): implement topup cancellation and update status to CANCELLED

This commit is contained in:
2025-07-05 17:37:35 +05:00
parent 2da9dcf141
commit 7003e4bcba
2 changed files with 18 additions and 9 deletions

View File

@ -9,7 +9,7 @@ from .views import (
ListCreateTopupView,
VerifyTopupPaymentAPIView,
TopupDetailAPIView,
DeleteTopupView,
CancelTopupView,
)
urlpatterns = [
@ -37,8 +37,8 @@ urlpatterns = [
name="verify-topup-payment",
),
path(
"topup/<str:pk>/delete/",
DeleteTopupView.as_view(),
name="delete-topup",
"topup/<str:pk>/cancel/",
CancelTopupView.as_view(),
name="cancel-topup",
),
]