customers

Obtener un cliente

Changed on

Obtén los detalles de un cliente. Puedes buscar por id del cliente (formato cus_xxx) o por user_id (formato usr_xxx) usando el query parameter.

get/customers/{id}

Request

Path parameters

idstring required

ID del cliente (formato cus_xxx)

Query parameters

user_idstring

(Alternativa) Buscar por ID de usuario en lugar del ID de cliente

Response

Detalles del cliente

idstring

ID único del cliente

user_idstring

ID del usuario asociado

emailstring email

Email del cliente

namestring

Nombre del cliente

phonestring nullable

Número de teléfono

addressstring nullable

Dirección

nitstring nullable

Número de identificación tributaria

metadataobject nullable

Metadata personalizada

test_clock_idstring nullable

ID del test clock asignado al Customer. Solo puede usarse con una llave de un Sandbox nombrado.

Changes

    • info

      added the optional property to the response with the status

    • warning

      deleted the header request parameter X-SECRET-KEY

    • info

      the endpoint scheme security secretKey was added to the API