Wholesale Robux အော်ဒါ တင်ခြင်း
Recipient တစ်ဦး သို့မဟုတ် အများဆုံး လူ ၂၀၀ အထိ Robux အော်ဒါတင်သွင်းပြီး Wallet မှ အလိုအလျောက် ပေးချေပါသည်။ X-Wholesale-Secret မဖြစ်မနေ လိုအပ်ပြီး X-Idempotency-Key ဖြင့် ထပ်ခါတလဲလဲ ငွေမနုတ်အောင် ကာကွယ်နိုင်ပါသည်။
HTTP Headers
| Header |
Type |
Required |
Description |
X-Wholesale-Key |
string |
မဖြစ်မနေ
|
Dealer API key |
X-Wholesale-Secret |
string |
မဖြစ်မနေ
|
Companion secret required for mutating balance-debiting orders |
X-Idempotency-Key |
string |
ရွေးချယ်ရန်
|
Unique request UUID to prevent duplicate orders on connection timeouts |
Content-Type |
string |
မဖြစ်မနေ
|
application/json |
curl -X POST "https://api.bshopmyanmar.com/api/wholesale/robux/order" \
-H "X-Wholesale-Key: bshop_ws_YOUR_SECRET_KEY" \
-H "X-Wholesale-Secret: bshop_sec_YOUR_SECRET" \
-H "X-Idempotency-Key: idemp_unique_order_uuid_12345" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{
"username": "PlayerAlpha",
"amount_robux": 500
},
{
"username": "PlayerBeta",
"amount_robux": 1000
}
],
"pay_with_balance": true,
"validate_eligibility": true,
"notes": "Store Order #9021"
}'
import requests
API_KEY = "bshop_ws_YOUR_SECRET_KEY"
API_SECRET = "bshop_sec_YOUR_SECRET"
IDEMPOTENCY_KEY = "idemp_unique_order_uuid_12345"
headers = {
"X-Wholesale-Key": API_KEY,
"X-Wholesale-Secret": API_SECRET,
"X-Idempotency-Key": IDEMPOTENCY_KEY,
"Content-Type": "application/json",
}
payload = {
"recipients": [
{
"username": "PlayerAlpha",
"amount_robux": 500
},
{
"username": "PlayerBeta",
"amount_robux": 1000
}
],
"pay_with_balance": true,
"validate_eligibility": true,
"notes": "Store Order #9021"
}
response = requests.post("https://api.bshopmyanmar.com/api/wholesale/robux/order", headers=headers, json=payload)
data = response.json()
print("Status:", response.status_code)
print("Response:", data)
const API_KEY = 'bshop_ws_YOUR_SECRET_KEY';
const API_SECRET = 'bshop_sec_YOUR_SECRET';
const IDEMPOTENCY_KEY = 'idemp_unique_order_uuid_12345';
const response = await fetch('https://api.bshopmyanmar.com/api/wholesale/robux/order', {
method: 'POST',
headers: {
'X-Wholesale-Key': API_KEY,
'X-Wholesale-Secret': API_SECRET,
'X-Idempotency-Key': IDEMPOTENCY_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"recipients": [
{
"username": "PlayerAlpha",
"amount_robux": 500
},
{
"username": "PlayerBeta",
"amount_robux": 1000
}
],
"pay_with_balance": true,
"validate_eligibility": true,
"notes": "Store Order #9021"
}),
});
const result = await response.json();
console.log('Status:', response.status);
console.log('Result:', result);
{
"ok": true,
"data": {
"order_number": "ORD-20260904-2DDF3DED",
"order_id": 4901,
"status": "processing",
"total_robux": 1500,
"total_amount_mmk": 42750.0,
"unit_rate_mmk": 28.5,
"payment_method": "Balance",
"balance_deducted_mmk": 42750.0,
"new_balance_mmk": 457250.0,
"recipients_count": 2,
"recipients": [
{
"id": 155,
"recipient_username": "PlayerAlpha",
"amount_robux": 500,
"unit_price_mmk": 28.5,
"line_total_mmk": 14250.0,
"status": "pending"
},
{
"id": 156,
"recipient_username": "PlayerBeta",
"amount_robux": 1000,
"unit_price_mmk": 28.5,
"line_total_mmk": 28500.0,
"status": "pending"
}
],
"eligibility_summary": {
"total": 2,
"eligible": 2,
"ineligible": 0
}
}
}