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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file uzcloud-billing-0.2.17.tar.gz
.
File metadata
- Download URL: uzcloud-billing-0.2.17.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d410b0a24ef23ae222d41d111fda500018bbbc768301cff7409fedfb0518b3 |
|
MD5 | 792cd065ec2af3cfa26e34b51bef0883 |
|
BLAKE2b-256 | 234fa5265f1281c06bf18551947c399ae988bc8507a7b2c0c91345ffe0d971e5 |
File details
Details for the file uzcloud_billing-0.2.17-py3-none-any.whl
.
File metadata
- Download URL: uzcloud_billing-0.2.17-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c18dacff660e2be60f2d4870c7eed4bab59e484fff4ea612262d91e4365c733d |
|
MD5 | 2a484054430a2aa7725275844dc0da52 |
|
BLAKE2b-256 | f3305d6320d1c9bfec64e87d92925618889ffe281cdcde0494d670cecc87acbe |