Query Transactions
curl --request GET \
--url https://api.cartevo.co/api/v1/payment/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/payment/transactions"
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/payment/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.cartevo.co/api/v1/payment/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: 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/payment/transactions"
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/payment/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/payment/transactions")
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,
"message": "Transactions retrieved successfully",
"data": [
{
"transaction_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "SUCCESS",
"amount": 1000,
"currency": "XAF",
"phone_number": "237670000000",
"country": "CM",
"operator": "mtn",
"type": "COLLECTION",
"external_id": "ORD-2024-001",
"reason": "Invoice payment",
"description": "Payment collection transaction",
"created_at": "2025-01-08T12:00:00.000Z",
"updated_at": "2025-01-08T12:05:00.000Z",
"error_message": "<string>"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"totalPages": 1
}
}Payment Collection
List Payment Transactions
Query payment collections and payouts with filters by status, type, external ID, and date range.
GET
/
payment
/
transactions
Query Transactions
curl --request GET \
--url https://api.cartevo.co/api/v1/payment/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cartevo.co/api/v1/payment/transactions"
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/payment/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.cartevo.co/api/v1/payment/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: 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/payment/transactions"
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/payment/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cartevo.co/api/v1/payment/transactions")
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,
"message": "Transactions retrieved successfully",
"data": [
{
"transaction_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "SUCCESS",
"amount": 1000,
"currency": "XAF",
"phone_number": "237670000000",
"country": "CM",
"operator": "mtn",
"type": "COLLECTION",
"external_id": "ORD-2024-001",
"reason": "Invoice payment",
"description": "Payment collection transaction",
"created_at": "2025-01-08T12:00:00.000Z",
"updated_at": "2025-01-08T12:05:00.000Z",
"error_message": "<string>"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 15,
"totalPages": 1
}
}Overview
GET /payment/transactions returns a paginated list of your company’s payment transactions (collections and payouts), with optional filtering by status, type, external ID, or date range.
When to use it
- Reconcile your books against Cartevo’s records.
- Find a transaction by
external_idwhen you’ve lost the Cartevotransaction_id. - Build a dashboard view of recent payment activity.
Prerequisites
- Authenticated as a company user.
Request
Headers
| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
status | string | — | Filter by status. One of PENDING, PROCESSING, SUCCESS, FAILED. |
type | string | — | Filter by direction. One of COLLECTION, PAYOUT. |
external_id | string | — | Filter by your idempotency key. Substring match. |
from_date | string | — | ISO 8601 datetime. Includes transactions created on/after this instant. Example: 2026-04-01T00:00:00Z. |
to_date | string | — | ISO 8601 datetime. Includes transactions created strictly before this instant. |
page | integer | 1 | 1-indexed page number. |
limit | integer | 20 | Items per page. Max recommended: 100. |
Response
200 — Success
{
"success": true,
"statusCode": 200,
"message": "20 items retrieved successfully",
"data": [
{
"transaction_id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ORD-2026-001",
"status": "SUCCESS",
"type": "COLLECTION",
"amount": 1000,
"currency": "XAF",
"operator": "mtn",
"country": "CM",
"phone_number": "237670000000",
"reason": "Payment completed",
"description": "Invoice payment",
"created_at": "2026-05-09T10:15:00.000Z",
"updated_at": "2026-05-09T10:15:42.000Z",
"error_message": null
}
],
"meta": {
"page": 1,
"limit": 20,
"total": 137,
"totalPages": 7
}
}
GET /payment/transactions/{id}/status.
Error responses
| Status | Trigger |
|---|---|
400 | Invalid status, type, or date format. |
Code examples
cURL
curl -G https://api.cartevo.co/api/v1/payment/transactions \
-H "Authorization: Bearer $TOKEN" \
--data-urlencode "type=COLLECTION" \
--data-urlencode "status=SUCCESS" \
--data-urlencode "from_date=2026-04-01T00:00:00Z" \
--data-urlencode "to_date=2026-05-01T00:00:00Z" \
--data-urlencode "limit=100"
Related
GET /payment/transactions/{id}/status— single transaction detail.GET /payment/balance— current wallet balances.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter by status (PENDING, SUCCESS, FAILED)
Available options:
PENDING, SUCCESS, FAILED, PROCESSING Filter by type (COLLECTION, PAYOUT)
Available options:
COLLECTION, PAYOUT Filter by external ID (partial match)
Start date (ISO 8601)
End date (ISO 8601)
Page number
Example:
1
Items per page
Example:
20