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”},
Metadata
Release files for drf-stripe 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| drf-stripe-1.2.6.tar.gz | 29.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drf_stripe-1.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.2 kB
Release files / drf-stripe-1.2.6.tar.gz
| Download URL | drf-stripe-1.2.6.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
170f764b32edcd6d004fd0aa7720f1969d5dfeaa680cf17f1294fc828f364884
|
|
BLAKE2b-256 checksum How to use checksums |
42cc9e6c67e27c7d63d0a7b214dbd5c7d219c38a00852b343728d255cb00dc09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / drf_stripe-1.2.6-py3-none-any.whl
| Download URL | drf_stripe-1.2.6-py3-none-any.whl |
|---|---|
| Size | 40.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb70255a70ad9665d63a025c1725c738aa583adeeb162da001c22a361e04623c
|
|
BLAKE2b-256 checksum How to use checksums |
60d8bdee55bbfaba8285ea023a91dd7665ff7283ab23fff054a47f4828cab506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|