Your license key is a unique identifier that links your account to a specific plan. When you embed this key into your script, our API will return the Binance credentials (API key, secret, email or id, etc.) associated with that plan, allowing your customers to send payments via Binance Pay and have them verified automatically.
Prerequisite: You must have an active plan and have configured Binance credentials for that plan in your dashboard.
API Endpoints
All API calls must be made over HTTPS. The base URL for all endpoints is:
https://panel.smmpanelbdlab.com
1. Verify License & Get Binance Credentials
GET /api/verify-license?license=YOUR_LICENSE_KEY
Description: Validates the license key, checks if the plan is active, and returns the Binance credentials configured for that plan.
{"success":false,"message":"Invalid Order ID format"}
{"success":false,"message":"Order ID already used"}
{"success":false,"message":"Amount mismatch"}
{"success":false,"message":"Order ID too old (must be within X minutes)"}
Integration Examples
Below are examples showing how to fetch credentials and verify payments using your license key. Click the Copy button on any code block to copy the code.
PHP (cURL)
/* Step 1: Get Binance credentials */
$license_key = 'YOUR_LICENSE_KEY';
$api_url = 'https://panel.smmpanelbdlab.com/api/verify-license?license=' . urlencode($license_key);
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $api_url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => true,
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
if (!$data['success']) {
die('License error: ' . $data['message']);
}
/* Use $data['data'] for Binance credentials *//* Step 2: Show the payment modal (popup) – no redirect needed *//* Your script should open a modal with Binance ID, QR, amount, etc. */
WooCommerce: Upload the ZIP via Plugins → Add New → Upload Plugin.
SMM Script: Extract the files into your SMM script’s module folder and enable the payment method.
API Library: Include the PHP file and follow the integration examples above.
All modules are open‑source and require a valid license key to operate.
How to Add the Module to Your Website
Adding Binance Pay auto‑verification to your SMM script or any PHP website is straightforward. Follow these steps:
Purchase a plan from your dashboard and obtain a license key.
Configure Binance credentials for that plan (API key, secret, email/ID, QR code, currency).
Embed the license key in your website’s admin panel.
Write a small integration using one of the examples above:
Fetch credentials using the license key when a user initiates a payment.
Display the payment details (Binance ID, QR, amount) in a modal/popup on your site.
After the user sends the payment, ask for the Order ID and call /api/verify-payment to confirm.
That’s it – your customers will now see the Binance Pay modal and payments will be verified automatically.
Important: Your callback URL (if you use one) must be publicly accessible and should expect POST parameters: payment_id, order_id, status, and message.
Error Codes & Common Issues
Error Message
Likely Cause
Solution
Invalid or expired license key
Incorrect or deactivated key
Check dashboard for correct key
Plan expired or inactive
Plan has expired
Renew your plan
Binance credentials not configured
API keys missing
Add Binance credentials in plan settings
Order ID already used
Duplicate Order ID
Use a unique Order ID
Amount mismatch
Amount doesn't match
Double‑check the amount
Order ID too old
Transaction is older than time limit
Use a recent transaction
Testing
You can test your integration by making a small payment using the Binance Pay sandbox or a real wallet. The API will return success: true only if the Order ID is valid and matches all criteria.
If you encounter issues, check your Binance API credentials and ensure your server can connect to the Binance API (port 443).