Domain-API – Domain-Registrierungs-API – ICANN-Registrar-API – White-Label-Domain-Dienst

Mit NiceNIC Domain API v2 loslegen

Der API-Zugang ist für jeden aktiven NiceNIC-Benutzer kostenlos. Kein Reseller-Upgrade erforderlich. Konfigurieren Sie Ihre API-Anmeldedaten, führen Sie eine sichere Testanfrage durch und fügen Sie dann die Domänen-, DNS-, Abrechnungs-, Compliance- oder WHMCS-Workflows hinzu, die Ihre Anwendung benötigt.

Kontotransaktionen auflisten

Retrieve account transaction history with pagination support

Content-Type application/json
category user
action transactions

Request parameters

Parameter Name Type Describe Example
page Integer (Optional) Page number for pagination (default: 1) 1

Response parameters

Parameter Name Type Describe
type String Transaction type
about String Transaction details
amount String Transaction amount
time String Time (UTC+8)
currency String Currency type

Request Example

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

Return result

0 OK Successful response
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        [
            {
                "type": "order_pay",
                "about": "Domain registration fee",
                "amount": "-15.99",
                "time": "2023-04-01 12:00:00",
                "currency": "USD"
            },
            {
                "type": "order_pay",
                "about": "Account deposit",
                "amount": "100.00",
                "time": "2023-04-01 12:00:00",
                "currency": "USD"
            }
            ...
        ]        
    }
}
400 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Alle Rechte vorbehalten.