List events
curl --request GET \
--url https://coinstack.net/api/v1/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://coinstack.net/api/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://coinstack.net/api/v1/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://coinstack.net/api/v1/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"success": true,
"response": {
"events": [
{
"event": {
"event_id": "e41b7c92-3a5d-4f8e-b1c6-9d2a7f4e0b85",
"kind": "checkout.completed",
"data": {
"checkout": {
"checkout_id": "8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53",
"quote_id": "0x5c1d9a7e3b6f48021e9d7c4a5b3f6e8d1a2c4b6e8f0a1c3e5d7f9b2a4c6e8d0f",
"email": "[email protected]",
"reference": "order-1042",
"description": "Order #1042",
"success_url": "https://example.com/orders/1042/thanks",
"cancel_url": "https://example.com/cart",
"currency": "USD",
"status": "completed",
"amount": "25.00000000",
"value": "25.00000000",
"received": "24.77643200",
"fee": "0.20000000",
"underpaid": false,
"overpaid": false,
"late": false,
"metadata": {
"order_id": "1042"
},
"created_at": "2026-12-02T16:20:11.482913Z",
"updated_at": "2026-12-02T16:24:37.905218Z",
"expires_at": "2026-12-03T16:20:11.482501Z",
"completed_at": "2026-12-02T16:24:37.905218Z",
"url": "https://coinstack.net/checkout/8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53"
}
},
"created_at": "2026-12-02T16:24:37.905218Z"
},
"deliveries": [
{
"webhook_id": "c2a9f1d4-7b3e-4c6a-9d2f-5e8b1a4c7d30",
"event_id": "e41b7c92-3a5d-4f8e-b1c6-9d2a7f4e0b85",
"delivery_id": 4127,
"code": 200,
"attempts": 1,
"delivered": true,
"created_at": "2026-12-02T16:24:37.905218Z",
"updated_at": "2026-12-02T16:24:38.214077Z",
"next_at": null,
"delivered_at": "2026-12-02T16:24:38.214077Z"
}
]
}
],
"cursor": null
}
}Events
List events
Returns your events, newest first, each with the record of its deliveries to your webhooks.
Requires an API key with write access.
GET
/
events
List events
curl --request GET \
--url https://coinstack.net/api/v1/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://coinstack.net/api/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://coinstack.net/api/v1/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://coinstack.net/api/v1/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"success": true,
"response": {
"events": [
{
"event": {
"event_id": "e41b7c92-3a5d-4f8e-b1c6-9d2a7f4e0b85",
"kind": "checkout.completed",
"data": {
"checkout": {
"checkout_id": "8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53",
"quote_id": "0x5c1d9a7e3b6f48021e9d7c4a5b3f6e8d1a2c4b6e8f0a1c3e5d7f9b2a4c6e8d0f",
"email": "[email protected]",
"reference": "order-1042",
"description": "Order #1042",
"success_url": "https://example.com/orders/1042/thanks",
"cancel_url": "https://example.com/cart",
"currency": "USD",
"status": "completed",
"amount": "25.00000000",
"value": "25.00000000",
"received": "24.77643200",
"fee": "0.20000000",
"underpaid": false,
"overpaid": false,
"late": false,
"metadata": {
"order_id": "1042"
},
"created_at": "2026-12-02T16:20:11.482913Z",
"updated_at": "2026-12-02T16:24:37.905218Z",
"expires_at": "2026-12-03T16:20:11.482501Z",
"completed_at": "2026-12-02T16:24:37.905218Z",
"url": "https://coinstack.net/checkout/8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53"
}
},
"created_at": "2026-12-02T16:24:37.905218Z"
},
"deliveries": [
{
"webhook_id": "c2a9f1d4-7b3e-4c6a-9d2f-5e8b1a4c7d30",
"event_id": "e41b7c92-3a5d-4f8e-b1c6-9d2a7f4e0b85",
"delivery_id": 4127,
"code": 200,
"attempts": 1,
"delivered": true,
"created_at": "2026-12-02T16:24:37.905218Z",
"updated_at": "2026-12-02T16:24:38.214077Z",
"next_at": null,
"delivered_at": "2026-12-02T16:24:38.214077Z"
}
]
}
],
"cursor": null
}
}