Skip to main content

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​

FieldTypeDescription
idint64Transaction ID
typestringTransaction type ("deposit" or "withdrawal")
amountint64Transaction amount in kopecks
statusstringTransaction status ("pending", "completed", "failed")
created_atstringISO 8601 timestamp of when the transaction was created

Errors​

StatusCodeDescription
401unauthorizedMissing or invalid authentication token