{ "17082": { "id": "17082", "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": 1752339822.667782, "visited_at_str": "2025-07-12 23:03:42", "bonuses": 64.0, "history": [ { "type": "referral", "amount": 4.0, "description": "Бонус за приглашение клиента ID 68833", "date": "2025-07-12T23:03:22.045734+06:00", "date_str": "2025-07-12 23:03:22", "transaction_type": "bonus" }, { "type": "referral", "amount": 60.0, "description": "Бонус за приглашение клиента ID 68833", "date": "2025-07-12T23:04:04.568833+06:00", "date_str": "2025-07-12 23:04:04" } ], "debts": 0, "debt_history": [], "invoices": [ { "invoice_id": "F8F9B67A", "date": "2025-06-21T11:59:27.924694+06:00", "date_str": "2025-06-21 11:59:27", "total_amount": 2500.0, "items": [ { "product_name": "Тест ", "quantity": 10.0, "unit_price": 250.0, "item_total": 2500.0 } ] }, { "invoice_id": "F34E4ABE", "date": "2025-06-21T12:20:14.237911+06:00", "date_str": "2025-06-21 12:20:14", "total_amount": 2000.0, "items": [ { "product_name": "Блабла", "quantity": 10.0, "unit_price": 50.0, "item_total": 500.0 }, { "product_name": "Нэт", "quantity": 30.0, "unit_price": 50.0, "item_total": 1500.0 } ] }, { "invoice_id": "D7FCBCE7", "date": "2025-06-21T12:21:51.554196+06:00", "date_str": "2025-06-21 12:21:51", "total_amount": 5000.0, "items": [ { "product_name": "Первый товар ", "quantity": 10.0, "unit_price": 500.0, "item_total": 5000.0 } ] }, { "invoice_id": "A03B7963", "date": "2025-06-21T12:33:30.755217+06:00", "date_str": "2025-06-21 12:33:30", "total_amount": 60000.0, "items": [ { "product_name": "Первый товар ", "quantity": 15.0, "unit_price": 4000.0, "item_total": 60000.0 } ] } ], "combined_history": [ { "type": "referral", "amount": 4.0, "description": "Бонус за приглашение клиента ID 68833", "date": "2025-07-12T23:03:22.045734+06:00", "date_str": "2025-07-12 23:03:22", "transaction_type": "bonus" } ], "ton_address": "", "partner_code": "31872", "referred_by": null, "referred_users": [ "68833" ] }, "organization_details": { "name": "Тестовая", "phone_numbers": [ "+996500398754" ], "address": "Тест", "whatsapp_link": "https://wa.me/+996500398754", "telegram_link": "", "referral_percentage": 2.0 }, "68833": { "id": "68833", "telegram_id": 995174388, "first_name": "MyKalNyhay", "last_name": "", "username": "MyKalNuhay", "photo_url": "https://t.me/i/userpic/320/iegrHn2RbDAyICzKh0F4ejj2bqV04PIn1aQ6FeTmSc8.svg", "language_code": "ru", "is_premium": false, "phone_number": null, "visited_at": 1752339694.143457, "visited_at_str": "2025-07-12 23:01:34", "bonuses": 3200.0, "history": [ { "type": "accrual", "amount": 200.0, "description": "Начисление с покупки 10000.00", "date": "2025-07-12T23:03:22.045734+06:00", "date_str": "2025-07-12 23:03:22", "transaction_type": "bonus" }, { "type": "accrual", "amount": 3000.0, "description": "Начисление с покупки 150000.00", "date": "2025-07-12T23:04:04.568833+06:00", "date_str": "2025-07-12 23:04:04" } ], "debts": 0.0, "debt_history": [], "invoices": [], "partner_code": "89679", "referred_by": "31872", "referred_users": [], "combined_history": [ { "type": "accrual", "amount": 200.0, "description": "Начисление с покупки 10000.00", "date": "2025-07-12T23:03:22.045734+06:00", "date_str": "2025-07-12 23:03:22", "transaction_type": "bonus" } ] } }