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.18.tar.gz (12.1 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.18-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uzcloud_billing-0.2.18.tar.gz
  • Upload date:
  • Size: 12.1 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.18.tar.gz
Algorithm Hash digest
SHA256 23605c6e84256f3c0915999237eb4d627be7d1fed1d03040dfd7f17962481098
MD5 e15a9afe582c367213d283fac772536b
BLAKE2b-256 a5f29598638700222213080b101d7b3d1d8303e5768ebd95f3c5cb940079bc46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for uzcloud_billing-0.2.18-py3-none-any.whl
Algorithm Hash digest
SHA256 77134388a1665eb8e6462f931a4626ac094f637cb7ef38fc0e8d77817122b2a6
MD5 e32995ea68466fd61beee9e7c62e2fff
BLAKE2b-256 9ef08276d7c45ecb6005a61eb54be6f06a8b7fc46d10182da6ba6fc139a261d1

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