Get Transaction Details
curl --request GET \
--url https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64import requests
url = "https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64', 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.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64"
req, _ := http.NewRequest("GET", url, nil)
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.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyPeer 2 Peer
Get Transaction Details
This endpoint unveils the intricate details of mobile money transactions between subscribers. You’ll gain visibility into the precise amount exchanged, along with the identities of the sending and receiving accounts. Furthermore, you’ll discover the originating and destination countries and the respective mobile network operators involved. This comprehensive view provides a clear understanding of each transaction’s key attributes.EndFragment
GET
/
v1
/
peer2peer
/
history
/
tr__p2p__67fc0c18ba8e84abbfdcbd64
Get Transaction Details
curl --request GET \
--url https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64import requests
url = "https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64', 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.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64"
req, _ := http.NewRequest("GET", url, nil)
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.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rokcel.com/v1/peer2peer/history/tr__p2p__67fc0c18ba8e84abbfdcbd64")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyHeaders
Example:
"{{APP_TOKEN}}"
Response
200 - undefined
