Skip to main content

Binance and Crypto Payment Checkout

Project description

binance-and-crypto-payment

Official Python SDK for Binance and Crypto Payment integration.

Installation

pip install binance-and-crypto-payment

Usage

from binance_and_crypto_payment import CryptoPaymentClient

client = CryptoPaymentClient("PUBLIC_KEY", "SECRET_KEY")

response = client.payment( invoice_id="INV001", amount=1.00, items=[{"name": "Product", "qty": "1", "price": "1.00"}], data={ "first_name": "John", "last_name": "Doe", "email": "john@example.com", "redirect_url": "https://example.com/success", "notify_url": "https://example.com/notify", "cancel_url": "https://example.com/cancel", } )

print(response)

Project details


Download files

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

Source Distribution

binance_and_crypto_payment-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

binance_and_crypto_payment-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file binance_and_crypto_payment-0.1.1.tar.gz.

File metadata

File hashes

Hashes for binance_and_crypto_payment-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4198826f37d2742aaeb5bea04c4e583fdce9cef5d0bbe4cfdc60e378691273de
MD5 8cf1abd148bd2e096d3d92d36b8cf6d9
BLAKE2b-256 5065912b7101d878e9ee50ec2039b04769fb064920815022870dca3a90486deb

See more details on using hashes here.

File details

Details for the file binance_and_crypto_payment-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for binance_and_crypto_payment-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b7fcf465d6f04f84f228df2c381270f63ef85aef9677878fd79b009ea8f15fa
MD5 167c481d22cb29d845359c754a9cfadf
BLAKE2b-256 f24ca36b6af51fdd91c6fb7b4c28c32dab96577435a35bd0f6d4271e477e9f1a

See more details on using hashes here.

Supported by

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