tokenOrPin once the transaction is SUCCESS; poll GET /v1/electricity/b2b/{reference} while it is PROCESSING.curl --location 'http://localhost:5050/v1/electricity/b2b-pay' \
--header 'Idempotency-Key;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"idempotencyKey": "5f0c7c1e-8a52-4a5e-9d0b-1c1f6f1d2a11",
"disco": "IKEJA",
"meterNumber": "45067891234",
"meterType": "PREPAID",
"amount": 5000,
"phoneNumber": "08012345678"
}'{
"success": true,
"message": "Electricity payment successful",
"statusCode": 200,
"path": "/v1/…",
"timestamp": "2026-09-26T12:00:00.000Z",
"hash": "a1b2c3d4-…",
"data": {
"transaction": {
"reference": "DB-ELEC-20250923-MFX2K9QZ-5E6F7A8B",
"type": "ELECTRICITY",
"status": "SUCCESS",
"amount": 4950,
"recipient": "45067891234",
"network": "IKEJA",
"planId": null,
"description": "Ikeja Electric (IE) prepaid ₦5,000",
"tokenOrPin": "1234-5678-9012-3456-7890",
"balanceBefore": 10000,
"balanceAfter": 9520,
"failureReason": null,
"createdAt": "2026-09-26T12:00:00.000Z"
}
}
}