Skip to main content

API reference · /api/v1

Billing

Billing endpoints expose account balance and pricing tier information for the authenticated reseller.

Account balance

GET /api/v1/account/balance

{
  "success": true,
  "data": {
    "account_number": "DA-…",
    "balance": "0.00",
    "currency": "USD",
    "credit_limit": "0.00",
    "active_domains": 0
  }
}

Pricing tier

GET /api/v1/account/tier — current tier, next tier, and domains needed to advance.

Quote pricing

POST /api/v1/pricing

{
  "tld": ".af",
  "action": "registration",
  "years": 1
}

Allowed actions: registration, renewal, transfer, restore.