Transactions by wallet
curl --request GET \
--url https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}', 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.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}",
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.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}"
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.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}")
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,
"statusCode": 200,
"message": "Data retrieved successfully",
"data": [
{
"id": "7d1cdfa3-9904-4a17-bce5-092554170c0e",
"amount": 5000,
"amount_with_fee": 5100,
"fee_amount": 100,
"net_amount": 5000,
"currency": "XAF",
"status": "PENDING",
"type": "FUND",
"category": "WALLET",
"operator": "mtn",
"phone_number": "650695112",
"reference": "<string>",
"order_id": "<string>",
"wallet_balance_before": 10000,
"wallet_balance_after": 15000,
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"totalPages": 1
}
}Wallets
List Wallet Transactions
Retrieve all transactions affecting a specific wallet (fundings, deposits, payouts, internal transfers, fees).
GET
/
wallet
/
transactions
/
wallet
/
{walletId}
Transactions by wallet
curl --request GET \
--url https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}', 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.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}",
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.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}"
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.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/wallet/transactions/wallet/{walletId}")
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,
"statusCode": 200,
"message": "Data retrieved successfully",
"data": [
{
"id": "7d1cdfa3-9904-4a17-bce5-092554170c0e",
"amount": 5000,
"amount_with_fee": 5100,
"fee_amount": 100,
"net_amount": 5000,
"currency": "XAF",
"status": "PENDING",
"type": "FUND",
"category": "WALLET",
"operator": "mtn",
"phone_number": "650695112",
"reference": "<string>",
"order_id": "<string>",
"wallet_balance_before": 10000,
"wallet_balance_after": 15000,
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"totalPages": 1
}
}Overview
GET /wallet/transactions/wallet/{walletId} returns the full transaction history for one wallet — fundings, deposits, payouts, internal transfers, and any fees deducted. The response is paginated.
When to use it
- Render a per-wallet activity feed in your dashboard.
- Reconcile a wallet’s balance against its transaction history.
- Investigate a missing or unexpected balance change.
Prerequisites
- The wallet must belong to your company.
Request
Headers
| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Path parameters
| Name | Type | Description |
|---|---|---|
walletId | string | Wallet ID (UUID). |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | 1-indexed page number. |
limit | integer | 10 | Items per page (max ~100). |
Response
200 — Success
{
"success": true,
"statusCode": 200,
"message": "20 items retrieved successfully",
"data": [
{
"id": "txn_5b7c9d2e4f6a8b1c3d5e7f9a",
"amount": 5000,
"amount_with_fee": 5050,
"fee_amount": 50,
"net_amount": 5000,
"currency": "XAF",
"status": "SUCCESS",
"type": "FUND",
"category": "WALLET",
"operator": "mtn",
"phone_number": "237670000000",
"reference": "FUND-2026-001",
"order_id": "AFB-202605091015-XYZ",
"wallet_balance_before": 120000,
"wallet_balance_after": 125000,
"created_at": "2026-05-09T10:15:00.000Z",
"completed_at": "2026-05-09T10:15:42.000Z"
}
],
"meta": {
"page": 1,
"limit": 10,
"total": 47,
"totalPages": 5
}
}
Field reference
| Field | Type | Description |
|---|---|---|
id | string | Transaction ID. |
amount | number | Transaction amount in currency. |
amount_with_fee | number | amount + fee_amount. The total movement against the wallet. |
fee_amount | number | Fee deducted (0 if no fee applies). |
net_amount | number | Net amount credited or debited after fees. |
type | string | One of FUND, WITHDRAW, DEPOSIT, TRANSFER, FEE, REFUND. |
category | string | Always "WALLET" for this endpoint. |
status | string | One of PENDING, PROCESSING, SUCCESS, FAILED. |
wallet_balance_before / wallet_balance_after | number | Wallet balance immediately before / after this transaction settled. null for PENDING. |
reference | string | The trxId you supplied (or auto-generated). |
order_id | string | Reference at the upstream payment provider. |
completed_at | string | When the transaction reached a terminal state. null for non-terminal. |
Error responses
| Status | Trigger |
|---|---|
404 | Wallet does not exist or belongs to another company. |
Code examples
cURL
curl -G https://api.cartevo.co/api/v1/wallet/transactions/wallet/w1a2b3c4-d5e6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer $TOKEN" \
--data-urlencode "page=1" \
--data-urlencode "limit=50"
Related
GET /wallet/transactions/{id}— single transaction detail by transaction ID.GET /wallet/transactions— global list across all wallets.- Webhooks → Transaction events — receive these events in real time.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.