Electricity

View as Markdown

The electricity flow validates customer meter details, prepares the transaction, and vends the final token or payment result.

Flow

  1. Retrieve electricity providers.
  2. Validate or initiate the customer transaction using meter details.
  3. Confirm returned customer and tariff details.
  4. Vend the transaction.
  5. Requery if the response is pending or requires confirmation.

Required data

FieldPurpose
Provider codeIdentifies the electricity distribution company.
Meter numberIdentifies the customer meter.
Meter typePrepaid or postpaid where required by the provider.
AmountPurchase amount for the electricity transaction.
ReferenceYour unique transaction reference.

Production guidance

Always show the validated customer name and address before final vend where your product flow allows it. This reduces wrong-meter purchases and support escalations.