Accept Bitcoin, USDT, USDC, ETH and Binance Pay directly into your wallet โ no merchant account, no KYC, 10-minute Python integration
Project description
๐ช Binance & Crypto Payment Gateway for Python
Accept Bitcoin, USDT, USDC, ETH, and BNB payments directly into your wallet โ no middleman, no merchant account, no KYC required.
Powered by PayerURL โ the direct-to-wallet crypto payment processor for Python developers.
๐ด LIVE DEMO | ๐ Get API Key | ๐ฌ Telegram Support
โ Why Developers Choose This Package
| Feature | Detail |
|---|---|
| ๐ฆ No merchant account needed | Payments go directly to your crypto wallet |
| ๐ 169+ fiat currencies | USD, EUR, GBP, CAD and more โ converted at live rates |
| โก 10-minute integration | Simple API, clear docs, copy-paste code |
| ๐ No KYC for withdrawals | Basic accounts withdraw without identity verification |
| ๐ฑ Binance QR Code payments | Customers scan and pay without leaving your app |
| ๐ธ Zero hidden fees | No network surcharges or platform fees |
| ๐ ๏ธ Django & Flask ready | Works with any Python web framework |
๐ฆ Installation
pip install binance-and-crypto-payment
๐ Get Your API Key (Free)
- Sign up at dash.payerurl.com
- Go to Dashboard โ Get API Credentials
- Copy your Public Key and Secret Key
๐ Registration is free and takes under 2 minutes. No credit card required.
๐ Quick Start (5 Lines of Code)
from binance_and_crypto_payment import CryptoPaymentClient
import time
client = CryptoPaymentClient(
public_key="YOUR_PUBLIC_KEY", # from dash.payerurl.com
secret_key="YOUR_SECRET_KEY"
)
response = client.payment(
invoice_id=f"INV-{int(time.time())}",
amount=10.00,
currency="USD",
items=[{"name": "Product", "qty": "1", "price": "10.00"}],
data={
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
##-------------------------------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)
# {'status': True, 'redirect_to': 'https://api-v2.payerurl.com/web-payment-option/PYP...'}
Send the customer to response['redirect_to'] โ they pay with crypto, you receive it instantly in your wallet.
๐ Supported Cryptocurrencies & Networks
| Currency | Networks |
|---|---|
| USDT | TRC20 (Tron), ERC20 (Ethereum) |
| USDC | ERC20 (Ethereum) |
| Bitcoin (BTC) | Bitcoin Network |
| Ethereum (ETH) | ERC20 |
| Binance Pay | Binance QR Code |
๐ Django Integration Example
# views.py
from binance_and_crypto_payment import CryptoPaymentClient
from django.http import JsonResponse
import time
def create_payment(request):
client = CryptoPaymentClient(
public_key="YOUR_PUBLIC_KEY",
secret_key="YOUR_SECRET_KEY"
)
response = client.payment(
invoice_id=f"INV-{int(time.time())}",
amount=float(request.POST.get("amount")),
currency="USD",
items=[{"name": request.POST.get("product"), "qty": "1", "price": request.POST.get("amount")}],
data={
"first_name": request.user.first_name,
"last_name": request.user.last_name,
"email": request.user.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-------------------------##
##---------------------------------------------------------------------------------------##
}
)
return JsonResponse(response)
๐ Flask Integration Example
# app.py
from flask import Flask, request, jsonify, redirect
from binance_and_crypto_payment import CryptoPaymentClient
import time
app = Flask(__name__)
client = CryptoPaymentClient(
public_key="YOUR_PUBLIC_KEY",
secret_key="YOUR_SECRET_KEY"
)
@app.route("/pay", methods=["POST"])
def pay():
response = client.payment(
invoice_id=f"INV-{int(time.time())}",
amount=float(request.form["amount"]),
currency="USD",
items=[{"name": "Order", "qty": "1", "price": request.form["amount"]}],
data={
"first_name": request.form["first_name"],
"last_name": request.form["last_name"],
"email": request.form["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-------------------------##
##---------------------------------------------------------------------------------------##
}
)
return redirect(response["redirect_to"])
๐ฒ How the Binance QR Payment Works
- Your app calls the API and gets a payment URL
- Customer is redirected to a secure checkout page
- Customer scans the QR code with their Binance app
- Payment is confirmed and funds land directly in your wallet
- Your
notify_urlreceives a webhook with the order status update
No bank accounts. No intermediaries. No waiting.
๐ก๏ธ Security & Privacy
- โ Payments go directly to your wallet โ PayerURL never holds your funds
- โ No mandatory KYC for basic accounts
- โ No personal identity verification required to get started
- โ Secure API with HMAC signature verification
- โ MIT licensed โ fully open source, audit it yourself
๐ Supported Fiat Currencies (169+)
USD, EUR, GBP, CAD, AUD, JPY, SGD, AED, INR, BRL, MXN, NGN, PKR, BDT, and 150+ more.
All fiat amounts are automatically converted to the equivalent crypto amount at live market rates.
๐ Full Payment Flow Diagram
Your App โ PayerURL API โ Checkout Page โ Customer Pays (Binance/Crypto)
โ
Your Wallet โ Funds (instant) โ Payment Verified โ Blockchain
โ
Your notify_url โ Webhook (order status update)
๐ Compared to Other Payment Solutions
| PayerURL (This Package) | Stripe / PayPal | Coinbase Commerce | |
|---|---|---|---|
| No merchant account | โ | โ | โ |
| Direct to your wallet | โ | โ | Partial |
| No KYC required | โ (Basic) | โ | โ |
| Binance QR support | โ | โ | โ |
| Python SDK | โ | โ | โ |
| 169+ fiat currencies | โ | Partial | โ |
| Zero platform fees | โ | โ | โ |
โ FAQ
Do I need a Binance account? Yes, to accept Binance QR payments. For USDT/BTC/ETH/USDC, you just need the corresponding wallet address.
Is there a transaction fee? No network or hidden fees from PayerURL. Standard blockchain network fees may apply depending on the coin.
Can I use this without KYC? Yes. Basic accounts can receive and withdraw crypto without mandatory identity verification.
Does this work with Django REST Framework / FastAPI? Yes โ it's a pure Python client that works with any framework.
๐ฌ Support
| Channel | Link |
|---|---|
| ๐ฌ Telegram | t.me/Payerurl |
| ๐ Website | payerurl.com |
| ๐ Dashboard | dash.payerurl.com |
| ๐ด Live Demo | python.payerurl.com |
๐ License
MIT License โ free for personal and commercial use.
๐ท๏ธ Keywords
crypto payment bitcoin payment python binance payment gateway usdt payment django usdc payment flask accept crypto python crypto checkout binance qr code trc20 payment erc20 payment no kyc payment gateway direct wallet payment crypto invoice python binance pay api payerurl python sdk
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.19.tar.gz.
File metadata
- Download URL: binance_and_crypto_payment-0.1.19.tar.gz
- Upload date:
- Size: 10.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 |
468392073b90f606ae4c4e01476aa3d61bd6f150f338181c396f11c7b29d1dfc
|
|
| MD5 |
545a248792c2f652cfb8b07359fa9816
|
|
| BLAKE2b-256 |
7ea25895e4b46d2748e7af8018a55e39833254304d585bb566438425687fccf7
|
File details
Details for the file binance_and_crypto_payment-0.1.19-py3-none-any.whl.
File metadata
- Download URL: binance_and_crypto_payment-0.1.19-py3-none-any.whl
- Upload date:
- Size: 9.0 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 |
8f527d8d4ad363b23a21dfb11219af53e3acac539008c1648e9565199425e074
|
|
| MD5 |
54e57936d7a64465a0296f90d484bfb8
|
|
| BLAKE2b-256 |
b1d76264a93231e6bec81f6ace4444586a7fd3250edf927e060fd655a92df939
|