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)

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

drf-stripe-1.2.5.tar.gz (29.9 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.2.5-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drf-stripe-1.2.5.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

Hashes for drf-stripe-1.2.5.tar.gz
Algorithm Hash digest
SHA256 5b3270e276f43f20ef4ff56c993180145d8e8e826b6abbe952ea63fd1f41a7ba
MD5 f34b47c534d0a25fa46dbaae40159e5f
BLAKE2b-256 e5bccd2fbd354ebfeef6f5deba2f6836299417eae4b22b267f09f40c46a98fd6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for drf_stripe-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 09fc334a0bfb6378a3e2a6489ec28734c16a917d12edce9f152efad029323306
MD5 2883a1dccccbb9afc5cd7bfbe2743bc3
BLAKE2b-256 0bf397bc1f3e0cc9b57a19f7df214a4866c52eb9b2371e75d68ce1cecb979c47

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