BitHeap Gateway Python Client
The bitheap_gateway_client is a Python package designed for e-commerce and retail platforms to facilitate Bitcoin payments. It simplifies the process of integrating Bitcoin payment functionality, including generating QR codes for Bitcoin transactions.
Features
- Request Bitcoin payments with QR code generation.
- Check the status of Bitcoin payments.
- Execute payouts in Bitcoin.
- Retrieve a seller's Bitcoin balance.
Installation
To install bitheap_gateway_client, simply use pip:
pip install bitheap_gateway_client
Usage
Here's how to use the bitheap_gateway_client in your Python project:
Importing the Client
from bitheap_gateway_client.client import BitHeapGatewayClient
Requesting a Payment
response = BitHeapGatewayClient.request_payment('expect', 'currency', 'message', 'seller', 'customer', 'callback_url', 'account_id')
print(response.json())
Checking Payment Status
response = BitHeapGatewayClient.check_payment('address')
print(response.json())
Processing a Payout
response = BitHeapGatewayClient.payout('seller', 'amount', 'currency', 'address', 'account_id')
print(response.json())
Getting Seller's Balance
response = BitHeapGatewayClient.get_seller_balance('seller')
print(response.json())
Contributions
Contributions are welcome! Please feel free to submit pull requests or open issues to improve the functionality or efficiency of this package.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for bitheap-gateway-client 0.1.0
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 |
|---|---|---|---|---|
| bitheap_gateway_client-0.1.0.tar.gz | 5.8 kB | Without provenance | Details for bitheap_gateway_client-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitheap_gateway_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bitheap_gateway_client-0.1.0-py3-none-any.whl |
Total release size: 11.8 kB
Release files / bitheap_gateway_client-0.1.0.tar.gz
| Download URL | bitheap_gateway_client-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fca4415d7b1fafa8acd0e180ff164810d1bf879070d53a97620795cc8aa4b9e1
|
|
BLAKE2b-256 checksum How to use checksums |
ca142a8d332e4eeeeada2228197a52b1bda56a240bed950fe6134ceb2b3c9095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Release files / bitheap_gateway_client-0.1.0-py3-none-any.whl
| Download URL | bitheap_gateway_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f052d456b8c6064afc8b79c267c79c71b7495762984e5148e1b5314679fe59f4
|
|
BLAKE2b-256 checksum How to use checksums |
7bdd520287ead8e5c6cd31e32ed7f9779e088c00eb84c79cf176b4c03417d84a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Security for bitheap-gateway-client 0.1.0
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.