brij
A client api for brij fintech
installation
pip install brij-fintech==0.0.5
getting started
in order to use brij services,you'll need to follow these simple steps
- create an account with them
- create a service/application under your brij account dashboard
- note down your app ID and appKey
Integration
Direct Payment: sending direct payment from your customer to your brij account using M-Pesa
from brij.mpesa import MpesaService
to_acc = MpesaService(app_id='YOUR-BRIJ-APP-ID', app_key='YOUR-BRIJ-APP-KEY')
response = to_acc.mpesa_to_acc(amount, sender, MPESA-NUMBER, description='short description')
if r:
print(r.json())
else:
print('error')
- the description text must not exceed 16 chars
- MPESA-NUMBER is the number making the transaction. the supported format starts is 254712345678
Escrow: sending escrow payment between your customers with your account acting as an escrow account, using M-pesa
from mpesa import MpesaService
service = MpesaService(app_id='YOUR-BRIJ-APP-ID', app_key='YOUR-BRIJ-APP-KEY')
r = service.mpesa_to_escrow(amount, 'sender email or phone', 'recepient email or phone', MPESA-NUMBER, 'short deacription')
print(r.json())
- the MPESA-NUMBER is the number making the transaction. the supported format is 254712345678
- short description must not exceed 16 chars
- sender email or phone are required in order to reach both parties with updates on the transaction
Metadata
Release files for brij-fintech 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brij-fintech-0.0.7.tar.gz | 4.3 kB | Without provenance | Details for brij-fintech-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brij_fintech-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for brij_fintech-0.0.7-py3-none-any.whl |
Total release size: 12.7 kB
Release files / brij-fintech-0.0.7.tar.gz
| Download URL | brij-fintech-0.0.7.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2d0968cbed089e078487ee2d03120bd2a1781f59f95fb0d7138388d79e13880
|
|
BLAKE2b-256 checksum How to use checksums |
33efef1402bc26f644e52ecfdb81c16b514e87eb1cc487dd676117ce5a474430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / brij_fintech-0.0.7-py3-none-any.whl
| Download URL | brij_fintech-0.0.7-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87a71a60945de32679903bdb878f2d09605d988475921cbd27d32793f1c481bf
|
|
BLAKE2b-256 checksum How to use checksums |
9e93cd2e0bbcf470f487ac1cb02751b13beb566bf0323b53353fe302d33a251a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Security for brij-fintech 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.