Get Payment History
curl --request GET \
--url https://api-local.handle.ng/api/v1/bill-payment/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-local.handle.ng/api/v1/bill-payment/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-local.handle.ng/api/v1/bill-payment/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-local.handle.ng/api/v1/bill-payment/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-local.handle.ng/api/v1/bill-payment/history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-local.handle.ng/api/v1/bill-payment/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-local.handle.ng/api/v1/bill-payment/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"total": 2,
"page": 1,
"limit": 20,
"totalPages": 1,
"transactions": [
{
"id": "tx_cly982341908234",
"userId": "usr_9012481092",
"billerType": "ELECTRICITY",
"providerCode": "KUDA",
"recipientId": "0219927013063",
"amount": 1000,
"status": "SUCCESS",
"providerReference": "KD-TX-9847120938",
"metadata": {
"token": "4819-2049-1829-4019-3382",
"units": "34.5 kWh",
"billerName": "AEDC Prepaid Electricity"
},
"createdAt": "2026-10-01T11:45:22.000Z"
},
{
"id": "tx_cly982341908235",
"userId": "usr_9012481092",
"billerType": "RRR",
"providerCode": "REMITA",
"recipientId": "220799679350",
"amount": 1000,
"status": "SUCCESS",
"providerReference": "RRR_PAY_172778810293",
"metadata": {
"rrr": "220799679350",
"billerName": "ABUJA ELECTRICITY DISTRIBUTION COMPANY",
"payerName": "Ayodeji Peters"
},
"createdAt": "2026-10-01T10:15:00.000Z"
}
]
}
}Handle VAS & Bill Payments
Get Payment History
Retrieve past utility purchases, electricity tokens, data recharge receipts, and transaction records with pagination and filters.
GET
/
bill-payment
/
history
Get Payment History
curl --request GET \
--url https://api-local.handle.ng/api/v1/bill-payment/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-local.handle.ng/api/v1/bill-payment/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-local.handle.ng/api/v1/bill-payment/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-local.handle.ng/api/v1/bill-payment/history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-local.handle.ng/api/v1/bill-payment/history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-local.handle.ng/api/v1/bill-payment/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-local.handle.ng/api/v1/bill-payment/history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"total": 2,
"page": 1,
"limit": 20,
"totalPages": 1,
"transactions": [
{
"id": "tx_cly982341908234",
"userId": "usr_9012481092",
"billerType": "ELECTRICITY",
"providerCode": "KUDA",
"recipientId": "0219927013063",
"amount": 1000,
"status": "SUCCESS",
"providerReference": "KD-TX-9847120938",
"metadata": {
"token": "4819-2049-1829-4019-3382",
"units": "34.5 kWh",
"billerName": "AEDC Prepaid Electricity"
},
"createdAt": "2026-10-01T11:45:22.000Z"
},
{
"id": "tx_cly982341908235",
"userId": "usr_9012481092",
"billerType": "RRR",
"providerCode": "REMITA",
"recipientId": "220799679350",
"amount": 1000,
"status": "SUCCESS",
"providerReference": "RRR_PAY_172778810293",
"metadata": {
"rrr": "220799679350",
"billerName": "ABUJA ELECTRICITY DISTRIBUTION COMPANY",
"payerName": "Ayodeji Peters"
},
"createdAt": "2026-10-01T10:15:00.000Z"
}
]
}
}Retrieve a user’s recent bill payment transaction history. This allows users to look up previously generated meter tokens, recharge references, and tax/collection receipts.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (defaults to 1). |
limit | integer | Number of items per page (default 20, max 100). |
category | string | Filter by category (e.g. ELECTRICITY, DATA, AIRTIME, RRR). |
status | string | Filter by status (SUCCESS, PENDING, FAILED). |
search | string | Search query across meter number, phone, or reference. |
Sample Paginated Response
{
"success": true,
"data": {
"total": 12,
"page": 1,
"limit": 20,
"totalPages": 1,
"transactions": [
{
"id": "c928419a-9e02-4fbc-b819-8192a0194812",
"userId": "efd29d37-4624-4fa5-8f24-b18cba593c9c",
"billerType": "ELECTRICITY",
"providerCode": "REMITA",
"recipientId": "0219927013063",
"amount": 5000,
"providerReference": "HDL_VAS_1790800000",
"status": "SUCCESS",
"metadata": {
"token": "4819-2049-1829-9401-2910",
"units": "45.2 kWh",
"customerName": "Ayodeji Peters"
},
"createdAt": "2026-10-01T12:00:00.000Z"
}
]
}
}