Skip to main content

ElectricityVerifyRequest

Exactly one of planId or productId must be present; a body with neither is refused with 400 request.plan_id_required.

planIdstring<uuid>

The plan to buy: the planId the electricity products listing (and GET /v1/plans) returns. Send this or productId; one of them is required.

productIdstring<uuid>

Alias of planId, kept for existing integrations. Either the plan id or the canonical product id from the listing is accepted.

meterNumberstringrequired

The meter number.

Example: 04123456789
meterTypestring

Optional meter class; defaults to prepaid. Pass postpaid to look up an account-billed (postpaid) meter. Postpaid coverage is disco-dependent.

Possible values: [prepaid, postpaid]

Example: prepaid
ElectricityVerifyRequest
{
"planId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"meterNumber": "04123456789",
"meterType": "prepaid"
}