Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitheap-gateway-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitheap-gateway-client

A Bitcoin gateway client for generating QR codes for payments in shops

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc