License Keys
Retrieve license key details
Fetch complete details of a license key using its ID, including status, activations, product, and customer information. Requires x-store-id for authentication and confirmation of ownership.
GET
/
license-keys
/
{id}
Retrieve license key details
curl --request GET \
--url https://api.blink.store/v1/license-keys/{id}import requests
url = "https://api.blink.store/v1/license-keys/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.blink.store/v1/license-keys/{id}', 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://api.blink.store/v1/license-keys/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.blink.store/v1/license-keys/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.blink.store/v1/license-keys/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blink.store/v1/license-keys/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"key": "<string>",
"status": "<string>",
"activations": 123,
"activation_limit": 123,
"expires_at": "2023-11-07T05:31:56Z",
"product": {
"id": "<string>",
"name": "<string>"
},
"customer": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"order": {
"id": "<string>",
"amount": 123,
"created_at": "2023-11-07T05:31:56Z"
}
}
}Previous
Revoke a license keyPermanently disable a license key to prevent further use. Requires `x-store-id` for verification and checks the keyās status before revocation. Suitable when a license has been compromised or needs termination.
Next
āI
Retrieve license key details
curl --request GET \
--url https://api.blink.store/v1/license-keys/{id}import requests
url = "https://api.blink.store/v1/license-keys/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.blink.store/v1/license-keys/{id}', 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://api.blink.store/v1/license-keys/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.blink.store/v1/license-keys/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.blink.store/v1/license-keys/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blink.store/v1/license-keys/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"key": "<string>",
"status": "<string>",
"activations": 123,
"activation_limit": 123,
"expires_at": "2023-11-07T05:31:56Z",
"product": {
"id": "<string>",
"name": "<string>"
},
"customer": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"order": {
"id": "<string>",
"amount": 123,
"created_at": "2023-11-07T05:31:56Z"
}
}
}