Skip to main content

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)

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.0.2.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_stripe-1.0.2-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file drf-stripe-1.0.2.tar.gz.

File metadata

  • Download URL: drf-stripe-1.0.2.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for drf-stripe-1.0.2.tar.gz
Algorithm Hash digest
SHA256 26961741b33276e218e3200fb6707c9ae7057e453409d05024907565af8cb9fa
MD5 13db4268af7d1a49a05818dcf5344220
BLAKE2b-256 baffb4be63cecd9b90152232ebb6cafc77625d5fee89d60c69e5a161c401002a

See more details on using hashes here.

File details

Details for the file drf_stripe-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: drf_stripe-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for drf_stripe-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d95ccc7cbb93b2b39eec6e58b3a45a86f5caebaa05b48758254140807f9e7e27
MD5 2c4cec3c0bba0d6ceba1a5fe1b66b64d
BLAKE2b-256 d745713edfd94218f1ad16adc5caf3fe370eac1e630883f295a6f1a070c764a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page