curl --request GET \
--url https://api.example.com/notifications/subscriptions \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"event_type": "<string>",
"user_id": 123,
"user_full_name": "<string>",
"occurred_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"user_username": "<string>",
"user_telegram_id": 123,
"subscription_id": 123,
"transaction_id": 123,
"amount_kopeks": 123,
"currency": "<string>",
"message": "<string>",
"extra": {}
}
],
"total": 123,
"limit": 123,
"offset": 123
}Получение журнала уведомлений о событиях подписок.
curl --request GET \
--url https://api.example.com/notifications/subscriptions \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"event_type": "<string>",
"user_id": 123,
"user_full_name": "<string>",
"occurred_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"user_username": "<string>",
"user_telegram_id": 123,
"subscription_id": 123,
"transaction_id": 123,
"amount_kopeks": 123,
"currency": "<string>",
"message": "<string>",
"extra": {}
}
],
"total": 123,
"limit": 123,
"offset": 123
}1 <= x <= 200x >= 0