Fetch Payment Link Transactions
curl --request GET \
--url 'https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1' \
--header 'Authorization: <api-key>'import requests
url = "https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1', 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.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1",
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: <api-key>"
],
]);
$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.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Payment Link Transactions fetched successfully",
"data": {
"items": [
{
"transaction_id": 90123451,
"transaction_payable_amount": 15000,
"transaction_amount": 15000,
"transaction_fee_amount": 250,
"transaction_start_date": "2026-09-25T10:15:30.123456",
"transaction_status": "Completed",
"currency_name": "Naira",
"transaction_reference": "P-C-20260925-ABCDEF123",
"transaction_channel": "Checkout",
"transaction_mode": "Card",
"customer_pay_fee": false,
"customer_response": {
"email_address": "customer1@example.com"
}
},
{
"transaction_id": 90123452,
"transaction_payable_amount": 5500,
"transaction_amount": 5500,
"transaction_fee_amount": 100,
"transaction_start_date": "2026-09-24T14:45:12.654321",
"transaction_status": "Failed",
"currency_name": "Naira",
"transaction_reference": "P-C-20260924-XYZ987UIO",
"transaction_channel": "Checkout",
"transaction_mode": "VirtualAccount",
"customer_pay_fee": false,
"customer_response": {
"email_address": "johndoe@example.com"
}
},
{
"transaction_id": 90123453,
"transaction_payable_amount": 3200.5,
"transaction_amount": 3200.5,
"transaction_fee_amount": 50.5,
"transaction_start_date": "2026-09-23T08:20:05.987654",
"transaction_status": "Initialized",
"currency_name": "Naira",
"transaction_reference": "P-C-20260923-LMN456QWE",
"transaction_channel": "Checkout",
"transaction_mode": "Unknown",
"customer_pay_fee": true,
"customer_response": {
"email_address": "janedoe@example.com"
}
}
],
"pagination": {
"total": 3,
"per_page": 10,
"current_page": 1,
"total_pages": 1
}
}
}Payment Links
Fetch Payment Link Transactions
It retrieves the list of transactions for a specific payment link.
GET
/
payment-link
/
merchant
/
fetch-payment-link-transactions?link_id=41268&page=1
Fetch Payment Link Transactions
curl --request GET \
--url 'https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1' \
--header 'Authorization: <api-key>'import requests
url = "https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1', 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.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1",
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: <api-key>"
],
]);
$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.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.payaza.africa/live/payment-link/merchant/fetch-payment-link-transactions?link_id=41268&page=1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Payment Link Transactions fetched successfully",
"data": {
"items": [
{
"transaction_id": 90123451,
"transaction_payable_amount": 15000,
"transaction_amount": 15000,
"transaction_fee_amount": 250,
"transaction_start_date": "2026-09-25T10:15:30.123456",
"transaction_status": "Completed",
"currency_name": "Naira",
"transaction_reference": "P-C-20260925-ABCDEF123",
"transaction_channel": "Checkout",
"transaction_mode": "Card",
"customer_pay_fee": false,
"customer_response": {
"email_address": "customer1@example.com"
}
},
{
"transaction_id": 90123452,
"transaction_payable_amount": 5500,
"transaction_amount": 5500,
"transaction_fee_amount": 100,
"transaction_start_date": "2026-09-24T14:45:12.654321",
"transaction_status": "Failed",
"currency_name": "Naira",
"transaction_reference": "P-C-20260924-XYZ987UIO",
"transaction_channel": "Checkout",
"transaction_mode": "VirtualAccount",
"customer_pay_fee": false,
"customer_response": {
"email_address": "johndoe@example.com"
}
},
{
"transaction_id": 90123453,
"transaction_payable_amount": 3200.5,
"transaction_amount": 3200.5,
"transaction_fee_amount": 50.5,
"transaction_start_date": "2026-09-23T08:20:05.987654",
"transaction_status": "Initialized",
"currency_name": "Naira",
"transaction_reference": "P-C-20260923-LMN456QWE",
"transaction_channel": "Checkout",
"transaction_mode": "Unknown",
"customer_pay_fee": true,
"customer_response": {
"email_address": "janedoe@example.com"
}
}
],
"pagination": {
"total": 3,
"per_page": 10,
"current_page": 1,
"total_pages": 1
}
}
}Authorizations
Payaza {{Public API Key in Base 64}}
Query Parameters
The ID of the payment link for which to fetch transactions.
The page number to be retrieved.
Response
Request Successful
Indicates whether the request was successful.
Example:
true
A descriptive message regarding the outcome of the operation.
Example:
"Payment Link Transactions fetched successfully"
The payload containing the list of transactions and pagination details.
Show child attributes
Show child attributes