Fetch account details and display

This commit is contained in:
2023-03-09 16:44:16 +00:00
parent de04f8d29b
commit bcfa8f61e1
14 changed files with 362 additions and 63 deletions

View File

@@ -20,7 +20,7 @@ from django.contrib.auth.views import LogoutView
from django.urls import include, path
from two_factor.urls import urlpatterns as tf_urls
from core.views import aggregators, base, notifications
from core.views import aggregators, banks, base, notifications
# from core.views.stripe_callbacks import Callback
@@ -93,4 +93,16 @@ urlpatterns = [
aggregators.ReqInfo.as_view(),
name="req_info",
),
# Request bank fetch
path(
"ops/bank_fetch/<str:pk>/",
aggregators.RequestBankFetch.as_view(),
name="bank_fetch",
),
# Bank details by currency
path(
"banks/<str:type>/details/",
banks.BanksCurrencies.as_view(),
name="currencies",
),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)