VTU API
Get API keys
Schedule Payments›Create

Create - Electricity (weekly)

POST https://api.paybeta.ng/v2/scheduled-payments

Schedule recurring electricity tokens. customer_id is the meter number (validated with the provider), code is the meter type (prepaid | postpaid). amount is ₦1,000 - ₦50,000 and must meet the meter's minimum vend.

Send your secret key in the P-API-KEY header. Keep it on your server, never in an app or browser.

Body (JSON)

  • service string Required
    Example: electricity
  • biller string Required
    Example: ikeja-electric
  • customer_id string Required
    Example: 45067198783
  • code string Required
    Example: prepaid
  • amount integer Required
    Example: 5000
  • frequency string Required
    Example: weekly
  • start_at string Required
    Example: {{startAt}}
Request
curl --request POST \
  --url 'https://api.paybeta.ng/v2/scheduled-payments' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'P-API-KEY: YOUR_SECRET_KEY' \
  --data '{
    "service": "electricity",
    "biller": "ikeja-electric",
    "customer_id": "45067198783",
    "code": "prepaid",
    "amount": 5000,
    "frequency": "weekly",
    "start_at": "{{startAt}}"
}'
Response
No example response yet.