Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/null-none/drf-stripe
💳 Django REST Framework wrapper of the payments Django app for Stripe
https://github.com/null-none/drf-stripe
api django django-rest-framework drf stripe stripe-api
Last synced: about 1 month ago
JSON representation
💳 Django REST Framework wrapper of the payments Django app for Stripe
- Host: GitHub
- URL: https://github.com/null-none/drf-stripe
- Owner: null-none
- License: mit
- Created: 2021-12-15T19:17:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T18:19:32.000Z (over 2 years ago)
- Last Synced: 2024-11-19T09:51:12.934Z (about 2 months ago)
- Topics: api, django, django-rest-framework, drf, stripe, stripe-api
- Language: Python
- Homepage:
- Size: 112 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
======================
drf-stripe
======================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"},