Skip to main content

Arguments

input : SmartMeterDeviceInput! required

Identifies the meter to generate a PAN for.

Returns

GeneratePaymentAllocationNumber

Generate a PAN (Payment Allocation Number) for a smart meter in prepayment mode. This can be used to add credit to the meter in a shop.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

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.

Query

mutation GeneratePaymentAllocationNumber($input: SmartMeterDeviceInput!) { generatePaymentAllocationNumber(input: $input) { pan } }

Variables

{ "input": SmartMeterDeviceInput }

Response

{ "data": { "generatePaymentAllocationNumber": { "pan": "about-couple-keep-again-physical" } } }