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.19.tar.gz (12.4 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.19-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uzcloud_billing-0.2.19.tar.gz
  • Upload date:
  • Size: 12.4 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.19.tar.gz
Algorithm Hash digest
SHA256 8165546853a4403be18907f54a8a3c1961b2a0faf481e1b8eeec9e7dea8a1e10
MD5 d16fe9577376613fbf7c789b98aa607d
BLAKE2b-256 8b48d86f55048838a811dabc913926fe7191c74d6d5585b7331f60c066bf58e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uzcloud_billing-0.2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 a3ef82d6161cc2a3773c72d7bc9d1d50a2b9c4d3e5d901f6d05f77734f481f1a
MD5 be7f648160880d67accb0c0118201743
BLAKE2b-256 87cc42d7212b46c5e0aa75ed1e5906db59c339c64f67e96c205c1836f8857ef0

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