Skip to content

CrowdLinker/django-rest-framework-stripe

 
 

Repository files navigation

django-rest-framework-stripe

Django REST Framework wrapper of the payments Django app for Stripe

Install

  • pip install django-rest-framework-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)
  • change-card-token/ (POST)
  • charges/ (GET)
  • invoices/ (GET)
  • plans/ (GET)
  • events/ (GET)
  • webhook/ (POST)
  • cancel/ (POST)

ALL TEMPLATES AND AJAX VIEWS HAVE BEEN REMOVED, USE ADDED ENDPOINTS

Documentation can be found at http://django-stripe-payments.readthedocs.org

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%