Bill payment (VAS)

All the value-added services you need in one place

Bill payment

Reach more than 100 billers across every essential service in Nigeria, from electricity and TV to internet and exams. Pay from your business balance and earn a rebate on every payment.

EnvironmentBase URL
Sandboxhttps://beta.mypaga.com
Livehttps://www.mypaga.com

Uses the Business API: send your keys as principal and credentials headers with a request hash, as in Authentication, from a whitelisted IP address. Payments come from your Paga business balance.

How it works

Find the biller

getMerchants lists every biller, with the uuid you pay.

Pick the service

getMerchantServices lists what you can pay that biller for, such as a TV package or prepaid electricity. Some billers have none.

Validate the customer

getMerchantAccountDetails checks the customer’s meter, smart card or account number and returns their name.

Pay the bill

merchantPayment pays from your business balance and returns the biller’s token or receipt.

100+billers, covering every essential service
ElectricityEvery distribution company, prepaid and postpaid
TV and internetDStv, GOtv, StarTimes, Smile, Spectranet and more
Education and examsJAMB, WAEC, NECO and more
And moreBetting, solar, wallet funding and other services

Three kinds of billers

Billers work in one of three ways. Call getMerchantServices for the biller and its response tells you which kind it is.

No services listed

Any amount

getMerchantServices returns no services. Skip choosing a service and send the amount your customer wants to pay.

Betting, solar, wallet funding

Services, price 0.0

Choose a service, any amount

Services are listed with price 0.0. Your customer picks one, such as prepaid or postpaid, and pays what they choose. A minimum may apply.

Electricity distribution companies

Services with prices

Choose a service, fixed price

Each service has a set price. Your customer picks one and pays that price.

Pay TV, internet providers, exams such as JAMB, WAEC and NECO

What to send for each kind
No services listedServices, price 0.0Services with prices
getMerchantServices returnsNo servicesServices with price 0.0Services, with prices
merchantServiceProductCode when validatingLeave outThe chosen service’s code. Always send itThe chosen service’s code. Always send it
merchantService when payingLeave outThe chosen service’s codeThe chosen service’s code
amount when payingAny amountAny amount, above the biller’s minimumThe service’s price
Example: services with price 0.0 (electricity)
{
  "responseCode": 0,
  "message": "Success",
  "services": [
    { "name": "EKEDC Postpaid Payment", "code": "postpaid", "price": 0.0, "shortCode": "" },
    { "name": "EKEDC Prepaid Vending", "code": "prepaid", "price": 0.0, "shortCode": "" }
  ]
}

Minimum amounts vary by biller. Some billers return their minimum when you call getMerchantAccountDetails; show it to your customer. Others have a fixed minimum their customers are expected to know. If a payment is below it, the responseCode tells you; look it up in the Business API error codes.

1. Find the biller

The list rarely changes, so cache it. Use each biller’s uuid as merchantAccount later.

POST /paga-webservices/business-rest/secured/getMerchants
principal: YOUR_PUBLIC_KEY
credentials: YOUR_SECRET_KEY
hash: sha512(referenceNumber + hashKey)
Content-Type: application/json
{
  "referenceNumber": "MER-2026-0042"
}
{
  "referenceNumber": "MER-2026-0042",
  "responseCode": 0,
  "message": "Success",
  "merchants": [
    {
      "displayName": "DSTV",
      "name": "DSTV",
      "description": "DSTV subscriptions",
      "uuid": "A3878DC1-F07D-48E7-AA59-8276C3C26647"
    }
  ]
}
Response fields (4)
FieldMeaning
merchants[].uuidThe value you need. Send it as merchantAccount
merchants[].displayNameThe name to show your customer
merchants[].nameThe biller’s name
merchants[].descriptionA short description

2. Pick the service

Call getMerchantServices with the biller’s uuid to list what your customer can pay for. What comes back depends on the kind of biller: no services, services with price 0.0, or services with prices, like the TV packages below.

POST /paga-webservices/business-rest/secured/getMerchantServices
principal: YOUR_PUBLIC_KEY
credentials: YOUR_SECRET_KEY
hash: sha512(referenceNumber + merchantPublicId + hashKey)
Content-Type: application/json
{
  "referenceNumber": "SRV-2026-0042",
  "merchantPublicId": "A3878DC1-F07D-48E7-AA59-8276C3C26647"
}
{
  "responseCode": 0,
  "message": "Success",
  "referenceNumber": "SRV-2026-0042",
  "services": [
    { "name": "DStv Starter", "code": "STARTERE36", "price": 6000.0, "shortCode": "STARTER" },
    { "name": "DStv Select", "code": "SELECTE36", "price": 11000.0, "shortCode": "SELECT" },
    { "name": "DStv Premium", "code": "PRWE36", "price": 44500.0, "shortCode": "PRM" }
  ]
}
Request and response fields
FieldMeaning
merchantPublicIdRequest. The biller’s uuid, from getMerchants
services[].codeThe value you need. Send it in merchantService when you pay
services[].priceThe service’s price, for fixed-price billers. Send it as amount. 0.0 means your customer chooses the amount
services[].nameThe service’s name, to show your customer
services[].shortCodeThe biller’s own short code for the service. Can be empty

Cache the service list. Billers change their packages and prices from time to time. Refresh your cached list regularly, such as weekly, so customers see current prices.

3. Validate the customer

Call getMerchantAccountDetails with the customer’s meter, smart card or account number. Show your customer the name it returns, so they can confirm before paying. If your customer chose a service, always send its code as merchantServiceProductCode: billers that need it use it, and the rest ignore it. The details returned vary slightly between billers, and some include the minimum amount.

POST /paga-webservices/business-rest/secured/getMerchantAccountDetails
principal: YOUR_PUBLIC_KEY
credentials: YOUR_SECRET_KEY
hash: sha512(referenceNumber + merchantAccount + merchantReferenceNumber + merchantServiceProductCode + hashKey)
Content-Type: application/json
{
  "referenceNumber": "VAL-2026-0042",
  "merchantAccount": "A3878DC1-F07D-48E7-AA59-8276C3C26647",
  "merchantReferenceNumber": "8110411076",
  "merchantServiceProductCode": "STARTERE36"
}
{
  "responseCode": 0,
  "message": "Success",
  "customerName": "JOHN ELVIS",
  "phoneNumber": "2348036399838",
  "accountNumber": "8110411076",
  "address": null,
  "details": {
    "firstName": "JOHN",
    "lastName": "ELVIS",
    "customerName": "JOHN ELVIS"
  }
}
Request and response fields
FieldMeaning
merchantAccountRequest. The biller’s uuid. Hash value 2
merchantReferenceNumberRequest. The customer’s meter, smart card or account number. Hash value 3
merchantServiceProductCodeRequest. The chosen service’s code from getMerchantServices. Always send it when there is one; billers that don’t need it ignore it. Hash value 4; use an empty string for billers with no services
customerNameShow this to your customer to confirm it’s their account
phoneNumberThe phone number the biller has for the customer
accountNumberThe account number you checked
addressThe customer’s address, if the biller returns it. Can be null
detailsThe same details, split into first and last name

4. Pay the bill

POST /paga-webservices/business-rest/secured/merchantPayment
principal: YOUR_PUBLIC_KEY
credentials: YOUR_SECRET_KEY
hash: sha512(referenceNumber + amount + merchantAccount + merchantReferenceNumber + hashKey)
Content-Type: application/json
{
  "referenceNumber": "BILL-2026-0042",
  "amount": 6000.0,
  "currency": "NGN",
  "merchantAccount": "A3878DC1-F07D-48E7-AA59-8276C3C26647",
  "merchantReferenceNumber": "8110411076",
  "merchantService": ["STARTERE36"]
}
Request parameters (11)
ParameterRequiredDescription
referenceNumberYesYour unique reference for this payment. Hash value 1
amountYesAmount to pay: the service’s price for fixed-price billers, otherwise what your customer chooses. Hash value 2
merchantAccountYesThe biller’s uuid, from getMerchants. Hash value 3
merchantReferenceNumberYesThe customer’s meter, smart card or account number at the biller. Hash value 4
merchantServiceDependsThe chosen service’s code, from getMerchantServices. Leave out for billers with no services
currencyNoNGN
paymentChannelNoThe channel your customer paid through, for your reporting
purchaserPrincipalNoOnly when paying on behalf of a Paga user: their authentication principal
purchaserCredentialsNoOnly when paying on behalf of a Paga user: their credentials
sourceOfFundsNoA pre-registered funding source. Leave out to use your Paga balance
localeNoLanguage for messages, such as en

Every biller returns the same standard response:

{
  "responseCode": 0,
  "responseCategoryCode": null,
  "message": "Your payment were successful and payment reference: 1098031588",
  "referenceNumber": "BILL-2026-0042",
  "merchantTransactionReference": "186668105",
  "transactionId": "6WKW2",
  "reversalId": null,
  "currency": "NGN",
  "exchangeRate": null,
  "fee": 0.0,
  "integrationStatus": "SUCCESSFUL"
}
Response fields (11)
FieldMeaning
responseCodeThe field to decide on. 0 means success. For other codes, see Business API error codes before acting
merchantTransactionReferenceThe biller’s reference for the payment, such as a confirmation code, token or receipt number. Show it to your customer
transactionIdPaga’s short ID for the payment
referenceNumberYour reference
messageReadable result
integrationStatusFor information only: the biller’s result (SUCCESSFUL, FAILED or INCONCLUSIVE). Decide on responseCode
feeFee taken from your balance
reversalIdSet if the payment was reversed to your balance
currencyNGN
exchangeRateOnly for foreign-currency payments
responseCategoryCodeUsually null
Extra details some billers add: additionalProperties

Some billers, such as electricity companies and exam bodies, add an additionalProperties object with details for your customer. Its fields vary by biller, so read the ones you need and ignore the rest. For example, a prepaid electricity payment might include:

{
  "additionalProperties": {
    "customerName": "BELLO RAMON",
    "token": "1234-5678-9012-3456-7890",
    "units": "45.2",
    "receiptNumber": "RCT-88212"
  }
}

Decide on responseCode. Base every decision on responseCode, looked up in the Business API error codes. integrationStatus is there for information.

5. Confirm the result

There’s no callback for this operation, so decide on responseCode in the response. If the request timed out, or you need to confirm later, call transactionStatus with the same referenceNumber, within 48 hours. It works exactly as for Money transfer.

POST /paga-webservices/business-rest/secured/transactionStatus
principal: YOUR_PUBLIC_KEY
credentials: YOUR_SECRET_KEY
hash: sha512(referenceNumber + hashKey)
Content-Type: application/json
{
  "referenceNumber": "BILL-2026-0042"
}
{
  "responseCode": 0,
  "responseCategoryCode": null,
  "message": null,
  "referenceNumber": "BILL-2026-0042",
  "status": "SUCCESSFUL",
  "transactionReference": "BP_20261106185932382_1244411102_6WKW2_fnp6h",
  "transactionId": "6WKW2",
  "reversalId": null,
  "transactionType": "BILL_PAY",
  "dateUTC": 1793987972383,
  "amount": 6000,
  "merchantTransactionReference": "186668105",
  "currency": "NGN",
  "exchangeRate": null,
  "fee": 0,
  "integrationStatus": "SUCCESS",
  "additionalProperties": {}
}
Response fields (16)
FieldMeaning
responseCodeThe field to decide on. 0 means success. For other codes, see Business API error codes before acting
statusA readable status, such as SUCCESSFUL. Don’t base decisions on it
referenceNumberYour reference
transactionIdPaga’s short ID for the payment
transactionReferencePaga’s full reference for the payment
transactionTypeBILL_PAY for bill payments
dateUTCWhen it happened, in milliseconds since 1970 (UTC)
amountAmount paid
merchantTransactionReferenceThe biller’s reference, token or receipt number. Useful if your customer needs it again
additionalPropertiesThe biller’s extra details, if any. Can be empty
integrationStatusFor information only. Decide on responseCode
feeFee taken from your balance
reversalIdSet if the payment was reversed to your balance
currencyNGN
exchangeRateOnly for foreign-currency payments
messageReadable result, if any
🚧

Don’t treat every non-zero code as a failure

0 means success. Other codes can mean pending, duplicate reference, failed and more, so look each one up in the Business API error codes before you refund a customer or try again.

Check your balance before a large run. Purchases come from your Paga business account. Check its balance and transaction history on Your business account.

Good to know

Give customers their token

For prepaid electricity, the token in additionalProperties is what your customer types into their meter. Show it clearly, with merchantTransactionReference, and send both by SMS or email.

Validate before you pay

A wrong meter or smart card number pays the wrong customer, and billers rarely reverse payments.

Earn a rebate

You earn a rebate on every bill payment you make through Paga.

Testing in Sandbox

Only DSTV is simulated in Sandbox. Other billers can only be tested in Live. Test numbers are on the Test data page.

Need help? We’re here 24/7

Talk to our support team any time, or ask questions in the developer community.