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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drf-stripe-1.2.6.tar.gz.
File metadata
- Download URL: drf-stripe-1.2.6.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
170f764b32edcd6d004fd0aa7720f1969d5dfeaa680cf17f1294fc828f364884
|
|
| MD5 |
a0814bd3d7f971f12f429408b19dd0a6
|
|
| BLAKE2b-256 |
42cc9e6c67e27c7d63d0a7b214dbd5c7d219c38a00852b343728d255cb00dc09
|
File details
Details for the file drf_stripe-1.2.6-py3-none-any.whl.
File metadata
- Download URL: drf_stripe-1.2.6-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb70255a70ad9665d63a025c1725c738aa583adeeb162da001c22a361e04623c
|
|
| MD5 |
bb2f1456872fd3286f847b3b07129f8a
|
|
| BLAKE2b-256 |
60d8bdee55bbfaba8285ea023a91dd7665ff7283ab23fff054a47f4828cab506
|