add: add payme api

This commit is contained in:
behruz-dev
2025-09-16 21:30:23 +05:00
parent 795eb7a5a9
commit 0252033586
7 changed files with 97 additions and 16 deletions

View File

@@ -8,6 +8,8 @@ from rest_framework.permissions import IsAdminUser
from drf_yasg.views import get_schema_view
from drf_yasg import openapi
from core.apps.payment.views import PaymeCallBackAPIView
schema_view = get_schema_view(
openapi.Info(
@@ -34,7 +36,8 @@ urlpatterns = [
path('orders/', include('core.apps.orders.urls')),
path('payment/', include('core.apps.payment.urls')),
]
))
)),
path('payment/update/', PaymeCallBackAPIView.as_view()),
]