Add UpdateUserWalletView and CustomUserByWalletBalanceSerializer for wallet balance updates
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m12s

This commit is contained in:
2025-04-05 20:53:06 +05:00
parent d67794df62
commit b87dcfaf26
8 changed files with 95 additions and 16 deletions

View File

@ -1,9 +1,19 @@
# billing/urls.py
from django.urls import path
from .views import ListCreatePaymentView, VerifyPaymentView, PaymentDetailAPIView
from .views import (
ListCreatePaymentView,
VerifyPaymentView,
PaymentDetailAPIView,
UpdatePaymentAPIView,
)
urlpatterns = [
path("payment/", ListCreatePaymentView.as_view(), name="create-payment"),
path("payment/<str:pk>/", PaymentDetailAPIView.as_view(), name="retrieve-payment"),
path(
"payment/<str:pk>/update/",
UpdatePaymentAPIView.as_view(),
name="update-payment",
),
path("verify-payment/", VerifyPaymentView.as_view(), name="verify-payment"),
]