feat(billing): Implement TopupDetailAPIView for retrieving single topup details

This commit is contained in:
2025-07-04 10:11:09 +05:00
parent 25bad98900
commit 61e008d4fb
3 changed files with 22 additions and 1 deletions

View File

@ -8,6 +8,7 @@ from .views import (
DeletePaymentView,
ListCreateTopupView,
VerifyTopupPaymentAPIView,
TopupDetailAPIView,
)
urlpatterns = [
@ -28,7 +29,7 @@ urlpatterns = [
),
# Topups
path("topup/", ListCreateTopupView.as_view(), name="create-list-topups"),
# path("topup/<str:pk>/", TopupDetailAPIView.as_view(), name="retrieve-topup"),
path("topup/<str:pk>/", TopupDetailAPIView.as_view(), name="retrieve-topup"),
path(
"topup/<str:pk>/verify/",
VerifyTopupPaymentAPIView.as_view(),