Files
2024-04-24 13:45:16 +05:30

43 lines
1.3 KiB
Python

from django.urls import path
from . import views
app_name = "manage_wallet_api"
urlpatterns = [
path("webhook-test/", views.StripeWebhookTest.as_view(), name="webhook_test"),
path("postman-test/", views.TestWebhookAPI.as_view(), name="postman_test"),
path(
"postman-test-withdraw/",
views.TestWebhookAPIWithdraw.as_view(),
name="postman_test_withdraw",
),
path("get-wallet/", views.GetWallet.as_view(), name="get_wallet"),
path("get-transaction/", views.TransactionView.as_view(), name="transactions"),
path(
"create-stripe-connect/",
views.CreateStripeConnectAccount.as_view(),
name="stripe_connect",
),
path(
"add-bank-details/",
views.PrincipalBankAccountCreateAPIView.as_view(),
name="add_bank_account",
),
path(
"create-withdrawal-request/",
views.WithdrawalRequestCreateAPI.as_view(),
name="withdrawal-request-create",
),
path(
"view-withdrawal-request/",
views.WithdrawalRequestView.as_view(),
name="withdrawal-request-view",
),
# checking bank accounts
path(
"check-bank-accounts/",
views.PrincipalBankAccountCheck.as_view(),
name="check_bank_accounts",
),
]