Django REST Framework wrapper of the payments Django app for Stripe
Project description
Django REST Framework wrapper of the payments Django app for Stripe
Install
pip install drf-stripe
Add ‘payments’ to INSTALLED_APPS
Add to urls.py: url(r"^api/stripe/", include("payments.api.urls"))
Endpoints
current-user/ (GET)
subscription/ (GET/POST)
change-card/ (GET/POST)
charges/ (GET)
invoices/ (GET)
plans/ (GET)
events/ (GET)
webhook/ (POST)
cancel/ (POST)
Plans
“premium”: {“name”: “Premium”, “stripe_plan_id”: “price_1L6TduCWdky3mdpH4wCEdKvf”},
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drf-stripe-1.2.6.tar.gz
(29.9 kB
view hashes)
Built Distribution
drf_stripe-1.2.6-py3-none-any.whl
(40.3 kB
view hashes)
Close
Hashes for drf_stripe-1.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb70255a70ad9665d63a025c1725c738aa583adeeb162da001c22a361e04623c |
|
MD5 | bb2f1456872fd3286f847b3b07129f8a |
|
BLAKE2b-256 | 60d8bdee55bbfaba8285ea023a91dd7665ff7283ab23fff054a47f4828cab506 |