List transactions
curl --request GET \
--url https://api.palpluss.com/v1/transactions \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.palpluss.com/v1/transactions"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.palpluss.com/v1/transactions', 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.palpluss.com/v1/transactions",
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: Basic <encoded-value>"
],
]);
$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.palpluss.com/v1/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.palpluss.com/v1/transactions")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.palpluss.com/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"overview": {
"total": 20,
"completed": 15,
"failed": 5,
"pending": 0
},
"items": [
{
"transactionId": "fa98a577-95ea-4a8f-8467-1fbe74f5d6f4",
"type": "STK",
"status": "SUCCESS",
"amount": 1000,
"currency": "KES",
"phone": "254712345678",
"accountReference": "INV-2024-001",
"createdAt": "2026-03-01T08:00:00.000Z",
"updatedAt": "2026-03-01T08:01:30.000Z"
}
],
"nextCursor": "eyJpZCI6ImZhOThhNTc3In0="
},
"requestId": "c1b2a3d4-0000-0000-0000-000000000000"
}{
"success": false,
"error": {
"message": "Invalid or revoked API key.",
"code": "INVALID_API_KEY",
"details": {}
},
"requestId": "a1b2c3d4-0000-0000-0000-000000000000"
}{
"success": false,
"error": {
"message": "Rate limit exceeded. Try again in 12 seconds.",
"code": "RATE_LIMIT_EXCEEDED",
"details": {
"limit": 60,
"remaining": 0,
"resetInSeconds": 12
}
},
"requestId": "a1b2c3d4-0000-0000-0000-000000000000"
}Transactions
List Transactions
Retrieve a paginated list of transactions for your account.
GET
/
transactions
List transactions
curl --request GET \
--url https://api.palpluss.com/v1/transactions \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.palpluss.com/v1/transactions"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.palpluss.com/v1/transactions', 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.palpluss.com/v1/transactions",
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: Basic <encoded-value>"
],
]);
$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.palpluss.com/v1/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.palpluss.com/v1/transactions")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.palpluss.com/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"overview": {
"total": 20,
"completed": 15,
"failed": 5,
"pending": 0
},
"items": [
{
"transactionId": "fa98a577-95ea-4a8f-8467-1fbe74f5d6f4",
"type": "STK",
"status": "SUCCESS",
"amount": 1000,
"currency": "KES",
"phone": "254712345678",
"accountReference": "INV-2024-001",
"createdAt": "2026-03-01T08:00:00.000Z",
"updatedAt": "2026-03-01T08:01:30.000Z"
}
],
"nextCursor": "eyJpZCI6ImZhOThhNTc3In0="
},
"requestId": "c1b2a3d4-0000-0000-0000-000000000000"
}{
"success": false,
"error": {
"message": "Invalid or revoked API key.",
"code": "INVALID_API_KEY",
"details": {}
},
"requestId": "a1b2c3d4-0000-0000-0000-000000000000"
}{
"success": false,
"error": {
"message": "Rate limit exceeded. Try again in 12 seconds.",
"code": "RATE_LIMIT_EXCEEDED",
"details": {
"limit": 60,
"remaining": 0,
"resetInSeconds": 12
}
},
"requestId": "a1b2c3d4-0000-0000-0000-000000000000"
}Retrieve and filter your full transaction history. Results include an aggregate overview independent of pagination.
Counts respect all query filters (
The fee is
Overview object
Every list response includes anoverview with counts for the full filtered set — not just the current page:
{
"overview": {
"total": 20,
"completed": 15,
"failed": 5,
"pending": 0
}
}
status, type, from, to, channelId, amountMin, amountMax, q) but ignore cursor — the numbers stay consistent across pages.
Transaction fee field
Each transaction item includes atransactionFee field (merchant API) / transaction_fee field (developer API):
| Status | transaction_fee value |
|---|---|
PENDING | Actual fee charged from service wallet |
SUCCESS | Actual fee charged from service wallet |
FAILED | 0 |
CANCELLED | 0 |
EXPIRED | 0 |
0 when no pricing rule is configured for your account.
Pagination
Transactions return newest first. PassnextCursor from the previous response to fetch the next page.
# Page 1
curl "https://api.palpluss.com/v1/transactions?limit=20" \
-u "$PALPLUSS_API_KEY:"
# Page 2
curl "https://api.palpluss.com/v1/transactions?limit=20&cursor=eyJpZCI6ImZhOThhNTc3In0=" \
-u "$PALPLUSS_API_KEY:"
nextCursor: null means you have reached the last page.
Filtering
Combinestatus and type to narrow results:
# All successful STK payments
curl "https://api.palpluss.com/v1/transactions?type=STK&status=SUCCESS" \
-u "$PALPLUSS_API_KEY:"
# All pending B2C payouts
curl "https://api.palpluss.com/v1/transactions?type=B2C&status=PENDING" \
-u "$PALPLUSS_API_KEY:"
Authorizations
Paste your PalPluss API key in the username field and leave the password field empty — it is ignored.
Get your key from console → Settings → API Keys (starts with pk_live_ or pk_test_).
In your own code, send the key directly:
Authorization: Basic YOUR_API_KEY
Query Parameters
Number of records per page (1–100, default 20).
Required range:
1 <= x <= 100Pagination cursor from the previous response nextCursor field.
Filter by transaction status.
PENDING— Awaiting customer action or provider responsePROCESSING— Provider accepted; waiting for final confirmationSUCCESS— Completed successfullyFAILED— Transaction failed (provider declined or timeout)REVERSED— Successfully reversed (wallet credited back)CANCELLED— Cancelled before processing
Available options:
PENDING, PROCESSING, SUCCESS, FAILED, REVERSED, CANCELLED Filter by transaction type.
STK— M-Pesa STK Push collectionB2C— Business to Customer payout
Available options:
STK, B2C Response
Paginated list of transactions.