payment-assistant
What it does
This skill helps the AI pay someone with crypto from your Binance Funding Wallet, or create QR codes and links to receive payments. It is for people who make or collect crypto payments with Binance Pay.
When to use it
- βWhen you want to pay a QR code or payment link from your Funding Wallet.
- βWhen you want to check the status of a payment order.
- βWhen you want to create a QR code or payment link to collect crypto.
Skill link
https://github.com/ccxt/ccxt/blob/master/.agents/skills/payment-assistant/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βPay this Binance Pay QR code I just received from a friend.β
5 new skills a week. 1 minute to read.
How it works
The AI reads the payment data from the QR code or link, goes through the confirm steps with you, and then starts the payment. It can also check the order status afterward.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
β οΈ 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)
Step 4: Only after user confirms β use clipboard
python3 payment_skill.py --action decode_qr --clipboard
β FORBIDDEN:
- β
--clipboardwithout user explicitly saying "use clipboard" - β Guessing or searching for image files
- β Skipping the "ask user" step
β REQUIRED after decode_qr succeeds:
- Tell user the image source (e.g., "Decoded from clipboard" or "Decoded from file: xxx.jpg")
- Include
source_typefrom response in your message to user
π Quick Start - Agent MUST Execute
When user sends a QR code image or asks to pay:
Step 1 - Get QR Data (Choose ONE method)
Method A: AI Vision (BEST - if your platform supports it)
1. Use your vision capability to read the QR code content directly from the image
2. Skip decode_qr entirely, go straight to purchase with the QR data
python3 payment_skill.py --action purchase --raw_qr "https://app.binance.com/uni-qr/xxx"
Method B: decode_qr with explicit image path (RECOMMENDED)
# Use the attachment path your platform provides
python3 payment_skill.py --action decode_qr --image "/path/to/attachment.jpg"
Method C: decode_qr from clipboard (Only when user explicitly says "use clipboard")
python3 payment_skill.py --action decode_qr --clipboard
Method D: decode_qr with base64 (For platforms that provide base64 image data)
python3 payment_skill.py --action decode_qr --base64 "iVBORw0KGgo..."
Step 2 - Purchase (IMMEDIATELY after getting QR data)
python3 payment_skill.py --action purchase --raw_qr "DECODED_QR_DATA"
Step 3 - Set amount (if needed)
python3 payment_skill.py --action set_amount --amount NUMBER
Step 4 - Confirm payment (after user confirms)
python3 payment_skill.py --action confirm
β οΈ IMPORTANT: After decode succeeds, IMMEDIATELY proceed to purchase. Do NOT stop and ask "Would you like to proceed?" - the user already said they want to pay. (Note: This applies to the decode β purchase transition only. You MUST still ask for explicit user confirmation before calling pay_confirm.)
π¦ Prerequisites
Requires Python 3.8+ with these packages:
opencv-python- QR code decodingpyzbar- Barcode/QR detection (requires zbar system library)Pillow- Image processingrequests- API calls
Install Python packages:
pip install -r requirements.txt
System dependency for pyzbar:
- macOS:
brew install zbar - Linux (Debian/Ubuntu):
apt install libzbar0 - Windows: Usually works without extra setup
If you see "No QR decoder available", ensure both Python packages and system dependencies are installed.
β STOP - READ THIS FIRST (Agent MUST Follow)
Before executing ANY command, you MUST follow these rules:
β NEVER DO
- NEVER use placeholder data like
'QR_CODE_DATA'or'test'- you must decode actual data from the QR image first - NEVER skip phases - follow the 3-step flow in order
- NEVER add extra command-line flags unless documented
- NEVER write inline Python/bash scripts to decode QR codes yourself. ALWAYS use
python3 payment_skill.py --action decode_qr. If it fails, debug the error and fix it β do NOT bypass with custom scripts. - NEVER silently corr
FAQ
Does it pay without confirming with me?
The skill includes confirm and cancel steps for payments, so you stay in control of each one.
Does it work with PIX codes?
Yes. The skill says PIX QR codes are detected automatically.
What if the AI cannot read a QR image?
The skill asks you to copy the code to the clipboard and confirm before it uses that data.
Details
Original description by the author
Binance Pay Assistant - Send and Receive crypto payments. Send: QR code payment from Funding Wallet (C2C + PIX). Use when user wants to buy/purchase/pay/transfer/send, confirm/cancel payment, or query order status. Requires QR code data. PIX QR codes (pix, br.gov.bcb.pix) are auto-detected. Receive: Generate QR codes and payment links to collect crypto. Use when user wants to receive/collect payment (generate receive link, receive QR). Do NOT use for earning, buying/selling crypto, or digital goods.
repo: ccxt/ccxt
Popularity
- GitHub stars
- 45k
- Ranking position
- #6373
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
binance-agentic-wallet
45kLets your agent manage a Binance Web3 wallet through the baw command line, including sign-in, balances, transfers, token swaps, and limit orders.
binance-sports-ai-analyzer
45kHelps your agent look up World Cup match predictions, AI analysis, and news insights, and recompute win odds after you adjust the signals.
binance-tokenized-securities-info
45kLets your agent look up Ondo tokenized US stocks on Binance Web3, covering token lists, company info, trading status, and on-chain prices.
binance
45kLets your agent use Binance Spot, USD-M Futures, and Convert through the binance-cli tool. Requires you to set up authentication first.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.