Binance and Crypto Payment Checkout
Project description
Direct-to-Wallet python Crypto Gateway: Fast Binance payment API (No Merchant account Needed)
Official Python SDK for Binance and Crypto Payment integration.
Installation
pip install binance-and-crypto-payment
🔑 GET API KEY
Get your API key: https://dash.payerurl.com
🚀 How It Works
- collect your payerurl api public key and secret key . Get your API key: https://dash.payerurl.com->dashboard->get api credencials
- Create a new file (payment.py) in your project root directory
- Paste the below code block
payment.py
from binance_and_crypto_payment import CryptoPaymentClient
import time
invoice_id = f"INV-{int(time.time())}"
amount=1.00
currency="USD"
first_name="customer first name"
last_name= "customer last name"
email= "customeremail@email.com"
# item variable
productItemName= "Product"
qty= "1"
price= "1.00"
client = CryptoPaymentClient(
public_key="PAYERURL API PUBLIC KEY", # your public key from dash.payerurl.com
secret_key="PAYERURL API SECRET KEY" # your secret key from dash.payerurl.com
)
response = client.payment(
invoice_id=invoice_id,
amount=amount, # default if there has no value
currency=currency, # default currency, please change accroding to your store currency
items=[{"name": productItemName , "qty": qty, "price": price}], # default product item description
data={
"first_name": first_name,
"last_name": last_name,
"email": email,
##-------------------------------DO NOT CHANGE THE BELOW SECTION-------------------------##
##---------------------------------------------------------------------------------------##
"redirect_url": "https://python.payerurl.com/success", # After successful payment customer will redirect to this url.
"notify_url": "https://python.payerurl.com/notify", # After payment complete our system automatically sent payment detail on this notify_url in few seconds.
"cancel_url": "https://python.payerurl.com/cancel", # If you user cancel any payment, user will redirect to cancel url
##-------------------------------DO NOT CHANGE THE ABOVE SECTION-------------------------##
##---------------------------------------------------------------------------------------##
}
)
print(response)
- run python .\payment.py
- you will get response like {'status': True, 'redirect_to': 'https://api-v2.payerurl.com/web-payment-option/PYP19DFD97D5DC'}
- the payment link is like "https://api-v2.payerurl.com/web-payment-option/PYP19DFD97D5DC"
- use this link to make a payment for your customer.
Accept USDT USDC BTC & ETH in python: 10-Minute Binance Payment Gateway Integration
Introduction
The Binance and Crypto Payment Gateway python projects is powered by Payerurl. This package acts as a robust cryptocurrency payment processor, allowing merchants and developers to receive customer payments directly into their crypto wallets without the need for a middleman or intermediary account. We specialize in Binance QR code payments, providing a smooth, integrated experience where users never have to leave your python application to complete a transaction.
Binance QR Code Payment
This package is the ideal solution for developers seeking a secure Binance payment integration for Python and django. Binance payment is a contactless, borderless, and highly secure payment method. By using this projects , you can accept payments via Binance QR codes and process transactions through the Binance personal account API.
The projects serves as a seamless bridge between Binance and your Python application. Customers simply scan the QR code on your checkout page to finish the transaction. This process is:
- Fast and Simple: No complex redirects or external logins for the user.
- Cost-Effective: Incurs no network fees or additional hidden costs.
- Secure: Enhanced security protocols help avoid scams and ensure transaction safety.
👉 LIVE DEMO — Click to open in new tab
How This Package Works
The Binance and Crypto Payment Gateway automatically converts any fiat currency to the selected cryptocurrency using live exchange rates. Once the payment is verified, funds are credited instantly to the merchant's wallet. The package then utilizes a secure API response to update your application's order status (e.g., from "Pending" to "Processing") in real-time.
Key Features
- Extensive Network Support: Supports Binance QR payment, Binance Pay, USDT (TRC20/ERC20), USDC (ERC20), Bitcoin (BTC), and Ethereum (ETH ERC20).
- Fiat Compatibility: Supports over 169+ fiat currencies (USD, CAD, GBP, EUR, etc.) with real-time exchange rates powered by payerurl.com.
- Developer Friendly: 100% Free Open Source package designed specifically for the Laravel ecosystem.
- Privacy Focused: No bank account or mandatory personal identity verification required.
- Simple Integration: Streamlined signup process with easy API key integration.
- Accessibility: No KYC required for withdrawals on Basic accounts.
- Dedicated Support: 24/7 technical assistance for integration via Telegram: https://t.me/Payerurl.
About Payerurl
Payerurl is a premier payment processor enabling direct cryptocurrency transfers from customers to merchant wallets. Merchants can integrate Binance personal/merchant APIs alongside various receiving wallets including USDT, BTC, ETH, and USDC. We utilize live market rates to ensure accurate conversion from local fiat currencies to the corresponding cryptocurrency amount.
🔴 LIVE DEMO
License
This projects is open-sourced software licensed under the MIT license.
Support
For support and questions, please contact us via:
- Telegram: https://t.me/Payerurl
- Website: https://payerurl.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file binance_and_crypto_payment-0.1.18.tar.gz.
File metadata
- Download URL: binance_and_crypto_payment-0.1.18.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e7f6b008803cd64fe7dd05266f69ba1a2686ec729ba06fcc4251444ff4a813c
|
|
| MD5 |
f7b727efaf4ca6e4cb227320a3586356
|
|
| BLAKE2b-256 |
12f0d17428b523a3cbb1c93113551c7e7098b1e9cbf1d0ee80b53a87f8742070
|
File details
Details for the file binance_and_crypto_payment-0.1.18-py3-none-any.whl.
File metadata
- Download URL: binance_and_crypto_payment-0.1.18-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c521a76e409d8fd43353dbf458365d78369302a870e16aa5d99a574de7d0b80d
|
|
| MD5 |
a0ceea2ea79847a46f289fde9828d487
|
|
| BLAKE2b-256 |
83dbf2717ad3164126a00f523d7706649a933884c413ff4b7c516c96f17b4e58
|