मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)45k · #6371

onchain-pay-open-api

यह क्या करती है

यह स्किल डेवलपर्स को Binance Onchain Pay API कॉल करने में मदद करती है, जो उपयोगकर्ताओं को फ़िएट से क्रिप्टो खरीदने या किसी बाहरी वॉलेट में भेजने देती है। यह क्रिप्टो भुगतान फ़ीचर बनाने वाले पार्टनर्स के लिए है।

कब इस्तेमाल करें

  • ✓जब आप चाहें कि उपयोगकर्ता कार्ड से क्रिप्टो खरीदकर अपने वॉलेट में भेज सके।
  • ✓जब आपको Binance खाते से किसी बाहरी पते पर क्रिप्टो भेजना हो।
  • ✓जब आप नेटवर्क के बीच ब्रिज या ट्रांसफ़र फ़्लो बना रहे हों।

Skill का लिंक

https://github.com/ccxt/ccxt/blob/master/.agents/skills/onchain-pay-open-api/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ccxt/ccxt/blob/master/.agents/skills/onchain-pay-open-api/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Onchain Pay API कॉल करने में मदद कीजिए, ताकि कार्ड से USDT खरीदने का कोटेशन मिल सके।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल हर API अनुरोध पर RSA SHA256 हस्ताक्षर करती है ताकि वह प्रमाणित हो, और एंडपॉइंट क्रम से समझाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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 to Polygon for lower fees
  • Purchase tokens on BSC → Transfer to Base network
  • Fiat to crypto on Solana → Send to Arbitrum for DeFi

Key APIs: crypto-network → pre-order with network selection

4. 🏪 Merchant Payment Integration

When to use: Integrate crypto payment gateway for e-commerce or services

  • Accept fiat payments and auto-convert to crypto
  • Enable "Pay with Crypto" checkout flow
  • Process subscription payments with crypto

Key APIs: pre-order with externalOrderId tracking

5. 🤖 Smart Contract Interaction (Onchain-Pay Easy)

When to use: Buy crypto and execute smart contract in one transaction

  • Buy USDT and deposit to lending protocol
  • Purchase tokens and stake in DeFi pool
  • Fiat on-ramp directly to GameFi or NFT marketplace

Key APIs: pre-order with ON_CHAIN_PROXY_MODE customization

6. 📊 Query & Monitoring

When to use: Check order status, available networks, or payment methods

  • Monitor order processing status (pending, completed, failed)
  • List supported fiat currencies and cryptocurrencies
  • Check available payment methods for specific country/amount
  • Verify network fees and limits

Key APIs: order, crypto-network, trading-pairs, payment-method-list


Quick Reference

Endpoint API Path Required Params Optional Params
Payment Method List (v1) papi/v1/ramp/connect/buy/payment-method-list fiatCurrency, cryptoCurrency, totalAmount, amountType network, contractAddress
Payment Method List (v2) papi/v2/ramp/connect/buy/payment-method-list (none) lang
Trading Pairs papi/v1/ramp/connect/buy/trading-pairs (none) (none)
Estimated Quote papi/v1/ramp/connect/buy/estimated-quote fiatCurrency, requestedAmount, payMethodCode, amountType cryptoCurrency, contractAddress, address, network
Pre-order papi/v1/ramp/connect/buy/pre-order externalOrderId, merchantCode, merchantName, ts fiatCurrency, fiatAmount, cryptoCurrency, requestedAmount, amountType, address, network, payMethodCode, payMethodSubCode, redirectUrl, failRedirectUrl, redirectDeepLink, failRedirectDeepLink, customization, destContractAddress, destContractABI, destContractParams, affiliateCode, gtrTemplateCode, contractAddress
Get Order papi/v1/ramp/connect/order externalOrderId (none)
Crypto Network papi/v1/ramp/connect/crypto-network (none) (none)
P2P Trading Pairs papi/v1/ramp/connect/buy/p2p/trading-pairs (none) fiatCurrency

How to Execute a Request

Step 1: Gather credentials

Use the default account (prod) unless the user specifies otherwise. You need:

  • BASE_URL: API base URL
  • CLIENT_ID: Client identifier
  • API_KEY: The sign access token
  • PEM_PATH: Absolute path to the RSA private key PEM file

Use the account marked (default) in .local.md.

Step 2: Build the JSON body

Build a compact JSON body from user-specified parameters. Remove any parameters the user did not provide.

IMPORTANT: Address and Network Validation

  • address (destination wallet address) and network (blockchain network) are REQUIRED for all pre-order requests
  • If the user has configured Default Address and `Default Net
अक्सर पूछे जाने वाले सवाल

कॉल आमतौर पर किस क्रम में चलती हैं?

स्किल सुझाती है कि पहले ट्रेडिंग पेयर, फिर भुगतान तरीके, फिर अनुमानित कोटेशन और उसके बाद प्री-ऑर्डर जाँचें।

क्या यह अनुरोध अपने-आप साइन करती है?

हाँ। स्किल कहती है कि यह RSA SHA256 अनुरोध साइनिंग अपने-आप जोड़ती है।

क्या यह दूसरे नेटवर्क में ट्रांसफ़र संभाल सकती है?

हाँ। स्किल क्रॉस-चेन फ़्लो के लिए प्री-ऑर्डर चरण में क्रिप्टो नेटवर्क चुनने को कवर करती है।

जानकारी

लेखक का मूल विवरण

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-order

repo: ccxt/ccxt

लोकप्रियता

GitHub स्टार
45k
रैंकिंग में स्थान
#6371
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

binance-agentic-wallet

45k

आपके एजेंट को baw कमांड लाइन से Binance Web3 वॉलेट मैनेज करने देती है, जिसमें साइन-इन, बैलेंस, ट्रांसफ़र, टोकन स्वैप और लिमिट ऑर्डर शामिल हैं।

अन्यविविध

binance-sports-ai-analyzer

45k

आपके एजेंट को World Cup मैच की AI भविष्यवाणी, विश्लेषण और समाचार की जानकारी देखने में मदद करती है, और संकेत बदलने पर जीत की संभावना दोबारा गिनती है।

अन्यविविध

binance-tokenized-securities-info

45k

आपके एजेंट को Binance Web3 पर Ondo टोकनाइज़्ड अमेरिकी स्टॉक की जानकारी देखने देती है, जिसमें टोकन सूची, कंपनी की जानकारी, ट्रेडिंग स्थिति और ऑन-चेन कीमतें शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

binance

45k

आपके एजेंट को binance-cli टूल के ज़रिए Binance Spot, USD-M Futures और Convert इस्तेमाल करने देती है। पहले ऑथेंटिकेशन सेट करना ज़रूरी है।

कोडिंगAPI और सर्वर (backend)

मिलती-जुलती skills