Per poder gaudir de la web necessites un navegador més recent i segur. Per més informació, revisa les actualitzacions d'Internet Explorer.
 No es pot donar d'alta aquest servei. Contacta amb Suport

API dinahosting

Totes les ordres que necessites
Si tens dubtes, t'ajudem gratis

api.cta__h1

API dinahosting

Todos los comandos que necesitas para implementar tu propia plataforma de venta y gestión de dominios, alojamiento web, VPS... usando tu interfaz, automatizando y planificando acciones sobre uno o varios servicios.

  • API en PDF

    Download Fecha de actualización: 04/12/2025 08:30:37
  • Librería de archivos

    Download Dinahosting HTTP_Request libary files

Documentación de la API

A continuación se muestra la documentación completa de la API de dinahosting y la lista de comandos disponibles. Cada comando incluye una descripción detallada de su funcionamiento, los parámetros que admite y los posibles tipos de respuesta.

Al seleccionar un comando, se mostrará también un generador de peticiones y un simulador de respuesta, que te permitirán probar cómo invocar la API y visualizar la respuesta real que devuelve el servidor.

Llista de comandaments

Llista d'errors

Billing_Renew_Domain

Manually renew an existing domain name. Payment is done at runtime.
Domain must be currently registered at Dinahosting.
1.0 -> 1.1: Improved simulation mode.
1.1 -> 1.2: COMMAND_BILLING_CREDIT error.
1.2 -> 1.3: OBJECT_NOT_EXISTS error.
1.3 -> 1.4: New TLDs are supported.
Version: 1.4
Special errors:
OBJECT_NOT_EXISTS The domain is currently not registered on dinahosting. Maybe it was recently transfered.
COMMAND_BILLING_CREDIT User haven't got enought credit available.
BILLING_FAILURE There was some error at payment / billing runtime.
UNIMPLEMENTED_OBJECT_SERVICE User tried to renew whois protection but whois protection is not active. Set whoisProtection parameter to false.
COMMAND_BILLING_PRODUCT_ERROR Invalid domain TLD or renew period.

Parameters

  • domain (string): Domain name. The parameter is required.
  • period (int): Renew period ( years ). The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 1 and 10 inclusive.
  • whoisProtection (bool): Default is false. Set true to also renovate an already active whois protection for this domain. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • paymentMethodType (string): Default is saldo. Set it to "bono" to use that payment Method. The parameter is optional. Accepted parameter values: "saldo","bono".

Tipo de datos de respuesta

void

Información adicional

El modo de simulación no se aplica plenamente este comando.

Generador de código

Genera fácilmente el código completo de tu petición en distintos lenguajes.

Domain name.

Renew period ( years ).

Default is false. Set true to also renovate an already active whois protection for this domain.

Default is saldo. Set it to "bono" to use that payment Method.

 
 

Simulador

Prueba tu petición y obtén al instante una respuesta simulada de ejemplo.

Domain name.

Renew period ( years ).

Default is false. Set true to also renovate an already active whois protection for this domain.

Default is saldo. Set it to "bono" to use that payment Method.