Skip to main content

Non-official Python API for BitPay Payment Gateway API.

Project description

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

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybitpay, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pybitpay-0.1.zip (10.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page