GET /store/domain/pricing/{tld_id}

Retrieve a single TLD's pricing.

Request

  • Base URL
    https://developers.whmcs.com/api/v2
  • Auth
    none declared

Path parameters

tld_idstring required
Example:com

Top level domain ID

Response

Success

Example response

{
  "meta": {
    "total_items": 10,
    "page": 1,
    "total_pages": 1,
    "page_size": 50
  },
  "data": {
    "tld": "com",
    "categories": [
      "Other"
    ],
    "group": "Sale",
    "addons": {
      "dns_management": true,
      "email_forwarding": true,
      "id_protection": true
    },
    "pricing": [
      {
        "register": {
          "value": "19.99",
          "code": "USD",
          "display_value": "$19.99 USD",
          "prefix": "$",
          "suffix": " USD"
        },
        "transfer": {
          "value": "19.99",
          "code": "USD",
          "display_value": "$19.99 USD",
          "prefix": "$",
          "suffix": " USD"
        },
        "renew": {
          "value": "19.99",
          "code": "USD",
          "display_value": "$19.99 USD",
          "prefix": "$",
          "suffix": " USD"
        }
      }
    ],
    "grace_period": {
      "days": 1,
      "price": {
        "value": "19.99",
        "code": "USD",
        "display_value": "$19.99 USD",
        "prefix": "$",
        "suffix": " USD"
      }
    },
    "redemption_period": {
      "days": 1,
      "price": {
        "value": "19.99",
        "code": "USD",
        "display_value": "$19.99 USD",
        "prefix": "$",
        "suffix": " USD"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.