Criar Empresa
curl --request POST \
--url https://api-hml.ponto-on.com/empresas \
--header 'Content-Type: application/json' \
--data '
{
"cnpj": "99.999.999/0001-99",
"dataAbertura": "25/01/2026",
"email": "teste@empresa.com",
"nome": ".on Tecnlogia LTDA",
"nomeDoPlano": "Dot Drive",
"password": "123456789",
"razaoSocial": ".on Tecnologia LTDA"
}
'import requests
url = "https://api-hml.ponto-on.com/empresas"
payload = {
"cnpj": "99.999.999/0001-99",
"dataAbertura": "25/01/2026",
"email": "teste@empresa.com",
"nome": ".on Tecnlogia LTDA",
"nomeDoPlano": "Dot Drive",
"password": "123456789",
"razaoSocial": ".on Tecnologia LTDA"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
cnpj: '99.999.999/0001-99',
dataAbertura: '25/01/2026',
email: 'teste@empresa.com',
nome: '.on Tecnlogia LTDA',
nomeDoPlano: 'Dot Drive',
password: '123456789',
razaoSocial: '.on Tecnologia LTDA'
})
};
fetch('https://api-hml.ponto-on.com/empresas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-hml.ponto-on.com/empresas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cnpj' => '99.999.999/0001-99',
'dataAbertura' => '25/01/2026',
'email' => 'teste@empresa.com',
'nome' => '.on Tecnlogia LTDA',
'nomeDoPlano' => 'Dot Drive',
'password' => '123456789',
'razaoSocial' => '.on Tecnologia LTDA'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-hml.ponto-on.com/empresas"
payload := strings.NewReader("{\n \"cnpj\": \"99.999.999/0001-99\",\n \"dataAbertura\": \"25/01/2026\",\n \"email\": \"teste@empresa.com\",\n \"nome\": \".on Tecnlogia LTDA\",\n \"nomeDoPlano\": \"Dot Drive\",\n \"password\": \"123456789\",\n \"razaoSocial\": \".on Tecnologia LTDA\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-hml.ponto-on.com/empresas")
.header("Content-Type", "application/json")
.body("{\n \"cnpj\": \"99.999.999/0001-99\",\n \"dataAbertura\": \"25/01/2026\",\n \"email\": \"teste@empresa.com\",\n \"nome\": \".on Tecnlogia LTDA\",\n \"nomeDoPlano\": \"Dot Drive\",\n \"password\": \"123456789\",\n \"razaoSocial\": \".on Tecnologia LTDA\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-hml.ponto-on.com/empresas")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"cnpj\": \"99.999.999/0001-99\",\n \"dataAbertura\": \"25/01/2026\",\n \"email\": \"teste@empresa.com\",\n \"nome\": \".on Tecnlogia LTDA\",\n \"nomeDoPlano\": \"Dot Drive\",\n \"password\": \"123456789\",\n \"razaoSocial\": \".on Tecnologia LTDA\"\n}"
response = http.request(request)
puts response.read_body{
"savedEmpresa": {
"assinaturaStatus": null,
"cnpj": "99.999.999/0001-99",
"dataAbertura": "25/01/2026",
"email": "teste@empresa.com",
"endereco": null,
"fluxoCaixa": null,
"id": 9,
"invoiceId": "in_1OiucnFcaxGH4c3A9x2SSI3d",
"nomeDoPlano": "Dot Drive",
"password": "$2a$10$OPnu1.nNj/VaI.I./HPn1u1Uj2IM9YF3NDdkV7I5B8NWqz5he/wSG",
"precoId": "prod_PUAfiEvbmr8vzt",
"razaoSocial": ".on Tecnologia LTDA",
"role": "empresa_plan_basic",
"stripeCustomerId": "cus_PY0e0CbORQzBao"
},
"subscription": {
"application": null,
"application_fee_percent": null,
"automatic_tax": {
"enabled": false,
"liability": null
},
"billing_cycle_anchor": 1708330345,
"billing_cycle_anchor_config": null,
"billing_thresholds": null,
"cancel_at": null,
"cancel_at_period_end": false,
"canceled_at": null,
"cancellation_details": {
"comment": null,
"feedback": null,
"reason": null
},
"collection_method": "charge_automatically",
"created": 1707725545,
"currency": "brl",
"current_period_end": 1708330345,
"current_period_start": 1707725545,
"customer": "cus_PY0e0CbORQzBao",
"days_until_due": null,
"default_payment_method": null,
"default_source": null,
"default_tax_rates": [],
"description": null,
"discount": null,
"ended_at": null,
"id": "sub_1OiucnFcaxGH4c3AdzpPH8g3",
"invoice_settings": {
"account_tax_ids": null,
"issuer": {
"type": "self"
}
},
"items": {
"data": [
{
"billing_thresholds": null,
"created": 1707725545,
"id": "si_PY0eUgHoirothQ",
"metadata": {},
"object": "subscription_item",
"plan": {
"active": true,
"aggregate_usage": null,
"amount": 9990,
"amount_decimal": "9990",
"billing_scheme": "per_unit",
"created": 1706840281,
"currency": "brl",
"id": "price_1OfCKLFcaxGH4c3A7JNFE4Fx",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"nickname": null,
"object": "plan",
"product": "prod_PUAfiEvbmr8vzt",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": 7,
"usage_type": "licensed"
},
"price": {
"active": true,
"billing_scheme": "per_unit",
"created": 1706840281,
"currency": "brl",
"custom_unit_amount": null,
"id": "price_1OfCKLFcaxGH4c3A7JNFE4Fx",
"livemode": false,
"lookup_key": null,
"metadata": {},
"nickname": null,
"object": "price",
"product": "prod_PUAfiEvbmr8vzt",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": 7,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9990,
"unit_amount_decimal": "9990"
},
"quantity": 1,
"subscription": "sub_1OiucnFcaxGH4c3AdzpPH8g3",
"tax_rates": []
}
],
"has_more": false,
"object": "list",
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_1OiucnFcaxGH4c3AdzpPH8g3"
},
"latest_invoice": "in_1OiucnFcaxGH4c3A9x2SSI3d",
"livemode": false,
"metadata": {},
"next_pending_invoice_item_invoice": null,
"object": "subscription",
"on_behalf_of": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": [
"card"
],
"save_default_payment_method": "off"
},
"pending_invoice_item_interval": null,
"pending_setup_intent": "seti_1OiucnFcaxGH4c3AOAztDvY5",
"pending_update": null,
"plan": {
"active": true,
"aggregate_usage": null,
"amount": 9990,
"amount_decimal": "9990",
"billing_scheme": "per_unit",
"created": 1706840281,
"currency": "brl",
"id": "price_1OfCKLFcaxGH4c3A7JNFE4Fx",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"nickname": null,
"object": "plan",
"product": "prod_PUAfiEvbmr8vzt",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": 7,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
"start_date": 1707725545,
"status": "trialing",
"test_clock": null,
"transfer_data": null,
"trial_end": 1708330345,
"trial_settings": {
"end_behavior": {
"missing_payment_method": "create_invoice"
}
},
"trial_start": 1707725545
}
}Endpoint para empresas
Criar Empresa
Criar Empresa
POST
/
empresas
Criar Empresa
curl --request POST \
--url https://api-hml.ponto-on.com/empresas \
--header 'Content-Type: application/json' \
--data '
{
"cnpj": "99.999.999/0001-99",
"dataAbertura": "25/01/2026",
"email": "teste@empresa.com",
"nome": ".on Tecnlogia LTDA",
"nomeDoPlano": "Dot Drive",
"password": "123456789",
"razaoSocial": ".on Tecnologia LTDA"
}
'import requests
url = "https://api-hml.ponto-on.com/empresas"
payload = {
"cnpj": "99.999.999/0001-99",
"dataAbertura": "25/01/2026",
"email": "teste@empresa.com",
"nome": ".on Tecnlogia LTDA",
"nomeDoPlano": "Dot Drive",
"password": "123456789",
"razaoSocial": ".on Tecnologia LTDA"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
cnpj: '99.999.999/0001-99',
dataAbertura: '25/01/2026',
email: 'teste@empresa.com',
nome: '.on Tecnlogia LTDA',
nomeDoPlano: 'Dot Drive',
password: '123456789',
razaoSocial: '.on Tecnologia LTDA'
})
};
fetch('https://api-hml.ponto-on.com/empresas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-hml.ponto-on.com/empresas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cnpj' => '99.999.999/0001-99',
'dataAbertura' => '25/01/2026',
'email' => 'teste@empresa.com',
'nome' => '.on Tecnlogia LTDA',
'nomeDoPlano' => 'Dot Drive',
'password' => '123456789',
'razaoSocial' => '.on Tecnologia LTDA'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-hml.ponto-on.com/empresas"
payload := strings.NewReader("{\n \"cnpj\": \"99.999.999/0001-99\",\n \"dataAbertura\": \"25/01/2026\",\n \"email\": \"teste@empresa.com\",\n \"nome\": \".on Tecnlogia LTDA\",\n \"nomeDoPlano\": \"Dot Drive\",\n \"password\": \"123456789\",\n \"razaoSocial\": \".on Tecnologia LTDA\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-hml.ponto-on.com/empresas")
.header("Content-Type", "application/json")
.body("{\n \"cnpj\": \"99.999.999/0001-99\",\n \"dataAbertura\": \"25/01/2026\",\n \"email\": \"teste@empresa.com\",\n \"nome\": \".on Tecnlogia LTDA\",\n \"nomeDoPlano\": \"Dot Drive\",\n \"password\": \"123456789\",\n \"razaoSocial\": \".on Tecnologia LTDA\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-hml.ponto-on.com/empresas")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"cnpj\": \"99.999.999/0001-99\",\n \"dataAbertura\": \"25/01/2026\",\n \"email\": \"teste@empresa.com\",\n \"nome\": \".on Tecnlogia LTDA\",\n \"nomeDoPlano\": \"Dot Drive\",\n \"password\": \"123456789\",\n \"razaoSocial\": \".on Tecnologia LTDA\"\n}"
response = http.request(request)
puts response.read_body{
"savedEmpresa": {
"assinaturaStatus": null,
"cnpj": "99.999.999/0001-99",
"dataAbertura": "25/01/2026",
"email": "teste@empresa.com",
"endereco": null,
"fluxoCaixa": null,
"id": 9,
"invoiceId": "in_1OiucnFcaxGH4c3A9x2SSI3d",
"nomeDoPlano": "Dot Drive",
"password": "$2a$10$OPnu1.nNj/VaI.I./HPn1u1Uj2IM9YF3NDdkV7I5B8NWqz5he/wSG",
"precoId": "prod_PUAfiEvbmr8vzt",
"razaoSocial": ".on Tecnologia LTDA",
"role": "empresa_plan_basic",
"stripeCustomerId": "cus_PY0e0CbORQzBao"
},
"subscription": {
"application": null,
"application_fee_percent": null,
"automatic_tax": {
"enabled": false,
"liability": null
},
"billing_cycle_anchor": 1708330345,
"billing_cycle_anchor_config": null,
"billing_thresholds": null,
"cancel_at": null,
"cancel_at_period_end": false,
"canceled_at": null,
"cancellation_details": {
"comment": null,
"feedback": null,
"reason": null
},
"collection_method": "charge_automatically",
"created": 1707725545,
"currency": "brl",
"current_period_end": 1708330345,
"current_period_start": 1707725545,
"customer": "cus_PY0e0CbORQzBao",
"days_until_due": null,
"default_payment_method": null,
"default_source": null,
"default_tax_rates": [],
"description": null,
"discount": null,
"ended_at": null,
"id": "sub_1OiucnFcaxGH4c3AdzpPH8g3",
"invoice_settings": {
"account_tax_ids": null,
"issuer": {
"type": "self"
}
},
"items": {
"data": [
{
"billing_thresholds": null,
"created": 1707725545,
"id": "si_PY0eUgHoirothQ",
"metadata": {},
"object": "subscription_item",
"plan": {
"active": true,
"aggregate_usage": null,
"amount": 9990,
"amount_decimal": "9990",
"billing_scheme": "per_unit",
"created": 1706840281,
"currency": "brl",
"id": "price_1OfCKLFcaxGH4c3A7JNFE4Fx",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"nickname": null,
"object": "plan",
"product": "prod_PUAfiEvbmr8vzt",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": 7,
"usage_type": "licensed"
},
"price": {
"active": true,
"billing_scheme": "per_unit",
"created": 1706840281,
"currency": "brl",
"custom_unit_amount": null,
"id": "price_1OfCKLFcaxGH4c3A7JNFE4Fx",
"livemode": false,
"lookup_key": null,
"metadata": {},
"nickname": null,
"object": "price",
"product": "prod_PUAfiEvbmr8vzt",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": 7,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9990,
"unit_amount_decimal": "9990"
},
"quantity": 1,
"subscription": "sub_1OiucnFcaxGH4c3AdzpPH8g3",
"tax_rates": []
}
],
"has_more": false,
"object": "list",
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_1OiucnFcaxGH4c3AdzpPH8g3"
},
"latest_invoice": "in_1OiucnFcaxGH4c3A9x2SSI3d",
"livemode": false,
"metadata": {},
"next_pending_invoice_item_invoice": null,
"object": "subscription",
"on_behalf_of": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": [
"card"
],
"save_default_payment_method": "off"
},
"pending_invoice_item_interval": null,
"pending_setup_intent": "seti_1OiucnFcaxGH4c3AOAztDvY5",
"pending_update": null,
"plan": {
"active": true,
"aggregate_usage": null,
"amount": 9990,
"amount_decimal": "9990",
"billing_scheme": "per_unit",
"created": 1706840281,
"currency": "brl",
"id": "price_1OfCKLFcaxGH4c3A7JNFE4Fx",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"nickname": null,
"object": "plan",
"product": "prod_PUAfiEvbmr8vzt",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": 7,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
"start_date": 1707725545,
"status": "trialing",
"test_clock": null,
"transfer_data": null,
"trial_end": 1708330345,
"trial_settings": {
"end_behavior": {
"missing_payment_method": "create_invoice"
}
},
"trial_start": 1707725545
}
}Body
application/json