Skip to main content

Uzcloud Billing

Project description

Uzcloud Billing is a Django app to provide account with Uzcloud Billing account number.

Quick start

1.Add “rest_framework” and “uzcloud_billing” to your INSTALLED_APPS :

INSTALLED_APPS = [
    ...
    'rest_framework',
    'uzcloud_billing',
]

2.Include the uzcloud_billing urls in your project urls.py like this :

path('api/billing/', include('uzcloud_billing.urls')),

3.Add Following credentials to settings.py :

UZCLOUD_BILLING = {
    "AUTH_URL": "",
    "BASE_URL": "",
    "CLIENT_ID": "",
    "CLIENT_SECRET": "",
    "IDENT_RESPONSE_SERIALIZER": "",
}

4.Run python manage.py migrate to create the uzcloud_billing models. 5.You may create receiver for balance filled event.Signal for your receiver must be uzcloud_billing.signals.balance_filled_signal. Receiver function get data as argument and data value is {“AccountNumber”:””,”paymentType”:””,”Amount”:””,”Balance”:””}

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

uzcloud_billing-0.2.20.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

uzcloud_billing-0.2.20-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file uzcloud_billing-0.2.20.tar.gz.

File metadata

  • Download URL: uzcloud_billing-0.2.20.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for uzcloud_billing-0.2.20.tar.gz
Algorithm Hash digest
SHA256 9860e181dcce788d0d16dd75abeabb92ba5c969aa20eb66e80a941ec46079028
MD5 9cd38f893a42f5ded7e9490b44d18c0a
BLAKE2b-256 3cf2b10a495a1b7f517fef3103f36f62477e3568a6680fcdf94458fd509fe60e

See more details on using hashes here.

File details

Details for the file uzcloud_billing-0.2.20-py3-none-any.whl.

File metadata

File hashes

Hashes for uzcloud_billing-0.2.20-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1f54d62980f14ca2dd55ba8f1adeb0bec41f8501aa801dc0b774e80abf86b1
MD5 2207d9d906014e7900f9b24237b869e3
BLAKE2b-256 e68eb036b005130231f11a2438a94374bbc98334d36f67254a1867168906465f

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