Verify Collection (TSQ)
curl --request GET \
--url https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference} \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>'import requests
url = "https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}"
headers = {
"client-id": "<api-key>",
"client-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'client-id': '<api-key>', 'client-secret': '<api-key>'}
};
fetch('https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}', 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://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"client-id: <api-key>",
"client-secret: <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://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("client-id", "<api-key>")
req.Header.Add("client-secret", "<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://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}")
.header("client-id", "<api-key>")
.header("client-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["client-id"] = '<api-key>'
request["client-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"clientId": "6thbridge",
"status": "success",
"statusDescription": "SUCCESSFUL",
"reference": "DDC20260112090912SALGA",
"externalReference": "DDC20260112090912SALGA",
"providersReference": "PIX_57688731248976662631",
"currency": "USD, NGN, XOF, XAF",
"charge": 5,
"totalAmount": 1005,
"amount": 1000,
"user": {
"phoneNumber": "+221786836369"
},
"metadata": {
"trafficType": "CLOTHING",
"merchantName": "Sample Name",
"bankName": "CAPITEC BANK",
"bankCode": "4700"
},
"checkoutId": "69651ca8bf1ff6b132d93a47",
"provider": "wave-senegal",
"providerLabel": "Wave",
"channel": "mobile-money",
"id": "69651ca8bf1ff6b132d93a47",
"paymentCard": null,
"paidAt": 1768234193
}
}Collections
Verify Collection (TSQ)
This is the endpoint to verify a Transaction (TSQ)
GET
/
payments
/
v1
/
payments
/
verify
/
{reference}
Verify Collection (TSQ)
curl --request GET \
--url https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference} \
--header 'client-id: <api-key>' \
--header 'client-secret: <api-key>'import requests
url = "https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}"
headers = {
"client-id": "<api-key>",
"client-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'client-id': '<api-key>', 'client-secret': '<api-key>'}
};
fetch('https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}', 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://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"client-id: <api-key>",
"client-secret: <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://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("client-id", "<api-key>")
req.Header.Add("client-secret", "<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://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}")
.header("client-id", "<api-key>")
.header("client-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.payfonte.com/payments/v1/payments/verify/{reference}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["client-id"] = '<api-key>'
request["client-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"clientId": "6thbridge",
"status": "success",
"statusDescription": "SUCCESSFUL",
"reference": "DDC20260112090912SALGA",
"externalReference": "DDC20260112090912SALGA",
"providersReference": "PIX_57688731248976662631",
"currency": "USD, NGN, XOF, XAF",
"charge": 5,
"totalAmount": 1005,
"amount": 1000,
"user": {
"phoneNumber": "+221786836369"
},
"metadata": {
"trafficType": "CLOTHING",
"merchantName": "Sample Name",
"bankName": "CAPITEC BANK",
"bankCode": "4700"
},
"checkoutId": "69651ca8bf1ff6b132d93a47",
"provider": "wave-senegal",
"providerLabel": "Wave",
"channel": "mobile-money",
"id": "69651ca8bf1ff6b132d93a47",
"paymentCard": null,
"paidAt": 1768234193
}
}⌘I