CreateEnergyAccount
Create an account for either electricity or dual fuel.
Fields
Customer's Spanish fiscal code.
The account number.
Electricity supply point agreement number.
Gas supply point agreement number.
Field with the possible errors of the query/mutation.
Deprecation
The 'possibleErrors' field is deprecated.Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.
- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.
Resolves whether a referral was created as part of this account creation.
Token for setting the initial password.
Id for setting the initial password.
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
Example
{
"accountNif": "huge-behavior-spend-small-page",
"accountNumber": "A-C5DB93E0",
"electricityAgreementNumber": "discuss-so-music-worker-lawyer",
"gasAgreementNumber": "call-executive-hit-chance-gas",
"referralCreated": true,
"token": "strong-themselves-could-defense-yet",
"userId": "17774933"
}