curl --location --request POST 'https://api.paybeta.ng/v2/electricity/purchase' \
--header 'Accept;' \
--header 'P-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"service": "ikeja-electric",
"meterNumber": "042***3016",
"meterType": "prepaid",
"amount": 2000,
"customerName": "MR JOHN DOE",
"customerAddress": "1 JOHN DOE STR",
"reference": "{{$timestamp}}"
}'
{
"status": "successful",
"message": "Transaction successful",
"data": {
"reference": "1715455653",
"amount": 1000,
"chargedAmount": 496.5,
"commission": 3.5,
"biller": "Ikeja Electricity - IKEDC",
"customerId": "10428776010",
"token": "3193-6233-0096-7827-3805",
"unit": "44.6",
"bonusToken": "",
"transactionDate": "2024-05-11 20:27:33",
"transactionId": "17154556531428310982"
}
}