Binance Onchain Pay Open API for Openclaw

A professional-grade Openclaw Skills integration for the Binance Onchain Pay Open API, facilitating secure fiat-to-crypto transactions and automated on-chain payments.

dexploarer
v1.0.0
Apr 1, 2026
0
740
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install binance-onchain-pay

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install binance-onchain-pay using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Binance Onchain Pay Open API?

This skill provides a robust bridge between AI agents and the Binance Onchain Pay ecosystem. By leveraging Openclaw Skills, developers can programmatically handle RSA-signed requests to facilitate fiat-to-crypto purchases using credit cards, Google Pay, or P2P. It streamlines complex blockchain operations like cross-chain bridging and merchant payment processing within a secure, developer-friendly framework.

Built with security as a priority, the skill automates the RSA SHA256 signing process required for Binance's API. This ensures that AI agents can execute transactions—from simple wallet transfers to advanced DeFi smart contract interactions—without manual intervention while maintaining strict credential privacy.

Binance Onchain Pay Open API Use Cases

  • Direct fiat-to-crypto purchases using USD, EUR, or TWD via credit cards or digital wallets.
  • Sending existing crypto balances from Binance accounts to external on-chain addresses.
  • Executing cross-chain bridge operations to move assets between networks like BSC, Ethereum, and Polygon.
  • Integrating crypto payment gateways for merchant e-commerce platforms using Openclaw Skills.
  • Automated smart contract interactions where crypto is bought and deposited into DeFi protocols in a single step.
  • Real-time monitoring of order status, supported trading pairs, and network fees.

How Binance Onchain Pay Open API Works

  1. The AI agent identifies the specific Binance Onchain Pay endpoint based on the user's intent.
  2. Required credentials like Client ID and API Key are retrieved from a secure local configuration file.
  3. A compact JSON request body is constructed, validating destination addresses and network compatibility.
  4. The skill executes a bundled shell script to perform RSA SHA256 signing of the payload and timestamp.
  5. The signed request is dispatched to the Binance Open API with appropriate security headers.
  6. The agent parses the response and provides the user with a payment redirect link or transaction status.

Binance Onchain Pay Open API Setup

To use this within the Openclaw Skills framework, configure your credentials in a .local.md file located in the skill directory. This file should contain your Base URL, Client ID, API Key, and the absolute path to your RSA private key.

# Example of signing and calling an endpoint manually
bash scripts/sign_and_call.sh \
  "https://api.commonservice.io" \
  "papi/v1/ramp/connect/gray/buy/pre-order" \
  "YOUR_CLIENT_ID" \
  "YOUR_API_KEY" \
  "/path/to/private.pem" \
  '{"externalOrderId":"order123","fiatCurrency":"USD","requestedAmount":100}'

Binance Onchain Pay Open API Data Schema & Taxonomy

The skill manages data through structured JSON payloads and local configuration files. Key data points include:

Data Component Format Description
Credentials .local.md Stores Client ID, API Keys, and PEM paths per environment.
Request Payload JSON Compacted parameters including fiat/crypto codes and amounts.
Signing Data RSA SHA256 Base64 encoded signatures generated at runtime using timestamps.
Order Records API Response Unique externalOrderIds linked to Binance transaction hashes.

All sensitive paths and keys are handled with strict privacy rules to prevent accidental exposure within Openclaw Skills logs.

Binance Onchain Pay Open API Advanced Features

  • SKIP_CASHIER: Enables a streamlined checkout flow by bypassing the default cashier page.
  • ON_CHAIN_PROXY_MODE: Automates fiat-to-smart-contract execution for complex DeFi workflows on BSC.
  • SEND_PRIMARY: Triggers automated buy flows if the current balance is insufficient for a direct wallet transfer.
  • NET_RECEIVE: Simplifies transparency by showing users the exact amount received after all transaction fees.
  • LOCK_ORDER_ATTRIBUTES: Restricts user modifications to specific order parameters like currency or address for fixed-price scenarios.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*