Fetch Link frequencies
curl --request GET \
--url https://checkout-api-service.epayclub.com/checkout/frequencies \
--header 'api-key: <api-key>'import requests
url = "https://checkout-api-service.epayclub.com/checkout/frequencies"
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/frequencies', 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/frequencies",
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/frequencies"
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/frequencies")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://checkout-api-service.epayclub.com/checkout/frequencies")
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{
"data": [
{
"hours": 1,
"days": 0,
"name": "Hourly",
"description": "Payment made hourly",
"isActive": null,
"id": 1,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 24,
"days": 1,
"name": "Daily",
"description": "Daily",
"isActive": null,
"id": 2,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 168,
"days": 7,
"name": "Weekly",
"description": "Weekly",
"isActive": null,
"id": 3,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 336,
"days": 14,
"name": "Bi-Weekly",
"description": "Bi-Weekly",
"isActive": null,
"id": 4,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 504,
"days": 21,
"name": "Every 3 Weeks",
"description": "Every 3 Weeks",
"isActive": null,
"id": 5,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 720,
"days": 30,
"name": "Monthly",
"description": "Monthly",
"isActive": null,
"id": 6,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 1440,
"days": 60,
"name": "Bi-Monthly",
"description": "Bi-Monthly",
"isActive": null,
"id": 7,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 2160,
"days": 90,
"name": "Every 3 Months",
"description": "Every 3 Months",
"isActive": null,
"id": 8,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 4320,
"days": 180,
"name": "Every 6 Months",
"description": "Every 6 Months",
"isActive": null,
"id": 9,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 8760,
"days": 365,
"name": "Yearly",
"description": "Yearly",
"isActive": null,
"id": 10,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 17520,
"days": 730,
"name": "Bi-Yearly",
"description": "Bi-Yearly",
"isActive": null,
"id": 11,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
}
],
"status": "success",
"statusCode": "00",
"message": "Operation successful"
}
{
"status": "failed",
"status_code": "13",
"message": "Order not found at the moment"
}
Payment Links
Fetch Link frequencies
Retrieve frequency ID for recurring payments.
GET
/
checkout
/
frequencies
Fetch Link frequencies
curl --request GET \
--url https://checkout-api-service.epayclub.com/checkout/frequencies \
--header 'api-key: <api-key>'import requests
url = "https://checkout-api-service.epayclub.com/checkout/frequencies"
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/frequencies', 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/frequencies",
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/frequencies"
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/frequencies")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://checkout-api-service.epayclub.com/checkout/frequencies")
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{
"data": [
{
"hours": 1,
"days": 0,
"name": "Hourly",
"description": "Payment made hourly",
"isActive": null,
"id": 1,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 24,
"days": 1,
"name": "Daily",
"description": "Daily",
"isActive": null,
"id": 2,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 168,
"days": 7,
"name": "Weekly",
"description": "Weekly",
"isActive": null,
"id": 3,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 336,
"days": 14,
"name": "Bi-Weekly",
"description": "Bi-Weekly",
"isActive": null,
"id": 4,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 504,
"days": 21,
"name": "Every 3 Weeks",
"description": "Every 3 Weeks",
"isActive": null,
"id": 5,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 720,
"days": 30,
"name": "Monthly",
"description": "Monthly",
"isActive": null,
"id": 6,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 1440,
"days": 60,
"name": "Bi-Monthly",
"description": "Bi-Monthly",
"isActive": null,
"id": 7,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 2160,
"days": 90,
"name": "Every 3 Months",
"description": "Every 3 Months",
"isActive": null,
"id": 8,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 4320,
"days": 180,
"name": "Every 6 Months",
"description": "Every 6 Months",
"isActive": null,
"id": 9,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 8760,
"days": 365,
"name": "Yearly",
"description": "Yearly",
"isActive": null,
"id": 10,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 17520,
"days": 730,
"name": "Bi-Yearly",
"description": "Bi-Yearly",
"isActive": null,
"id": 11,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
}
],
"status": "success",
"statusCode": "00",
"message": "Operation successful"
}
{
"status": "failed",
"status_code": "13",
"message": "Order not found at the moment"
}
{
"data": [
{
"hours": 1,
"days": 0,
"name": "Hourly",
"description": "Payment made hourly",
"isActive": null,
"id": 1,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 24,
"days": 1,
"name": "Daily",
"description": "Daily",
"isActive": null,
"id": 2,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 168,
"days": 7,
"name": "Weekly",
"description": "Weekly",
"isActive": null,
"id": 3,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 336,
"days": 14,
"name": "Bi-Weekly",
"description": "Bi-Weekly",
"isActive": null,
"id": 4,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 504,
"days": 21,
"name": "Every 3 Weeks",
"description": "Every 3 Weeks",
"isActive": null,
"id": 5,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 720,
"days": 30,
"name": "Monthly",
"description": "Monthly",
"isActive": null,
"id": 6,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 1440,
"days": 60,
"name": "Bi-Monthly",
"description": "Bi-Monthly",
"isActive": null,
"id": 7,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 2160,
"days": 90,
"name": "Every 3 Months",
"description": "Every 3 Months",
"isActive": null,
"id": 8,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 4320,
"days": 180,
"name": "Every 6 Months",
"description": "Every 6 Months",
"isActive": null,
"id": 9,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 8760,
"days": 365,
"name": "Yearly",
"description": "Yearly",
"isActive": null,
"id": 10,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
},
{
"hours": 17520,
"days": 730,
"name": "Bi-Yearly",
"description": "Bi-Yearly",
"isActive": null,
"id": 11,
"dateCreated": "2023-07-06T08:48:45",
"dateUpdated": null,
"dateDeleted": null,
"createdBy": -1,
"updatedBy": null,
"deletedBy": null
}
],
"status": "success",
"statusCode": "00",
"message": "Operation successful"
}
{
"status": "failed",
"status_code": "13",
"message": "Order not found at the moment"
}
⌘I

