Bridge API DocsBridge API Docs
Bridge API Docs
Api reference

Bill Payments

Pay utility and service bills via the Bridge API using bill product codes

Bill Payments

Pay supported bills by posting the customer or account identifier and the bill product code (nw). The API accepts the request and processes it asynchronously; final status is delivered to your callback URL.

Endpoint

POST https://api.bridgeagw.com/pay_bill

Request Headers

Authorization: Basic <base64_encoded_credentials>
Content-Type: application/json

Request Body

{
  "service_id": 55,
  "reference": "Bill payment",
  "transaction_id": "ksnyew2kei4a-alnlapk-uou",
  "trans_type": "BLP",
  "amount": 5,
  "account_number": "3928978903232",
  "nw": "EPP",
  "callback_url": "https://webhook.site/0b429e73-ce5c-420b-af82-a346fb577c43",
  "request_time": "2025-10-03 23:50"
}

Parameters

ParameterTypeRequiredDescription
service_idintegerYesYour service identifier
referencestringYesPayment reference or description
transaction_idstringYesUnique transaction identifier
trans_typestringYesMust be BLP for bill payment
amountnumberYesPayment amount
account_numberstringYesCustomer or account number for the bill
nwstringYesBill product code (see table below)
callback_urlstringYesURL for asynchronous status notifications
request_timestringYesRequest timestamp

Supported bill products (nw)

CodeService
GOTGoTV
GTMGoTV Max
DSTDSTv
MPOMTN Postpaid
MPPMTN Prepaid Data
VPOVodafone Postpaid
VPPVodafone Prepaid Data
SFLSurfline
TLSTelesol
STTStartimes
ECGECG Postpaid
VBBVodafone Broadband (ADSL)
BXOBox Office
EPPECG Prepaid
GHWGhana Water
SCPSchool Placement
WREWAEC Result

Response

Accepted (202)

{
  "response_message": "Request successfully received for processing",
  "response_code": "202"
}

Example (cURL)

curl -X POST "https://api.bridgeagw.com/pay_bill" \
  -H "Authorization: Basic <your_credentials>" \
  -H "Content-Type: application/json" \
  -d '{
    "service_id": 55,
    "reference": "Bill payment",
    "transaction_id": "ksnyew2kei4a-alnlapk-uou",
    "trans_type": "BLP",
    "amount": 5,
    "account_number": "3928978903232",
    "nw": "EPP",
    "callback_url": "https://your-site.com/webhook/bill-status",
    "request_time": "2025-10-03 23:50"
  }'

Callbacks

After you receive 202, rely on your callback_url for final status. See Callbacks.