Skip to content
This repository was archived by the owner on Oct 7, 2023. It is now read-only.

Commit 2a523dd

Browse files
author
Mohammed Hammoud
committed
Add urls
1 parent c55f020 commit 2a523dd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

payments/api/urls.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from django.conf.urls import patterns, include, url
2+
3+
import views
4+
5+
urlpatterns = patterns('',
6+
url(r'^current-user/$', views.CurrentCustomerDetailView.as_view(), name='stripe-current-customer-detail'),
7+
url(r'^subscription/$', views.SubscriptionView.as_view(), name='stripe-subscription'),
8+
url(r'^change-card/$', views.ChangeCardView.as_view(), name='stripe-change-card'),
9+
url(r'^charges/$', views.ChargeListView.as_view(), name='stripe-charges'),
10+
url(r'^invoices/$', views.InvoiceListView.as_view(), name='stripe-invoices'),
11+
url(r'^plans/$', views.PlanListView.as_view(), name='stripe-plans'),
12+
url(r'^events/$', views.EventListView.as_view(), name='stripe-events'),
13+
url(r'^webhook/$', views.WebhookView.as_view(), name='stripe-webhook'),
14+
url(r'^cancel/$', views.CancelView.as_view(), name='stripe-cancel'),
15+
)

0 commit comments

Comments
 (0)