
Payment Assistant
This is a Binance Pay integration that lets Claude process crypto payments through QR codes. It handles both sending (scanning merchant QR codes, PIX support for Brazil) and receiving (generating payment links). The skill is built around a strict state machine with multiple safeguards: it won't let you skip the decode-purchase-confirm flow, treats all API response fields as untrusted display text to prevent injection attacks, and forces explicit user confirmation before executing payments. The documentation is unusually paranoid about security, which makes sense given it's handling money. Works with vision-capable models for direct QR reading or falls back to clipboard/file decoding. If you're building a payment bot on Binance Pay, this gives you the guardrails.
- skills.sh installs
- 4.7K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add binance/binance-skills-hub --skill payment-assistant --agent claude-codeInstalls into .claude/skills of the current project.
Files
⚠️ CRITICAL: How to Handle QR Images
When user sends a QR code image or asks to pay:
Step 0: Check if user provided a PAYMENT LINK (text, not an image)
If the user provided text (not an image), and the text is a URL containing
app.binance.com/uni-qr/ or app.binance.com/qr/:
→ This is a payment link. Skip all decode steps. Go directly to purchase:
python3 payment_skill.py --action purchase --raw_qr "<the URL text>"
Otherwise (user sent an image, or text doesn't match above) → continue to Step 1.
Step 1: Try to READ the QR data directly (Vision)
Look at the QR code image and try to extract the actual data string (URL or EMV code).
- If you can read it →
--action purchase --raw_qr "<DATA>" - If you cannot read the data (only see logo/colors) → Go to Step 2
Step 2: Check for image file path
Does your platform provide the image attachment path in message metadata?
- If YES →
--action decode_qr --image "<PATH>" - If NO → Go to Step 3
Step 3: Ask user for help (DO NOT auto-use clipboard!)
"I cannot read the QR directly. Please copy to clipboard, then reply 'use clipboard'"
(Translate to user's language as needed)
Sponsors
Details
- Repository
- github.com/binance/binance-skills-hub
- Categories
- Finance & Trading, Web3 & Blockchain
- First seen
- May 16, 2026
More from binance/binance-skills-hub
All 28- Spot2.9K
- Derivatives Trading Usds Futures2.3K
- Assets2K
- Alpha2K
- Margin Trading1.9K
- Convert1.3K
- Algo1.2K
- Derivatives Trading Coin Futures1.2K
- Derivatives Trading Options1.2K
- Derivatives Trading Portfolio Margin Pro1.2K
- Derivatives Trading Portfolio Margin1.1K
- Sub Account1.1K
- Simple Earn1.1K
- Vip Loan1K
- Binance Agentic Wallet51.1K
- Square Post38.4K
- Trading Signal12.1K
- Query Token Audit11.8K
- Meme Rush11.5K
- Query Token Info11.4K
- Crypto Market Rank11.3K
- Query Address Info9.4K
- Binance Tokenized Securities Info7.2K
- Binance6.4K