Returns the list of contracts for a given customer
curl --request GET \
--url https://api.rabot-charge.de/partner/v1/customers/{customerNumber}/contracts \
--header 'Authorization: Bearer <token>'{
"isSuccess": true,
"message": null,
"error": [
{
"severity": "Error",
"code": "validation-failed",
"message": "First name is required for non-business customers.",
"details": null
}
],
"refUri": "<string>",
"data": [
{
"contractNumber": "<string>",
"tariffName": "Rabot.smart",
"contractState": "Open",
"name": "Home",
"deliveryAddress": {
"title": "Dr.",
"firstName": "Thomas",
"lastName": "Mustermann",
"businessName": null,
"gender": "Male",
"extension": null,
"streetName": "Grüner Weg",
"houseNumber": "42",
"city": "Berlin",
"postCode": "14109",
"countryCode": "DE"
},
"billingAddress": {
"title": "Dr.",
"firstName": "Thomas",
"lastName": "Mustermann",
"businessName": null,
"gender": "Male",
"extension": null,
"streetName": "Grüner Weg",
"houseNumber": "42",
"city": "Berlin",
"postCode": "14109",
"countryCode": "DE"
},
"bankDetail": {
"accountHolder": "Thomas Heinrich Mustermann",
"iban": "DE89370400440532013000",
"bic": "DEUTDEFF",
"bankName": "Deutsche Bank",
"hasAcceptedDirectDebit": true
},
"meterNumber": "12LN6786454",
"meLoIdentifier": "DE12345678901234567890",
"maLoIdentifier": "99987999749",
"actualDateOfDelivery": "2025-03-01",
"endDateOfDelivery": null,
"cancellationPeriod": 1,
"cancellationPeriodUnit": "Month",
"durationPeriod": 1,
"durationPeriodUnit": "Month",
"renewalPeriod": 1,
"renewalPeriodUnit": "Month",
"expectedAnnualConsumptionInKwhPerYear": 3500,
"accountingMethod": "IMSy (TAF7)",
"distributionSystemOperatorCode": "9907248000001",
"distributionSystemOperatorName": "SWM Infrastruktur GmbH & Co. KG",
"previousSupplierCode": "9910660000004",
"previousSupplierName": "Octopus Energy Germany",
"paragraph14AInfo": {
"isModule1InUse": true,
"isModule2InUse": true,
"isModule3InUse": true
}
}
],
"count": 10,
"hasMoreItems": true
}offset and limit request parameters for paging.
role:application, role:customer-support or role: finance-reporting scope or Linked relation on customer level.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Customer number
Offset of the page.
Size of the page.
OK
API response DTO with a list of items.
Success status of the operation based on status code (2xx range).
true
Optional message to provide additional information about the operation result.
null
Optional error details in case of an error(s).
Hide child attributes
Severity of the error.
Error, Warning, Notice "Error"
Internal error code for client processing.
"validation-failed"
Error message.
"First name is required for non-business customers."
Additional details about the error.
null
Optional reference URI to point to the resulting resource.
Returned data instance.
Hide child attributes
Contract number
Tariff name
"Rabot.smart"
Contract state
Open, Delivery, Unspecified, PendingDelivery, Cancelled, Rejected, Revoked, Processing "Open"
Contract name, if added by the user to differentiate multiple contracts
"Home"
Delivery address - the location where the meter is installed
Hide child attributes
Academic title or NULL if none
"Dr."
First name or NULL if business address
"Thomas"
Last name or NULL if business address
"Mustermann"
Business name in case of business address or NULL if person
null
Gender of the address holder
Male, Female, Other Address extension
null
Street name
"Grüner Weg"
House number or NULL if none
"42"
Name of the city
"Berlin"
Postcode in valid format
"14109"
ISO 3166 A2 code of the country
"DE"
Billing address
Hide child attributes
Academic title or NULL if none
"Dr."
First name or NULL if business address
"Thomas"
Last name or NULL if business address
"Mustermann"
Business name in case of business address or NULL if person
null
Gender of the address holder
Male, Female, Other Address extension
null
Street name
"Grüner Weg"
House number or NULL if none
"42"
Name of the city
"Berlin"
Postcode in valid format
"14109"
ISO 3166 A2 code of the country
"DE"
Bank details
Hide child attributes
Name of the account holder. When used to create an order, if the value is not provided, the name of the customer from billing address (or delivery address, when billing address is not provided) will be used.
"Thomas Heinrich Mustermann"
IBAN of the account.
"DE89370400440532013000"
BIC of the account.
"DEUTDEFF"
Name of the bank.
"Deutsche Bank"
Flags, if the direct debit has been accepted.
true
Meter number
"12LN6786454"
Meter location id
"DE12345678901234567890"
Meter location id
"99987999749"
Start of delivery for this contract
"2025-03-01"
End date of delivery, null if contract is not cancelled
null
Cancellation period
1
Cancellation period unit
"Month"
Minimum duration of the contract
1
Duration period unit
"Month"
Renewal period - for how long the contract extends when not cancelled
1
Renewal period unit
"Month"
Expected annual consumption in kWh per year
3500
Meter config type
"IMSy (TAF7)"
Code of Distribution System Operator
"9907248000001"
Name of Distribution System Operator
"SWM Infrastruktur GmbH & Co. KG"
Code of previous supplier
"9910660000004"
Name of previous supplier
"Octopus Energy Germany"
Number of items returned in the list.
10
Indicates, whether there are more items to be returned in the list, that are not included in the limit of this request.
true
Was this page helpful?
curl --request GET \
--url https://api.rabot-charge.de/partner/v1/customers/{customerNumber}/contracts \
--header 'Authorization: Bearer <token>'{
"isSuccess": true,
"message": null,
"error": [
{
"severity": "Error",
"code": "validation-failed",
"message": "First name is required for non-business customers.",
"details": null
}
],
"refUri": "<string>",
"data": [
{
"contractNumber": "<string>",
"tariffName": "Rabot.smart",
"contractState": "Open",
"name": "Home",
"deliveryAddress": {
"title": "Dr.",
"firstName": "Thomas",
"lastName": "Mustermann",
"businessName": null,
"gender": "Male",
"extension": null,
"streetName": "Grüner Weg",
"houseNumber": "42",
"city": "Berlin",
"postCode": "14109",
"countryCode": "DE"
},
"billingAddress": {
"title": "Dr.",
"firstName": "Thomas",
"lastName": "Mustermann",
"businessName": null,
"gender": "Male",
"extension": null,
"streetName": "Grüner Weg",
"houseNumber": "42",
"city": "Berlin",
"postCode": "14109",
"countryCode": "DE"
},
"bankDetail": {
"accountHolder": "Thomas Heinrich Mustermann",
"iban": "DE89370400440532013000",
"bic": "DEUTDEFF",
"bankName": "Deutsche Bank",
"hasAcceptedDirectDebit": true
},
"meterNumber": "12LN6786454",
"meLoIdentifier": "DE12345678901234567890",
"maLoIdentifier": "99987999749",
"actualDateOfDelivery": "2025-03-01",
"endDateOfDelivery": null,
"cancellationPeriod": 1,
"cancellationPeriodUnit": "Month",
"durationPeriod": 1,
"durationPeriodUnit": "Month",
"renewalPeriod": 1,
"renewalPeriodUnit": "Month",
"expectedAnnualConsumptionInKwhPerYear": 3500,
"accountingMethod": "IMSy (TAF7)",
"distributionSystemOperatorCode": "9907248000001",
"distributionSystemOperatorName": "SWM Infrastruktur GmbH & Co. KG",
"previousSupplierCode": "9910660000004",
"previousSupplierName": "Octopus Energy Germany",
"paragraph14AInfo": {
"isModule1InUse": true,
"isModule2InUse": true,
"isModule3InUse": true
}
}
],
"count": 10,
"hasMoreItems": true
}