PyBitPay
Non-official Python API for BitPay Payment Gateway API. You can review the source code here 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 - the best realtime message pushing service. We accept bitcoin!
Author blog: Victor Lin’s coding notes
Metadata
Release files for pybitpay 0.1
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 |
|---|---|---|---|---|
| pybitpay-0.1.zip | 10.1 kB | Without provenance | Details for pybitpay-0.1.zip |
Release files / pybitpay-0.1.zip
| Download URL | pybitpay-0.1.zip |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d2bf19936cce5c531a0af8a8933dd9ef312fe0b21db35aee1bb935aea878f27
|
|
BLAKE2b-256 checksum How to use checksums |
ef845cf40f980ebf187bcbd881017341f85dc1327ae40f827c422748c12ea5ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pybitpay 0.1
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.