Allmine API
Users

Kendi transaction history kaydını getir

Giriş yapmış kullanıcının kredi hareketlerini kaynaklar arasında birleştirip tarih sırasına göre sayfalı döndürür.

GET
/api/v1/users/me/transactions

Giriş yapmış kullanıcının kredi hareketlerini kaynaklar arasında birleştirip tarih sırasına göre sayfalı döndürür.

Authorization

JWT-auth
AuthorizationBearer <token>

Paste the JWT access token without the Bearer prefix.

In: header

Query Parameters

page?number

Sayfa numarası (varsayılan: 1)

Default1
Range1 <= value
limit?number

Sayfa başına kayıt (varsayılan: 20, maksimum: 100)

Default20
Range1 <= value <= 100
types?array<>

İşlem tip filtreleri. CSV veya tekrar eden query param olarak gönderilebilir.

statuses?array<>

Durum filtreleri. CSV veya tekrar eden query param olarak gönderilebilir.

direction?string

Yön filtresi

Value in"credit" | "debit"
dateFrom?string

Bu tarihten itibaren (inclusive)

dateTo?string

Bu tarihe kadar (inclusive)

sort?string

occurredAt sıralama yönü (varsayılan: desc)

Default"desc"
Value in"asc" | "desc"

Header Parameters

X-Language?string

Uygulama içerisinde seçilen dil (varsayılan: en)

Value in"en" | "tr"
X-Timezone?string

Zaman dilimi (varsayılan: UTC)

Value in"UTC-12:00" | "UTC-11:00" | "UTC-10:00" | "UTC-09:30" | "UTC-09:00" | "UTC-07:00" | "UTC-06:00" | "UTC-05:00" | "UTC-04:00" | "UTC-03:30" | "UTC-03:00" | "UTC-02:00" | "UTC-01:00" | "UTC+00:00" | "UTC+01:00" | "UTC+02:00" | "UTC+03:00" | "UTC+03:30" | "UTC+04:00" | "UTC+04:30" | "UTC+05:00" | "UTC+05:30" | "UTC+05:45" | "UTC+06:00" | "UTC+06:30" | "UTC+07:00" | "UTC+08:00" | "UTC+08:45" | "UTC+09:00" | "UTC+09:30" | "UTC+10:00" | "UTC+10:30" | "UTC+11:00" | "UTC+12:00" | "UTC+12:45" | "UTC+13:00" | "UTC+14:00"
X-Platform?string

Platform (varsayılan: web)

Value in"web" | "mobile_ios" | "mobile_android" | "admin" | "api" | "unknown" | "all"
X-App-Version?string

Uygulama versiyonu (opsiyonel)

X-Device-ID?string

Cihaz kimliği (opsiyonel)

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/users/me/transactions"
{
  "isSuccess": true,
  "statusCode": 200,
  "data": {
    "list": [
      {
        "id": "abc123",
        "username": "john_doe",
        "email": "[email protected]"
      }
    ],
    "pagination": {
      "currentPage": 1,
      "totalPages": 5,
      "totalItems": 45,
      "itemsPerPage": 10,
      "hasNextPage": true,
      "hasPrevPage": false
    }
  },
  "errors": [],
  "timestamp": "2026-05-22T16:11:26.804Z"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 401,
  "data": null,
  "errors": [
    "Authentication required"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 403,
  "data": null,
  "errors": [
    "Insufficient permissions"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}