Event
Get an Event by ID
Authorization
Authorization
RequiredBearer <token>In: header
Path Parameters
event_id
RequiredstringThe id of the event
curl -X GET "https://api.sandbox.spherepay.co/v1/event/{{event_id}}" \
-H "Authorization: Bearer <token>"
OK
{
"ok": true,
"object": "object",
"statusCode": 200,
"error": null,
"message": "success",
"data": {
"event": {
"id": "event_3ced8f24b05941218cac61a923d0b993",
"name": "paymentLink.create",
"data": {
"paymentLink": {
"id": "paymentLink_a016ae165c0a440b9f6b2cb683a982c8",
"end": null,
"url": "https://spherepay.co/pay/paymentLink_a016ae165c0a440b9f6b2cb683a982c8",
"meta": {},
"name": "",
"start": null,
"coupon": null,
"phases": [],
"created": "2025-01-22T20:04:05.470Z",
"failUrl": "",
"taxRate": null,
"updated": "2025-01-22T20:04:05.470Z",
"wallets": [],
"features": {
"requiresName": false,
"requiresEmail": false,
"requiresShippingDetails": false
},
"lineItems": [
{
"price": "price_7dcbbd7fdff1463885a89cfbe99364fd",
"created": "2025-01-22T20:04:05.470Z",
"product": "product_686a47eb809448a8a64157ec447fcf3a",
"updated": "2025-01-22T20:04:05.470Z",
"quantity": 1,
"amountTotal": null,
"quantityLabel": "",
"paymentCurrency": null,
"quantityMutable": false
}
],
"successUrl": "",
"description": "",
"disableSwaps": false,
"shippingRate": null,
"cctpSourceNetworks": null,
"discordConstraints": []
}
},
"webhookRecords": [],
"mock": false,
"updated": "2025-01-22T20:04:05.500Z",
"created": "2025-01-22T20:04:05.500Z"
}
},
"ts": "2025-04-20T21:16:58.155Z",
"request": "request_c999a0d8fbf1484d83edb63a826d5007"
}