Domain API - Domain Registration API - ICANN Registrar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free for every active NiceNIC user. No reseller upgrade is required. Configure your API credentials, make a safe test request, then add the domain, DNS, billing, compliance or WHMCS workflows your application needs.

List Account Transactions

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. All Rights Reserved. · U.S. Affiliate: NICENIC LLC