Socket
Socket
Sign inDemoInstall

pybitpay

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pybitpay

Non-official Python API for BitPay Payment Gateway API.


Maintainers
1

PyBitPay

Non-official Python API for BitPay <http://bitpay.com/>_ Payment Gateway API. You can review the source code here <https://bitbucket.org/victorlin/pybitpay>_ and use it on your own risk.

To create an invoice, you can do::

from bitpay import BitPayAPI
api = BitPayAPI('<Your API key goes here>')
result = api.create_invoice(
    price=100, 
    currency='USD', 
    posData='order0001',
    buyerName='John',
)
print result

To get invoice status, you can do ::

result = api.get_invoice_status('<Invoice ID>')
print result

This API is broght to you by EZComet.com <http://ezcomet.com>_ - the best realtime message pushing service. We accept bitcoin <http://bitcoin.org/>_!

Author blog: Victor Lin's coding notes <http://victorlin.me>_

Keywords

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc