feat(billing): Add delete functionality for topups and update creation logic with expiration time

This commit is contained in:
2025-07-04 20:14:37 +05:00
parent 740d16189b
commit ddb65ca985
3 changed files with 67 additions and 11 deletions

View File

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