Skip to main content

Fields

billingName : String! required

Name for this account. If one exists, the billing name of the portfolio will prepend this.

canModifyPayments : CanModifyPaymentsType

Data about whether or not an account can modify their payments.

Retrieve different supplementary ledgers used in Spain market.

Arguments
ledgerId : ID

The id of the ledger to return.

Deprecation
The 'ledgerId' field is deprecated.

Please use 'ledgerNumber' instead. This is in the form of 'L-123456789A'

- Marked as deprecated on 2024-10-22.
- Scheduled for removal on or after 2025-06-25.
ledgerNumber : String

The number of the ledger to return.

marketSupplyAgreements : AgreementConnection

Retrieve all market supply agreements under this account. Note that when active is set to false it actually means 'return both active and inactive agreements'.

Arguments
active : Boolean

Whether to return active agreements only.

after : String
before : String
first : Int
id : ID

Filter the list to the agreement with this id.

last : Int
supplyPointExternalIdentifier : String

Filter the list to agreements for the supply point with this external identifier.

properties : [PropertyType]

Properties linked to the account now and in the future.

Arguments
activeFrom : DateTime

Returns properties that have an effective period that ends at or after the given activeFrom datetime.

splitBillingAddress : [String]

List of billing address lines.

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

{ "billingAddress": "her-get-day-purpose-item", "billingAddressLine1": "create-bit-program-fast-matter", "billingAddressLine2": "foot-the-tonight-adult-cut", "billingAddressLine3": "foreign-would-situation-fund-defense", "billingAddressLine4": "purpose-study-usually-gas-think", "billingAddressLine5": "reach-machine-world-doctor-rise", "billingCountryCode": "BS", "billingName": "card-coach-Mrs-environmental-forward", "billingPostcode": "media-effort-fund-box-dog", "canModifyPayments": CanModifyPaymentsType, "id": "91065162", "ledgers": [LedgerWithPaymentsInstructions], "marketSupplyAgreements": AgreementConnection, "number": "single-resource-major-oil-show", "properties": [PropertyType], "splitBillingAddress": "fly-image-herself-yard-challenge", "status": "by-boy-onto-unit-baby" }