GET /api/v1/users/me/transactions
Returns the deposit and withdrawal transaction history for the currently authenticated user.
Authentication​
Required. Bearer token must be included in the Authorization header.
Request​
No request body or query parameters required.
Example​
curl -X GET https://intotes.com/api/v1/users/me/transactions \
-H "Authorization: Bearer <token>"
Response​
200 OK​
[
{
"id": 1001,
"type": "deposit",
"amount": 50000,
"status": "completed",
"created_at": "2025-08-10T14:22:00Z"
},
{
"id": 1002,
"type": "withdrawal",
"amount": 20000,
"status": "pending",
"created_at": "2025-08-12T09:15:00Z"
},
{
"id": 1003,
"type": "deposit",
"amount": 100000,
"status": "completed",
"created_at": "2025-08-15T18:30:00Z"
}
]
Response Fields​
| Field | Type | Description |
|---|---|---|
id | int64 | Transaction ID |
type | string | Transaction type ("deposit" or "withdrawal") |
amount | int64 | Transaction amount in kopecks |
status | string | Transaction status ("pending", "completed", "failed") |
created_at | string | ISO 8601 timestamp of when the transaction was created |
Errors​
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid authentication token |