What problem does it solve?
It eliminates the manual, error-prone process of constructing signed requests and calling Binance Onchain Pay Open API endpoints by automating RSA SHA256 signing and secure POST execution.
Core Features & Use Cases
- Payment Method Discovery: Retrieve available payment methods with limits for a given fiat/crypto pair (v1/v2).
- Quote-to-Checkout Flow: Get real-time estimated quotes and create pre-orders that return a redirect link to Binance payment.
- Order & Network Queries: Check order status and list supported crypto networks and trading pairs, including P2P trading pairs.
- Address + Network Validation: Ensures required pre-order fields like destination address and network are provided (or sourced from defaults in .local.md).
- Use Case Examples: Use the endpoint chain payment-method-list → trading-pairs → estimated-quote → pre-order to buy and send crypto directly to an external on-chain wallet.
Quick Start
Use the onchain-pay-open-api skill to create an Onchain Pay pre-order by providing externalOrderId, merchantCode, merchantName, ts (ms), destination address, network, and the chosen buy flow parameters so it returns the Binance redirect link.