File size: 7,410 Bytes
925f13c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54331a0
 
925f13c
 
 
 
 
 
 
cf2cd58
 
 
5b36715
f3e2981
 
 
 
 
 
 
78b3cbb
 
f3e2981
 
5b36715
78b3cbb
 
 
 
 
 
 
 
 
 
6f6f82c
 
 
 
 
 
 
 
 
 
b52fd23
 
d23a07e
cf2cd58
 
 
 
 
 
f3e2981
 
 
 
 
 
 
 
72c8cba
 
d23a07e
 
 
 
 
 
72c8cba
 
0f44197
 
 
 
 
 
b52fd23
 
0f44197
 
 
 
 
 
b52fd23
 
cf2cd58
 
6f6f82c
 
f3e2981
 
 
 
 
 
 
 
 
 
 
 
 
 
d23a07e
 
 
 
 
 
 
 
 
 
 
 
 
 
0f44197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3e2981
 
6f6f82c
cf2cd58
6f6f82c
cf2cd58
6f6f82c
 
f3e2981
 
b52fd23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72c8cba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3e2981
 
 
 
 
 
 
 
 
925f13c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
{
    "organization_details": {},
    "bonus_program_settings": {
        "invoice_bonus_percentage": 2,
        "referral_promo_bonus": 50,
        "referrer_first_purchase_percentage": 5
    },
    "82423": {
        "id": "82423",
        "telegram_id": 7158968984,
        "first_name": "Synkris Ai",
        "last_name": "",
        "username": "morshenkhan",
        "photo_url": "https://t.me/i/userpic/320/3hfxqN7yEfO0QBrMCoSZWyk87JniopInqB2VlLYuPLUEcIq_y5T7WziRW_9IN9ku.svg",
        "is_premium": false,
        "phone_number": null,
        "visited_at": 1766288766.283561,
        "visited_at_str": "2025-12-21 08:46:06",
        "bonuses": 0,
        "history": [],
        "debts": 0,
        "debt_history": [],
        "invoices": [],
        "referral_code": "PROMO82423",
        "referred_by": null,
        "referrals": [
            "94618"
        ],
        "has_been_welcomed": true,
        "referral_bonuses": 50.0,
        "referral_bonus_history": [
            {
                "type": "accrual",
                "amount": 50.0,
                "description": "Бонус от друга Alex",
                "date": "2025-12-21T09:33:13.327203+06:00",
                "date_str": "2025-12-21 09:33:13",
                "transaction_type": "referral"
            }
        ],
        "has_made_first_purchase": false,
        "combined_history": [
            {
                "type": "accrual",
                "amount": 50.0,
                "description": "Бонус от друга Alex",
                "date": "2025-12-21T09:33:13.327203+06:00",
                "date_str": "2025-12-21 09:33:13",
                "transaction_type": "referral"
            }
        ]
    },
    "94618": {
        "id": "94618",
        "telegram_id": 5929031322,
        "first_name": "Alex",
        "last_name": "Morshen",
        "username": "sandru_dev",
        "photo_url": "https://t.me/i/userpic/320/Tw_JMTzRLpa3c4C1EuYBFR5krvS6H5i-1gGI4xu1O1aG6FEs7_l8nqYp2xIhFkmZ.svg",
        "is_premium": false,
        "phone_number": null,
        "visited_at": 1766289412.659134,
        "visited_at_str": "2025-12-21 08:56:52",
        "bonuses": 274.0,
        "history": [
            {
                "type": "accrual",
                "amount": 50.0,
                "description": "Бонус за промокод",
                "date": "2025-12-21T09:32:23.241765+06:00",
                "date_str": "2025-12-21 09:32:23",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 20.0,
                "description": "Бонус с накладной #5CE08221",
                "date": "2025-12-21T09:33:13.327203+06:00",
                "date_str": "2025-12-21 09:33:13",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 204.0,
                "description": "Бонус с накладной #E8803757",
                "date": "2025-12-21T09:34:03.328473+06:00",
                "date_str": "2025-12-21 09:34:03",
                "transaction_type": "bonus"
            },
            {
                "type": "deduction",
                "amount": 200.0,
                "description": "Оплата по накладной #9B6E3C60",
                "date": "2025-12-21T08:49:37.330568+05:00",
                "date_str": "2025-12-21 08:49:37",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 200.0,
                "description": "Бонус с накладной #9B6E3C60",
                "date": "2025-12-21T08:49:37.330568+05:00",
                "date_str": "2025-12-21 08:49:37",
                "transaction_type": "bonus"
            }
        ],
        "debts": 0,
        "debt_history": [],
        "invoices": [
            {
                "invoice_id": "5CE08221",
                "date": "2025-12-21T09:33:13.327203+06:00",
                "date_str": "2025-12-21 09:33:13",
                "total_amount": 1000.0,
                "items": [
                    {
                        "product_name": "покупка",
                        "quantity": 100.0,
                        "unit_price": 10.0,
                        "item_total": 1000.0
                    }
                ]
            },
            {
                "invoice_id": "E8803757",
                "date": "2025-12-21T09:34:03.328473+06:00",
                "date_str": "2025-12-21 09:34:03",
                "total_amount": 10200.0,
                "items": [
                    {
                        "product_name": "покупка 2",
                        "quantity": 100.0,
                        "unit_price": 102.0,
                        "item_total": 10200.0
                    }
                ]
            },
            {
                "invoice_id": "9B6E3C60",
                "date": "2025-12-21T08:49:37.330568+05:00",
                "date_str": "2025-12-21 08:49:37",
                "total_amount": 10000.0,
                "items": [
                    {
                        "product_name": "покупка",
                        "quantity": 1.0,
                        "unit_price": 10000.0,
                        "item_total": 10000.0
                    }
                ],
                "bonuses_deducted": 200.0
            }
        ],
        "referral_code": "PROMO94618",
        "referred_by": "82423",
        "referrals": [],
        "has_been_welcomed": true,
        "referral_bonuses": 0,
        "referral_bonus_history": [],
        "has_made_first_purchase": true,
        "combined_history": [
            {
                "type": "deduction",
                "amount": 200.0,
                "description": "Оплата по накладной #9B6E3C60",
                "date": "2025-12-21T08:49:37.330568+05:00",
                "date_str": "2025-12-21 08:49:37",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 200.0,
                "description": "Бонус с накладной #9B6E3C60",
                "date": "2025-12-21T08:49:37.330568+05:00",
                "date_str": "2025-12-21 08:49:37",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 204.0,
                "description": "Бонус с накладной #E8803757",
                "date": "2025-12-21T09:34:03.328473+06:00",
                "date_str": "2025-12-21 09:34:03",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 20.0,
                "description": "Бонус с накладной #5CE08221",
                "date": "2025-12-21T09:33:13.327203+06:00",
                "date_str": "2025-12-21 09:33:13",
                "transaction_type": "bonus"
            },
            {
                "type": "accrual",
                "amount": 50.0,
                "description": "Бонус за промокод",
                "date": "2025-12-21T09:32:23.241765+06:00",
                "date_str": "2025-12-21 09:32:23",
                "transaction_type": "bonus"
            }
        ]
    }
}