Deprecated. Use POST /registers/:id/fiscal-units instead.
This endpoint is retained for backward compatibility. Under the hood it creates a fiscal unit for the register. New integrations should use the fiscal units API directly.
Triggers jurisdiction-specific fiscal registration:
Idempotent — calling on an already-active register returns the existing fiscal registration data.
Pass issue_register_credential: true to receive a register-scoped API
key in the response. Use this for device-direct integrations (EV chargers,
unattended kiosks). The key is returned once only — store it immediately
and push to the device over a secure provisioning channel.
Server-side platform integrations (Shopify-style) should omit this — the platform API key already covers all register operations.
See the Security Model section in the API overview for full guidance.
Platform API key sent as Authorization: Bearer ofk_platform_....
Platform integrators also pass OpenFiskal-Organization: org_xxx
to act on behalf of a merchant.
Merchant organization ID. Required for platform integrators acting on behalf of a specific merchant. Omit when using an organization-scoped API key directly.
If true, a register-scoped API key is issued and returned
in the response. Only needed for device-direct integrations.
Register activated
Response to POST /registers/:id/activate. Always includes the
full register object. register_api_key is only present if
issue_register_credential: true was requested.
"register_activation"Register-scoped API key. Returned once only — store immediately
and push to the device over a secure channel. null if
issue_register_credential was not requested.
"ofk_reg_live_..."
Whether a register credential was issued in this response