Skip to main content
GET
/
events
/
{eventId}
Get an event by ID
curl --request GET \
  --url https://api-dev.paygen.online/events/{eventId} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>",
  "data": {
    "_id": "<string>",
    "name": "<string>",
    "type": "<string>",
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

eventId
string
required
Required string length: 24

Response

200 - application/json

Data fetched successfully.

statusCode
integer
required
message
string
required
data
object