Manage Energy Contracts in Lumenaza
This guide covers the full lifecycle of energy contracts in Lumenaza — from listing and inspecting contracts through to switching products, updating installments, terminating, revoking, and linking related contracts. Base URLs
All requests require an
Authorization: Bearer <token> header.
1. List Contracts
Retrieve all contract IDs associated with a consumer or producer.For producers, replace/consumers/with/producers/in the path.
2. Get Contract Details
Fetch the full details of a specific contract.
Example response
3. Switch a Product
Move a contract to a different product (tariff) from a future date. This endpoint is only available for contracts inclosed_join status. The valid_from date must be the first day of a future month.
Example response
4. Update Installment Amount
Adjust the regular installment (advance payment) for a contract. You can specify the amount either in cents per month or in kWh per year — Lumenaza will calculate the equivalent.- Cents per month
- kWh per year
5. Terminate a Contract
Submit a termination request for a contract.
Termination reason codes
Successful response
possible_termination_date value to retry the request with a valid date.

