mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-04-19 23:46:53 +00:00
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m18s
28 lines
729 B
Python
28 lines
729 B
Python
# billing/urls.py
|
|
from django.urls import path
|
|
from .views import (
|
|
ListCreatePaymentView,
|
|
VerifyPaymentView,
|
|
PaymentDetailAPIView,
|
|
UpdatePaymentAPIView,
|
|
DeletePaymentView,
|
|
)
|
|
|
|
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(
|
|
"payment/<str:pk>/delete/",
|
|
DeletePaymentView.as_view(),
|
|
name="delete-payment",
|
|
),
|
|
path(
|
|
"payment/<str:pk>/verify/", VerifyPaymentView.as_view(), name="verify-payment"
|
|
),
|
|
]
|