Get Status of Transaction
curl --request GET \
--url https://test.digitaltermination.com/api/transactions/{zeepay_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://test.digitaltermination.com/api/transactions/{zeepay_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://test.digitaltermination.com/api/transactions/{zeepay_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://test.digitaltermination.com/api/transactions/{zeepay_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://test.digitaltermination.com/api/transactions/{zeepay_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://test.digitaltermination.com/api/transactions/{zeepay_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://test.digitaltermination.com/api/transactions/{zeepay_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{
"code": 200,
"data": {
"zeepay_id": 60456,
"extr_id": "cbeay-1234-5678-90ab-cdef12345678",
"sender_first_name": "Zeepay",
"sender_last_name": "Ghana",
"sender_country": "GHA",
"recipient_first_name": "GODWIN",
"recipient_last_name": "HOTTOR",
"recipient_country": "GHA",
"service_type": "Wallet",
"mobile_account": 233245519485,
"partner": "ZEEPAY GHANA LIMITED",
"fees": null,
"status": "Success",
"status_code": 200,
"status_message": "Transaction Processed Successfully",
"amount_sent": 0.1,
"amount_payout": 0.1,
"created_at": {
"date": "2021-09-01",
"time": "14:09:12",
"timezone_type": 3
},
"last_updated": "2025-01-24 14:09:12",
"amount_charged": 0
}
}API Endpoint
Get Transaction Status
Retrieve the status of a transaction using the Zeepay ID.
GET
/
api
/
transactions
/
{zeepay_id}
Get Status of Transaction
curl --request GET \
--url https://test.digitaltermination.com/api/transactions/{zeepay_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://test.digitaltermination.com/api/transactions/{zeepay_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://test.digitaltermination.com/api/transactions/{zeepay_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://test.digitaltermination.com/api/transactions/{zeepay_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://test.digitaltermination.com/api/transactions/{zeepay_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://test.digitaltermination.com/api/transactions/{zeepay_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://test.digitaltermination.com/api/transactions/{zeepay_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{
"code": 200,
"data": {
"zeepay_id": 60456,
"extr_id": "cbeay-1234-5678-90ab-cdef12345678",
"sender_first_name": "Zeepay",
"sender_last_name": "Ghana",
"sender_country": "GHA",
"recipient_first_name": "GODWIN",
"recipient_last_name": "HOTTOR",
"recipient_country": "GHA",
"service_type": "Wallet",
"mobile_account": 233245519485,
"partner": "ZEEPAY GHANA LIMITED",
"fees": null,
"status": "Success",
"status_code": 200,
"status_message": "Transaction Processed Successfully",
"amount_sent": 0.1,
"amount_payout": 0.1,
"created_at": {
"date": "2021-09-01",
"time": "14:09:12",
"timezone_type": 3
},
"last_updated": "2025-01-24 14:09:12",
"amount_charged": 0
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Zeepay ID of the transaction.
Example:
123456
⌘I
