| { |
| "66871": { |
| "id": "66871", |
| "telegram_id": 7158968984, |
| "first_name": "Morshen Group", |
| "last_name": "", |
| "username": "morshenkhan", |
| "photo_url": "https://t.me/i/userpic/320/3hfxqN7yEfO0QBrMCoSZWyk87JniopInqB2VlLYuPLUEcIq_y5T7WziRW_9IN9ku.svg", |
| "language_code": "ru", |
| "is_premium": false, |
| "phone_number": null, |
| "visited_at": 1750480587.694758, |
| "visited_at_str": "2025-06-21 10:36:27", |
| "bonuses": 400.0, |
| "history": [ |
| { |
| "type": "accrual", |
| "amount": 4000.0, |
| "description": "Начисление с покупки 200000.0", |
| "date": "2025-06-19T05:32:55.585589", |
| "date_str": "2025-06-19 05:32:55", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 4000.0, |
| "description": "Начисление с покупки 200000.0", |
| "date": "2025-06-19T06:23:14.417283", |
| "date_str": "2025-06-19 06:23:14", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 4000.0, |
| "description": "Начисление с покупки 200000.0", |
| "date": "2025-06-19T08:00:39.748566", |
| "date_str": "2025-06-19 08:00:39", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "deduction", |
| "amount": 2000.0, |
| "description": "Списание бонусов", |
| "date": "2025-06-19T08:01:01.507246", |
| "date_str": "2025-06-19 08:01:01", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 2000.0, |
| "description": "Начисление с покупки 100000.0", |
| "date": "2025-06-19T09:12:52.946381", |
| "date_str": "2025-06-19 09:12:52", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "deduction", |
| "amount": 12000.0, |
| "description": "Списание бонусов", |
| "date": "2025-06-19T09:13:29.712369", |
| "date_str": "2025-06-19 09:13:29", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 400.0, |
| "description": "Начисление с покупки 20000.0", |
| "date": "2025-06-19T10:02:32.896700", |
| "date_str": "2025-06-19 10:02:32", |
| "transaction_type": "bonus" |
| } |
| ], |
| "debts": 0.0, |
| "debt_history": [ |
| { |
| "type": "accrual", |
| "amount": 1000.0, |
| "description": "Добавление долга", |
| "date": "2025-06-19T05:32:41.286607", |
| "date_str": "2025-06-19 05:32:41", |
| "transaction_type": "debt" |
| }, |
| { |
| "type": "payment", |
| "amount": 500.0, |
| "description": "Погашение долга", |
| "date": "2025-06-19T05:34:36.511688", |
| "date_str": "2025-06-19 05:34:36", |
| "transaction_type": "debt" |
| }, |
| { |
| "type": "payment", |
| "amount": 500.0, |
| "description": "Погашение долга", |
| "date": "2025-06-19T08:01:19.526848", |
| "date_str": "2025-06-19 08:01:19", |
| "transaction_type": "debt" |
| } |
| ], |
| "combined_history": [ |
| { |
| "type": "accrual", |
| "amount": 400.0, |
| "description": "Начисление с покупки 20000.0", |
| "date": "2025-06-19T10:02:32.896700", |
| "date_str": "2025-06-19 10:02:32", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "deduction", |
| "amount": 12000.0, |
| "description": "Списание бонусов", |
| "date": "2025-06-19T09:13:29.712369", |
| "date_str": "2025-06-19 09:13:29", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 2000.0, |
| "description": "Начисление с покупки 100000.0", |
| "date": "2025-06-19T09:12:52.946381", |
| "date_str": "2025-06-19 09:12:52", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "payment", |
| "amount": 500.0, |
| "description": "Погашение долга", |
| "date": "2025-06-19T08:01:19.526848", |
| "date_str": "2025-06-19 08:01:19", |
| "transaction_type": "debt" |
| }, |
| { |
| "type": "deduction", |
| "amount": 2000.0, |
| "description": "Списание бонусов", |
| "date": "2025-06-19T08:01:01.507246", |
| "date_str": "2025-06-19 08:01:01", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 4000.0, |
| "description": "Начисление с покупки 200000.0", |
| "date": "2025-06-19T08:00:39.748566", |
| "date_str": "2025-06-19 08:00:39", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 4000.0, |
| "description": "Начисление с покупки 200000.0", |
| "date": "2025-06-19T06:23:14.417283", |
| "date_str": "2025-06-19 06:23:14", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "payment", |
| "amount": 500.0, |
| "description": "Погашение долга", |
| "date": "2025-06-19T05:34:36.511688", |
| "date_str": "2025-06-19 05:34:36", |
| "transaction_type": "debt" |
| }, |
| { |
| "type": "accrual", |
| "amount": 4000.0, |
| "description": "Начисление с покупки 200000.0", |
| "date": "2025-06-19T05:32:55.585589", |
| "date_str": "2025-06-19 05:32:55", |
| "transaction_type": "bonus" |
| }, |
| { |
| "type": "accrual", |
| "amount": 1000.0, |
| "description": "Добавление долга", |
| "date": "2025-06-19T05:32:41.286607", |
| "date_str": "2025-06-19 05:32:41", |
| "transaction_type": "debt" |
| } |
| ], |
| "invoices": [ |
| { |
| "id": "inv_1750480549510_918", |
| "date": "2025-06-21T10:35:49.510358+06:00", |
| "date_str": "2025-06-21 10:35:49", |
| "items": [ |
| { |
| "name": "Тестовый", |
| "quantity": 1, |
| "price_per_unit": 3000, |
| "item_total": 3000 |
| }, |
| { |
| "name": "Тест 2", |
| "quantity": 25, |
| "price_per_unit": 300, |
| "item_total": 7500 |
| } |
| ], |
| "total_amount": 10500.0 |
| } |
| ] |
| } |
| } |