Skip to content

Commit 7a63b09

Browse files
committed
πŸ—„ chore: Update payment API examples
1 parent 498b416 commit 7a63b09

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

β€Žk_backend/routers/payment.pyβ€Ž

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@
4848
"transactions": [
4949
{
5050
"account_id": 2,
51-
"amount": 60,
51+
"amount": -60,
52+
"timestamp": "2022-09-08T08:07:08.000",
53+
"timezone": "Asia/Taipei",
5254
},
5355
{
5456
"account_id": 3,
55-
"amount": 50,
57+
"amount": -50,
58+
"timestamp": "2022-09-08T08:07:08.000",
59+
"timezone": "Asia/Taipei",
5660
},
5761
],
5862
"entries": [
@@ -92,10 +96,14 @@
9296
{
9397
"account_id": 2,
9498
"amount": 50,
99+
"timestamp": "2022-09-08T08:07:08.000",
100+
"timezone": "Asia/Taipei",
95101
},
96102
{
97103
"account_id": 3,
98104
"amount": 60,
105+
"timestamp": "2022-09-08T08:07:08.000",
106+
"timezone": "Asia/Taipei",
99107
},
100108
],
101109
"entries": [
@@ -136,14 +144,20 @@
136144
{
137145
"account_id": 1,
138146
"amount": -14,
147+
"timestamp": "2022-09-08T08:07:08.000",
148+
"timezone": "Asia/Taipei",
139149
},
140150
{
141151
"account_id": 2,
142152
"amount": 60,
153+
"timestamp": "2022-09-08T08:07:08.000",
154+
"timezone": "Asia/Taipei",
143155
},
144156
{
145157
"account_id": 3,
146158
"amount": -60,
159+
"timestamp": "2022-09-08T08:07:08.000",
160+
"timezone": "Asia/Taipei",
147161
},
148162
],
149163
"entries": [
@@ -172,14 +186,20 @@
172186
{
173187
"account_id": 1,
174188
"amount": -150,
189+
"timestamp": "2022-09-08T08:07:08.000",
190+
"timezone": "Asia/Taipei",
175191
},
176192
{
177193
"account_id": 2,
178194
"amount": -3000,
195+
"timestamp": "2022-09-08T08:07:08.000",
196+
"timezone": "Asia/Taipei",
179197
},
180198
{
181-
"account_id": 4,
199+
"account_id": 3,
182200
"amount": 100,
201+
"timestamp": "2022-09-08T08:07:08.000",
202+
"timezone": "Asia/Taipei",
183203
},
184204
],
185205
"entries": [

0 commit comments

Comments
Β (0)