Bill payment (VAS)
All the value-added services you need in one place
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.
| Environment | Base URL |
|---|---|
| Sandbox | https://beta.mypaga.com |
| Live | https://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.
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.
Any amount
getMerchantServices returns no services. Skip choosing a service and send the amount your customer wants to pay.
Betting, solar, wallet funding
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
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 listed | Services, price 0.0 | Services with prices | |
|---|---|---|---|
getMerchantServices returns | No services | Services with price 0.0 | Services, with prices |
merchantServiceProductCode when validating | Leave out | The chosen service’s code. Always send it | The chosen service’s code. Always send it |
merchantService when paying | Leave out | The chosen service’s code | The chosen service’s code |
amount when paying | Any amount | Any amount, above the biller’s minimum | The 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)
| Field | Meaning |
|---|---|
merchants[].uuid | The value you need. Send it as merchantAccount |
merchants[].displayName | The name to show your customer |
merchants[].name | The biller’s name |
merchants[].description | A 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
| Field | Meaning |
|---|---|
merchantPublicId | Request. The biller’s uuid, from getMerchants |
services[].code | The value you need. Send it in merchantService when you pay |
services[].price | The service’s price, for fixed-price billers. Send it as amount. 0.0 means your customer chooses the amount |
services[].name | The service’s name, to show your customer |
services[].shortCode | The 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
| Field | Meaning |
|---|---|
merchantAccount | Request. The biller’s uuid. Hash value 2 |
merchantReferenceNumber | Request. The customer’s meter, smart card or account number. Hash value 3 |
merchantServiceProductCode | Request. 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 |
customerName | Show this to your customer to confirm it’s their account |
phoneNumber | The phone number the biller has for the customer |
accountNumber | The account number you checked |
address | The customer’s address, if the biller returns it. Can be null |
details | The 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)
| Parameter | Required | Description |
|---|---|---|
referenceNumber | Yes | Your unique reference for this payment. Hash value 1 |
amount | Yes | Amount to pay: the service’s price for fixed-price billers, otherwise what your customer chooses. Hash value 2 |
merchantAccount | Yes | The biller’s uuid, from getMerchants. Hash value 3 |
merchantReferenceNumber | Yes | The customer’s meter, smart card or account number at the biller. Hash value 4 |
merchantService | Depends | The chosen service’s code, from getMerchantServices. Leave out for billers with no services |
currency | No | NGN |
paymentChannel | No | The channel your customer paid through, for your reporting |
purchaserPrincipal | No | Only when paying on behalf of a Paga user: their authentication principal |
purchaserCredentials | No | Only when paying on behalf of a Paga user: their credentials |
sourceOfFunds | No | A pre-registered funding source. Leave out to use your Paga balance |
locale | No | Language 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)
| Field | Meaning |
|---|---|
responseCode | The field to decide on. 0 means success. For other codes, see Business API error codes before acting |
merchantTransactionReference | The biller’s reference for the payment, such as a confirmation code, token or receipt number. Show it to your customer |
transactionId | Paga’s short ID for the payment |
referenceNumber | Your reference |
message | Readable result |
integrationStatus | For information only: the biller’s result (SUCCESSFUL, FAILED or INCONCLUSIVE). Decide on responseCode |
fee | Fee taken from your balance |
reversalId | Set if the payment was reversed to your balance |
currency | NGN |
exchangeRate | Only for foreign-currency payments |
responseCategoryCode | Usually 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)
| Field | Meaning |
|---|---|
responseCode | The field to decide on. 0 means success. For other codes, see Business API error codes before acting |
status | A readable status, such as SUCCESSFUL. Don’t base decisions on it |
referenceNumber | Your reference |
transactionId | Paga’s short ID for the payment |
transactionReference | Paga’s full reference for the payment |
transactionType | BILL_PAY for bill payments |
dateUTC | When it happened, in milliseconds since 1970 (UTC) |
amount | Amount paid |
merchantTransactionReference | The biller’s reference, token or receipt number. Useful if your customer needs it again |
additionalProperties | The biller’s extra details, if any. Can be empty |
integrationStatus | For information only. Decide on responseCode |
fee | Fee taken from your balance |
reversalId | Set if the payment was reversed to your balance |
currency | NGN |
exchangeRate | Only for foreign-currency payments |
message | Readable result, if any |
Don’t treat every non-zero code as a failure
0means 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.
Updated 16 days ago

