Transactions
List fleet payment transactions
Uses the same field names and debit/credit notation as the fleet dashboard transaction feed.
GET
/
public
/
fleets
/
v1
/
transactions
List fleet payment transactions
curl --request GET \
--url https://api.ionage.in/public/fleets/v1/transactions \
--header 'x-api-key: <api-key>'import requests
url = "https://api.ionage.in/public/fleets/v1/transactions"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.ionage.in/public/fleets/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.ionage.in/public/fleets/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 => [
"x-api-key: <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.ionage.in/public/fleets/v1/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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.ionage.in/public/fleets/v1/transactions")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionage.in/public/fleets/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"recipient_name": "HPC Indiranagar",
"recipient_operator_name": "HPC Charging",
"transaction_datetime": "2026-09-17T09:22:41Z",
"fleet_driver_name": "Ananya Rao",
"payment_amount_incl_tax_paise": 47200,
"payment_amount_excl_tax_paise": 40000,
"payment_transaction_type": "DEBIT",
"payment_transaction_id": "TXN20260917_7K4N2P9R5T8V3X6Z"
}
],
"metadata": {
"total_count": 1,
"next": null,
"prev": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "connector_id is required"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "an unexpected error occurred while processing the request"
}
}Authorizations
Query Parameters
Was this page helpful?
List fleet payment transactions
curl --request GET \
--url https://api.ionage.in/public/fleets/v1/transactions \
--header 'x-api-key: <api-key>'import requests
url = "https://api.ionage.in/public/fleets/v1/transactions"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.ionage.in/public/fleets/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.ionage.in/public/fleets/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 => [
"x-api-key: <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.ionage.in/public/fleets/v1/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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.ionage.in/public/fleets/v1/transactions")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionage.in/public/fleets/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"recipient_name": "HPC Indiranagar",
"recipient_operator_name": "HPC Charging",
"transaction_datetime": "2026-09-17T09:22:41Z",
"fleet_driver_name": "Ananya Rao",
"payment_amount_incl_tax_paise": 47200,
"payment_amount_excl_tax_paise": 40000,
"payment_transaction_type": "DEBIT",
"payment_transaction_id": "TXN20260917_7K4N2P9R5T8V3X6Z"
}
],
"metadata": {
"total_count": 1,
"next": null,
"prev": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "connector_id is required"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "an unexpected error occurred while processing the request"
}
}
.png?fit=max&auto=format&n=Q9Mj_7gZzDeQpRZZ&q=85&s=81619203ea2696cfd7251205cfbc5afc)