Skip to main content

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

Download files

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

Source Distribution

pybitpay-0.1.zip (10.1 kB view details)

Uploaded Source

File details

Details for the file pybitpay-0.1.zip.

File metadata

  • Download URL: pybitpay-0.1.zip
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pybitpay-0.1.zip
Algorithm Hash digest
SHA256 2d2bf19936cce5c531a0af8a8933dd9ef312fe0b21db35aee1bb935aea878f27
MD5 5116a40cc160256412304cebdd99115a
BLAKE2b-256 ef845cf40f980ebf187bcbd881017341f85dc1327ae40f827c422748c12ea5ca

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page