Contracts|Gas
Get user gas contracts
Retrieves the details of the user's gas contracts
get/users/{userId}/gas-contracts
Request
- Base URLhttps://connect.clever.gy
- AuthAPI key in header clevergy-api-key
Path parameters
userIdstring required
ID of user
Response
Successful retrieval of user's gas contracts
Example response
[
{
"id": "contract-123",
"startDate": "2023-02-01",
"endDate": "2024-02-01",
"status": "ACTIVE",
"address": "123 Main St, Springfield",
"postalCode": "12345",
"connectionId": "conn-456",
"connectionContractId": "contract-789",
"cups": "ES1234567890123456AB",
"tariffAccess": "RL01",
"tariffName": "Standard Gas Tariff",
"iban": "ES7620770024003102575766",
"distributorName": "Gas Distributor S.A.",
"holderName": "John Doe",
"commercialName": "Gas Commercial S.L.",
"fixedPrice": 20.5,
"energyPrice": 0.065,
"pressure": 0.5,
"fileUrl": "https://example.com/contracts/gas/contract-123.pdf",
"contractNumber": "GC-12345"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.