النطاق API - تسجيل النطاق API - ICANN المسجل API - White Label النطاق Service

Start Building with NiceNIC النطاق API v2

API access is free fأو every active NiceNIC user. لا reseller upgrade is required. Configure الخاص بك API credentials, make a safe test request, then add the النطاق, DNS, billing, compliance أو WHMCS wأوkflows الخاص بك application needs.

الحصول على رصيد الحساب

يقرأ أمر واجهة API هذا رصيد الحساب ويُرجعه.

نوع المحتوى application/json
الفئة user
الإجراء balance

معلمات الاستجابة

اسم المعلمة النوع الوصف
username سلسلة نصية اسم المستخدم
amount الرقم المبلغ
currency سلسلة نصية نوع العملة

مثال الطلب

                                    
{
    curl https://api.nicenic.net/v2/?category=user&action=balance/reseller/apiv2.php 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

نتيجة الإرجاع

0 OK استجابة ناجحة
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "username":"XXXX",
        "amount":12542.34,
        "currency":"USD"        
    }
}
400 طلب غير صالح
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
حقوق النشر © 2006–2026 شركة NICENIC الدولية المحدودة. كل الحقوق محفوظة. · U.S. Affiliate: NICENIC LLC