Transaction details
curl --request GET \
--url https://api.cartevo.co/api/v1/wallet/transactions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/wallet/transactions/{id}"
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/{id}', 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/{id}",
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/{id}"
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/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/wallet/transactions/{id}")
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"
}
}Wallets
Get Wallet Transaction by ID
Retrieve full details of a single wallet transaction by its ID.
GET
/
wallet
/
transactions
/
{id}
Transaction details
curl --request GET \
--url https://api.cartevo.co/api/v1/wallet/transactions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/wallet/transactions/{id}"
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/{id}', 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/{id}",
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/{id}"
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/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/wallet/transactions/{id}")
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"
}
}Overview
GET /wallet/transactions/{id} returns full details of one wallet transaction. Use this when you have a transaction ID (from a webhook, list response, or your own logs) and want to inspect it.
For card transactions, use GET /cards/{id}/transactions/{transactionId} — that’s a separate, card-specific endpoint.
When to use it
- Look up a single transaction during support.
- Refresh a transaction’s status after a webhook.
Prerequisites
- The transaction must belong to one of your wallets.
Request
Headers
| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Path parameters
| Name | Type | Description |
|---|---|---|
id | string | Wallet transaction ID (UUID). |
Response
200 — Success
{
"success": true,
"statusCode": 200,
"message": "Data retrieved successfully",
"data": {
"id": "txn_5b7c9d2e4f6a8b1c3d5e7f9a",
"wallet_id": "w1a2b3c4-d5e6-7890-abcd-ef1234567890",
"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"
}
}
GET /wallet/transactions/wallet/{walletId}.
Error responses
| Status | Trigger |
|---|---|
404 | Transaction does not exist or belongs to another company. |
Code examples
cURL
curl https://api.cartevo.co/api/v1/wallet/transactions/txn_5b7c9d2e4f6a8b1c3d5e7f9a \
-H "Authorization: Bearer $TOKEN"
Related
GET /wallet/transactions/wallet/{walletId}— list transactions for one wallet.GET /wallet/transactions— global list with filters.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.