cURL
curl --request GET \ --url https://api-dev.paygen.online/events/logs/{logId} \ --header 'Authorization: Bearer <token>'
{ "statusCode": 123, "message": "<string>", "data": { "_id": "<string>", "event": "<string>", "status": "<string>", "payload": {}, "createdAt": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
24
Data fetched successfully.
Hide child attributes