Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pybitpay-0.1.zip (10.1 kB) Copy SHA256 Checksum SHA256 Source Apr 3, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting