Sell
How to Sell Guide
API
Memberships
Memberships
List Memberships
Retrieve a Membership
Validate license key
Terminate a membership
Cancel a membership
Products
Pricing Plans
Checkouts
Checkouts
List checkout links
Retrieve a checkout link
Update a checkout link
Create a checkout link
Payments
GET /api/v1/products
curl --request GET \
--url "https://api.hyperaze.com/api/v1/products" \
--header "Authorization: Bearer $API_KEY"
import requests
url = "https://api.hyperaze.com/api/v1/products"
headers = {
"Authorization": "Bearer <API_KEY>"
}
response = requests.get(url, headers=headers)
print(response.json())
fetch("https://api.hyperaze.com/api/v1/products", {
method: "GET",
headers: {
"Authorization": "Bearer <API_TOKEN>"
}
})
.then(response => response.json())
.then(data => {
console.dir(data, { depth: null });
})
.catch(error => console.error("Error:", error));
<?php
$url = "http://api.hyperaze.com/api/v1/products";
$options = [
"http" => [
"header" => "Authorization: Bearer <API_KEY>\r\n",
"method" => "GET"
]
];
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
if ($response === FALSE) {
die("Error occurred");
}
echo $response;
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "http://api.hyperaze.com/api/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("Authorization", "Bearer <API_KEY>")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error:", err)
return
}
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}
import kong.unirest.Unirest;
import kong.unirest.HttpResponse;
import kong.unirest.JsonNode;
public class Main {
public static void main(String[] args) {
HttpResponse<JsonNode> response = Unirest.get("http://api.hyperaze.com/api/v1/products")
.header("Authorization", "Bearer <API_KEY>")
.asJson();
System.out.println(response.getBody());
}
}
{
"status": "success",
"response": {
"data": {
"products": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"active": true,
"image": "<string>",
"users": [
{
"id": "<string>",
"username": "<string>",
"email": "<string>",
"discord": {
"id": "<string>",
"username": "<string>"
}
}
],
"pricing_plans": [
{
"id": "<string>",
"name": "<string>",
"pricing_type": "<string>",
"listed": false,
}
],
"welcome_message": "<string>",
"revenue": <float>,
"faq": [
{
"question": "<string>",
"answer": "<string>"
}
],
"features": ["<string>"],
"created_date": "<string>"
}
]
}
}
}
curl --request GET \
--url "https://api.hyperaze.com/api/v1/products" \
--header "Authorization: Bearer $API_KEY"
import requests
url = "https://api.hyperaze.com/api/v1/products"
headers = {
"Authorization": "Bearer <API_KEY>"
}
response = requests.get(url, headers=headers)
print(response.json())
fetch("https://api.hyperaze.com/api/v1/products", {
method: "GET",
headers: {
"Authorization": "Bearer <API_TOKEN>"
}
})
.then(response => response.json())
.then(data => {
console.dir(data, { depth: null });
})
.catch(error => console.error("Error:", error));
<?php
$url = "http://api.hyperaze.com/api/v1/products";
$options = [
"http" => [
"header" => "Authorization: Bearer <API_KEY>\r\n",
"method" => "GET"
]
];
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
if ($response === FALSE) {
die("Error occurred");
}
echo $response;
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "http://api.hyperaze.com/api/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("Authorization", "Bearer <API_KEY>")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error:", err)
return
}
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}
import kong.unirest.Unirest;
import kong.unirest.HttpResponse;
import kong.unirest.JsonNode;
public class Main {
public static void main(String[] args) {
HttpResponse<JsonNode> response = Unirest.get("http://api.hyperaze.com/api/v1/products")
.header("Authorization", "Bearer <API_KEY>")
.asJson();
System.out.println(response.getBody());
}
}
{
"status": "success",
"response": {
"data": {
"products": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"active": true,
"image": "<string>",
"users": [
{
"id": "<string>",
"username": "<string>",
"email": "<string>",
"discord": {
"id": "<string>",
"username": "<string>"
}
}
],
"pricing_plans": [
{
"id": "<string>",
"name": "<string>",
"pricing_type": "<string>",
"listed": false,
"active": true
}
],
"welcome_message": "<string>",
"revenue": <float>,
"faq": [
{
"question": "<string>",
"answer": "<string>"
}
],
"features": ["<string>"],
"created_date": "<string>"
}
]
}
}
}