Get webhook config (secret masked)
curl --request GET \
--url https://api.wizzgift.com/retailer/v1/webhook \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.wizzgift.com/retailer/v1/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wizzgift.com/retailer/v1/webhook"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wizzgift.com/retailer/v1/webhook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "whe_Ab12Cd34Ef56",
"url": "<string>",
"status": "active",
"secretPreview": "whsec_kJ8s2m…",
"userId": "<string>",
"events": [
"payment.detected"
],
"previousSecretExpiresAt": 1753142400000,
"createdAt": 1753142400000,
"updatedAt": 1753142400000
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or expired API key"
},
"requestId": "req_8f3k2"
}{
"error": {
"code": "NOT_FOUND",
"message": "Checkout not found"
},
"requestId": "req_8f3k2"
}{
"error": "Too many requests",
"message": "<string>"
}Retailer · Webhook management
Get webhook config (secret masked)
GET
/
retailer
/
v1
/
webhook
Get webhook config (secret masked)
curl --request GET \
--url https://api.wizzgift.com/retailer/v1/webhook \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.wizzgift.com/retailer/v1/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wizzgift.com/retailer/v1/webhook"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wizzgift.com/retailer/v1/webhook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "whe_Ab12Cd34Ef56",
"url": "<string>",
"status": "active",
"secretPreview": "whsec_kJ8s2m…",
"userId": "<string>",
"events": [
"payment.detected"
],
"previousSecretExpiresAt": 1753142400000,
"createdAt": 1753142400000,
"updatedAt": 1753142400000
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or expired API key"
},
"requestId": "req_8f3k2"
}{
"error": {
"code": "NOT_FOUND",
"message": "Checkout not found"
},
"requestId": "req_8f3k2"
}{
"error": "Too many requests",
"message": "<string>"
}Authorizations
API key (wg_live_…) created in the dashboard (Account → API Keys).
Shown once at creation; only a hash is stored server-side.
Response
Endpoint config with secretPreview (prefix only).
Example:
"whe_Ab12Cd34Ef56"
Available options:
active, disabled Masked secret, e.g. whsec_kJ8s2m….
Example:
"whsec_kJ8s2m…"
null = subscribed to all events.
Available options:
payment.detected, payment.confirmed, order.completed, order.partial, order.failed, refund.initiated, refund.completed, refund.failed End of the dual-signature window after a rotation.
Example:
1753142400000
Unix timestamp in milliseconds (UTC).
Example:
1753142400000
Unix timestamp in milliseconds (UTC).
Example:
1753142400000