onchain-pay-open-api
Binance Onchain Pay enables users to buy cryptocurrency with fiat (e.g., EUR, USD) or send existing crypto from their Binance account directly to any external on-chain wallet address in a single flow—no manual withdrawal needed. Enables partners to integrate crypto buying services: - payment-method-list: Get available payment methods (Card, P2P, Google Pay, Apple Pay, etc.) with limits for a fiat/crypto pair - trading-pairs: List all supported fiat currencies and cryptocurrencies - estimated-quote: Get real-time price quote including exchange rate, fees, and estimated crypto amount - pre-orde
npx skills add binance/binance-skills-hub --skill onchain-pay --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Binance Onchain-Pay Open API Skill Call Binance Onchain-Pay Open API endpoints with automatic RSA SHA256 request signing. ## Use Cases & Scenarios This skill is designed for the following scenarios: ### 1. 💳 Fiat-to-Crypto Purchase & Send **When to use**: User wants to buy crypto with fiat currency and send directly to an external on-chain wallet address - Buy USDT with USD/EUR/TWD using credit card → Send to MetaMask address on BSC - Purchase BTC with Google Pay → Transfer to hardware wallet - Buy USDC with P2P → Send to DeFi protocol contract address **Key APIs**: `trading-pairs` → `payment-method-list` → `estimated-quote` → `pre-order` ### 2. 🔄 Direct Crypto Transfer (Send Primary) **When to use**: User has crypto in Binance account and wants to send to external address - Send existing USDT from Binance Spot to friend's wallet address - Transfer ETH to Uniswap contract for trading - Move crypto from Binance to self-custodial wallet (Trust Wallet, Ledger, etc.) **Key APIs**: `pre-order` with `SEND_PRIMARY` customization ### 3. 🔗 Cross-Chain Bridge Operations **When to use**: User needs to buy crypto on one chain and transfer to another network - Buy USDC on Ethereum → Bridge
- Use Cases & Scenarios
- 1. 💳 Fiat-to-Crypto Purchase & Send
- 2. 🔄 Direct Crypto Transfer (Send Primary)
- 3. 🔗 Cross-Chain Bridge Operations
- 4. 🏪 Merchant Payment Integration
- 5. 🤖 Smart Contract Interaction (Onchain-Pay Easy)
- 6. 📊 Query & Monitoring
- Quick Reference
- How to Execute a Request
- Step 1: Gather credentials
- Step 2: Build the JSON body
- Step 3: Sign and call using the bundled script
- Step 4: Return results
- Authentication
bash <skill_path>/scripts/sign_and_call.sh \ Generate millisecond timestamp (works on macOS, Linux, BSD) Generate unique order ID Correct way to create a pre-order bash /path/to/scripts/sign_and_call.sh \
What does the onchain-pay-open-api skill do?
Binance Onchain Pay enables users to buy cryptocurrency with fiat (e.g., EUR, USD) or send existing crypto from their Binance account directly to any external on-chain wallet address in a single flow—no manual withdrawal needed. Enables partners to integrate crypto buying services: - payment-method-list: Get available payment methods (Card, P2P, Google Pay, Apple Pay, etc.) with limits for a fiat/crypto pair - trading-pairs: List all supported fiat currencies and cryptocurrencies - estimated-quote: Get real-time price quote including exchange rate, fees, and estimated crypto amount - pre-orde
How do I install it?
Run `npx skills add binance/binance-skills-hub --skill onchain-pay --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From binance/binance-skills-hub, a repository with 947 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
