Fetch Payment Links
curl --request GET \
--url https://checkout-api-service.epayclub.com/checkout/links/all \
--header 'api-key: <api-key>'import requests
url = "https://checkout-api-service.epayclub.com/checkout/links/all"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://checkout-api-service.epayclub.com/checkout/links/all', 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://checkout-api-service.epayclub.com/checkout/links/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://checkout-api-service.epayclub.com/checkout/links/all"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("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://checkout-api-service.epayclub.com/checkout/links/all")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://checkout-api-service.epayclub.com/checkout/links/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 1,
"name": "Merchant Epayclub default payment link test",
"paymentType": "Default",
"logo": null,
"amount": null,
"dateCreated": "2025-02-13T02:36:42.449569",
"reference": "mJKmguySpGQI5LAT14j4T12",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "NGN",
"limit": null,
"paymentLinkUrl": "https://payment-link.devepayclub.com/mJKmguySpGQI5LAT14j4T12",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": null
},
{
"id": 108,
"name": "John Doe",
"paymentType": "Single Charge",
"logo": null,
"amount": 500.000000,
"dateCreated": "2025-04-11T04:00:54.181869",
"reference": "NbiV15Lgx5iUrdX7WaiTDiU$GxOpw$hd4RlEud$FrdWKfy6CeRM12",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "KES",
"limit": 1,
"paymentLinkUrl": "https://payment-link.devepayclub.com/NbiV15Lgx5iUrdX7WaiTDiU$GxOpw$hd4RlEud$FrdWKfy6CeRM12",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "Cake order payment"
},
{
"id": 112,
"name": "PaymentService",
"paymentType": "Multiple Charge",
"logo": null,
"amount": 1000.000000,
"dateCreated": "2025-04-11T14:52:27.962385",
"reference": "B_raC8YxyxC59Xd2YTtgTwepnPdiS2v4K_yXIQHxf94912",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "USD",
"limit": 100,
"paymentLinkUrl": "https://payment-link.devepayclub.com/B_raC8YxyxC59Xd2YTtgTwepnPdiS2v4K_yXIQHxf94912",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "A description of the payment service"
},
{
"id": 113,
"name": "Checkout Test",
"paymentType": "Multiple Charge",
"logo": null,
"amount": 100.000000,
"dateCreated": "2025-04-11T23:49:57.695448",
"reference": "qfB0CdeJ23PrSsWMSUA3SDegvQact482OuB0YQDMe1HH9x012",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "USD",
"limit": 100,
"paymentLinkUrl": "https://payment-link.devepayclub.com/qfB0CdeJ23PrSsWMSUA3SDegvQact482OuB0YQDMe1HH9x012",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "A Demo to understand how payment links work."
}
]
{
"status": "failed",
"status_code": "13",
"message": "Order not found at the moment"
}
Payment Links
Fetch Payment Links
Retrieve your payment links information.
GET
/
checkout
/
links
/
all
Fetch Payment Links
curl --request GET \
--url https://checkout-api-service.epayclub.com/checkout/links/all \
--header 'api-key: <api-key>'import requests
url = "https://checkout-api-service.epayclub.com/checkout/links/all"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://checkout-api-service.epayclub.com/checkout/links/all', 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://checkout-api-service.epayclub.com/checkout/links/all",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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://checkout-api-service.epayclub.com/checkout/links/all"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("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://checkout-api-service.epayclub.com/checkout/links/all")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://checkout-api-service.epayclub.com/checkout/links/all")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 1,
"name": "Merchant Epayclub default payment link test",
"paymentType": "Default",
"logo": null,
"amount": null,
"dateCreated": "2025-02-13T02:36:42.449569",
"reference": "mJKmguySpGQI5LAT14j4T12",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "NGN",
"limit": null,
"paymentLinkUrl": "https://payment-link.devepayclub.com/mJKmguySpGQI5LAT14j4T12",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": null
},
{
"id": 108,
"name": "John Doe",
"paymentType": "Single Charge",
"logo": null,
"amount": 500.000000,
"dateCreated": "2025-04-11T04:00:54.181869",
"reference": "NbiV15Lgx5iUrdX7WaiTDiU$GxOpw$hd4RlEud$FrdWKfy6CeRM12",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "KES",
"limit": 1,
"paymentLinkUrl": "https://payment-link.devepayclub.com/NbiV15Lgx5iUrdX7WaiTDiU$GxOpw$hd4RlEud$FrdWKfy6CeRM12",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "Cake order payment"
},
{
"id": 112,
"name": "PaymentService",
"paymentType": "Multiple Charge",
"logo": null,
"amount": 1000.000000,
"dateCreated": "2025-04-11T14:52:27.962385",
"reference": "B_raC8YxyxC59Xd2YTtgTwepnPdiS2v4K_yXIQHxf94912",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "USD",
"limit": 100,
"paymentLinkUrl": "https://payment-link.devepayclub.com/B_raC8YxyxC59Xd2YTtgTwepnPdiS2v4K_yXIQHxf94912",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "A description of the payment service"
},
{
"id": 113,
"name": "Checkout Test",
"paymentType": "Multiple Charge",
"logo": null,
"amount": 100.000000,
"dateCreated": "2025-04-11T23:49:57.695448",
"reference": "qfB0CdeJ23PrSsWMSUA3SDegvQact482OuB0YQDMe1HH9x012",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "USD",
"limit": 100,
"paymentLinkUrl": "https://payment-link.devepayclub.com/qfB0CdeJ23PrSsWMSUA3SDegvQact482OuB0YQDMe1HH9x012",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "A Demo to understand how payment links work."
}
]
{
"status": "failed",
"status_code": "13",
"message": "Order not found at the moment"
}
The Payment link’s ID.
[
{
"id": 1,
"name": "Merchant Epayclub default payment link test",
"paymentType": "Default",
"logo": null,
"amount": null,
"dateCreated": "2025-02-13T02:36:42.449569",
"reference": "mJKmguySpGQI5LAT14j4T12",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "NGN",
"limit": null,
"paymentLinkUrl": "https://payment-link.devepayclub.com/mJKmguySpGQI5LAT14j4T12",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": null
},
{
"id": 108,
"name": "John Doe",
"paymentType": "Single Charge",
"logo": null,
"amount": 500.000000,
"dateCreated": "2025-04-11T04:00:54.181869",
"reference": "NbiV15Lgx5iUrdX7WaiTDiU$GxOpw$hd4RlEud$FrdWKfy6CeRM12",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "KES",
"limit": 1,
"paymentLinkUrl": "https://payment-link.devepayclub.com/NbiV15Lgx5iUrdX7WaiTDiU$GxOpw$hd4RlEud$FrdWKfy6CeRM12",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "Cake order payment"
},
{
"id": 112,
"name": "PaymentService",
"paymentType": "Multiple Charge",
"logo": null,
"amount": 1000.000000,
"dateCreated": "2025-04-11T14:52:27.962385",
"reference": "B_raC8YxyxC59Xd2YTtgTwepnPdiS2v4K_yXIQHxf94912",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "USD",
"limit": 100,
"paymentLinkUrl": "https://payment-link.devepayclub.com/B_raC8YxyxC59Xd2YTtgTwepnPdiS2v4K_yXIQHxf94912",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "A description of the payment service"
},
{
"id": 113,
"name": "Checkout Test",
"paymentType": "Multiple Charge",
"logo": null,
"amount": 100.000000,
"dateCreated": "2025-04-11T23:49:57.695448",
"reference": "qfB0CdeJ23PrSsWMSUA3SDegvQact482OuB0YQDMe1HH9x012",
"createdBy": null,
"creatorEmail": null,
"isActive": true,
"currency": "USD",
"limit": 100,
"paymentLinkUrl": "https://payment-link.devepayclub.com/qfB0CdeJ23PrSsWMSUA3SDegvQact482OuB0YQDMe1HH9x012",
"appEnvironmentId": 0,
"paymentLinkType": null,
"paymentLinkCode": null,
"description": "A Demo to understand how payment links work."
}
]
{
"status": "failed",
"status_code": "13",
"message": "Order not found at the moment"
}
⌘I

