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.21.tar.gz (12.8 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.21-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uzcloud_billing-0.2.21.tar.gz
  • Upload date:
  • Size: 12.8 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.21.tar.gz
Algorithm Hash digest
SHA256 5aa50eb3eb78eb55b2a316fbbd9671e47e5a011aa83bec6a0f6911505043d2c5
MD5 2a5f0b0c4f5bf7c0c4ba2376ea9847de
BLAKE2b-256 52b6cd00e93fa5629067e3cf6e8616506fed9403e6526add6544252586abd0b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uzcloud_billing-0.2.21-py3-none-any.whl
Algorithm Hash digest
SHA256 daeb38211fb6acfbdde5fbcb892ce06cc4308198c296ed597932931e8cf1a271
MD5 fd376fd9339067a8ea6cdfd84d39abcb
BLAKE2b-256 bccb63df439523128432eceb77329f78d54bed21173a532c3ea493fb72126c7c

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