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”:””}
Release files for uzcloud-billing 0.2.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uzcloud_billing-0.2.22.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uzcloud_billing-0.2.22-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.7 kB
Release files / uzcloud_billing-0.2.22.tar.gz
| Download URL | uzcloud_billing-0.2.22.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b5c345089dfcc12a6019ee8df46e632457ca0e141f45a6339fddd8bd9bf3e4d
|
|
BLAKE2b-256 checksum How to use checksums |
221e37f74eac6751564ac71f4ff5a5fec098f6823fe23bd90d08d7e382846ebf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / uzcloud_billing-0.2.22-py3-none-any.whl
| Download URL | uzcloud_billing-0.2.22-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c11c58ffc8c3714ac07360008841b4952453090c73d170e4bb6d05d34954a20
|
|
BLAKE2b-256 checksum How to use checksums |
b0847051570432de56466a1bedd465089a77f215c7bbf44f83d0033d060e134e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|