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"
}
'{
"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
}
}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"
}
'{
"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
}
}