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/payments/retrieve
curl --request GET \
--url "https://api.hyperaze.com/api/v1/payments/retrieve?id={id}" \
--header "Authorization: Bearer $API_KEY" \
import requests
url = "https://api.hyperaze.com/api/v1/payments/retrieve"
headers = {
"Authorization": "Bearer <API_KEY>"
}
params = {
"id": "<id>"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
fetch("https://api.hyperaze.com/api/v1/payments/retrieve?id=<id>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
<?php
$url = "http://api.hyperaze.com/api/v1/payments/retrieve?id=<id>";
$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("Request failed");
}
echo $response;
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "http://api.hyperaze.com/api/v1/payments/retrieve?id=<id>"
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("Request error:", err)
return
}
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}
import kong.unirest.Unirest;
import kong.unirest.HttpResponse;
public class Main {
public static void main(String[] args) {
HttpResponse<String> response = Unirest.get("http://api.hyperaze.com/api/v1/payments/retrieve?id=<id>")
.header("Authorization", "Bearer <API_KEY>")
.asString();
System.out.println(response.getBody());
}
}
{
"id": "<string>",
"charge_id": "<string>",
"amount": <float>,
"currency": "<string>",
"invoice_url": "<string>",
"product_id": "<string>",
"created_date": "<string>"
}
curl --request GET \
--url "https://api.hyperaze.com/api/v1/payments/retrieve?id={id}" \
--header "Authorization: Bearer $API_KEY" \
import requests
url = "https://api.hyperaze.com/api/v1/payments/retrieve"
headers = {
"Authorization": "Bearer <API_KEY>"
}
params = {
"id": "<id>"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
fetch("https://api.hyperaze.com/api/v1/payments/retrieve?id=<id>", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
<?php
$url = "http://api.hyperaze.com/api/v1/payments/retrieve?id=<id>";
$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("Request failed");
}
echo $response;
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "http://api.hyperaze.com/api/v1/payments/retrieve?id=<id>"
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("Request error:", err)
return
}
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}
import kong.unirest.Unirest;
import kong.unirest.HttpResponse;
public class Main {
public static void main(String[] args) {
HttpResponse<String> response = Unirest.get("http://api.hyperaze.com/api/v1/payments/retrieve?id=<id>")
.header("Authorization", "Bearer <API_KEY>")
.asString();
System.out.println(response.getBody());
}
}
{
"id": "<string>",
"charge_id": "<string>",
"amount": <float>,
"currency": "<string>",
"invoice_url": "<string>",
"product_id": "<string>",
"created_date": "<string>"
}