onchain-pay-open-api

Create signed Binance Onchain Pay Open API calls for fiat-to-crypto purchase and payment-flow monitoring.

957|244|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/tradecatlabs/tradecat-public --skill onchain-pay-open-api-tradecatlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: onchain-pay-open-api
Source: https://github.com/tradecatlabs/tradecat-public/tree/main/resources/agent_market_context/binance/upstream/binance-skills-hub-main/skills/binance/onchain-pay
Command: npx skills add https://github.com/tradecatlabs/tradecat-public --skill onchain-pay-open-api-tradecatlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openssl, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

It streamlines building and securely signing Binance Onchain Pay Open API requests so you can create payment flows and monitor order results without manual RSA signing work.

Core Features & Use Cases

  • RSA SHA256 request signing: Automatically signs request payloads (JSON + millisecond timestamp) and sends them with the required Tesla headers to the configured Base URL.
  • Fiat-to-crypto and send-in-one-flow: Supports the main endpoints for payment-method discovery, trading pair listing, estimated quotes, pre-order creation (including redirect links), and order status checks.
  • Onchain Pay Easy customization: Enables smart-contract-assisted “send primary” flows via the customization flags and destination contract parameters for supported scenarios.

Quick Start

Call the skill by creating a pre-order request for fiat-to-crypto buying by providing externalOrderId, merchantCode, merchantName, ts, network, address, and payMethodCode, then return the redirect link for completing the payment.

Frequently Asked Questions about onchain-pay-open-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sign Binance Onchain Pay API requests using RSA SHA256?

To sign Binance Onchain Pay API requests, you must generate an RSA SHA256 signature using a provided PEM key over the compact JSON request body and cross-platform millisecond timestamp, then include the signature in the required Tesla headers.

What is needed to create a fiat-to-crypto pre-order link with the Binance Onchain Pay API?

Creating a fiat-to-crypto pre-order link requires providing externalOrderId, merchantCode, merchantName, timestamp, network, address, and payMethodCode in the request body to generate a redirect link for completing the payment.

Do I need Python and OpenSSL to integrate Binance Onchain Pay API payment flows?

Yes, integrating Binance Onchain Pay API payment flows requires Python3 and OpenSSL to handle the RSA SHA256 request signing and send POST requests with the necessary Tesla headers to the configured base URL.

Can I monitor order status and list available crypto networks for Binance Onchain Pay?

Yes, you can monitor order status and discover supported crypto networks by calling the respective Binance Onchain Pay Open API endpoints with properly signed payloads and required parameters.

Does the Binance Onchain Pay API support custom smart-contract-assisted crypto sending flows?

Yes, the Binance Onchain Pay API supports smart-contract-assisted send primary flows through customization flags and destination contract parameters for specific supported scenarios.

Why are my Binance Onchain Pay API calls failing validation?

Binance Onchain Pay API calls fail validation if the compact JSON request body lacks required parameters, uses incorrect millisecond timestamps, or misses the RSA SHA256 signature and required Tesla headers in the POST request.