> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orkesta.com.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# İşlem Arama

> Filtre kriterlerine göre ödeme işlemlerinin sayfalı listesini döner

## 🔍 Ödeme İşlemleri Arama

Filtre kriterlerine göre ödeme işlemlerinin sayfalı listesini döner.

**`POST`** `https://api-test.fincraft.com.tr/general/api/v1/operations/transactions/search`

## Request Body

```json theme={null}
{
  "startDate": "2025-01-01",
  "endDate": "2025-01-31",
  "amountMin": 10.00,
  "amountMax": 5000.00,
  "status": "SUCCESS",
  "cardHolderName": "AHMET YILMAZ"
}
```

## Request Parametreleri

| Parametre        | Tip           | Zorunlu | Açıklama                          |
| ---------------- | ------------- | ------- | --------------------------------- |
| `startDate`      | LocalDate     | Hayır   | Başlangıç tarihi (YYYY-MM-DD)     |
| `endDate`        | LocalDate     | Hayır   | Bitiş tarihi (YYYY-MM-DD)         |
| `startDateTime`  | LocalDateTime | Hayır   | Başlangıç tarih-zamanı (ISO-8601) |
| `endDateTime`    | LocalDateTime | Hayır   | Bitiş tarih-zamanı (ISO-8601)     |
| `amountMin`      | BigDecimal    | Hayır   | En düşük tutar                    |
| `amountMax`      | BigDecimal    | Hayır   | En yüksek tutar                   |
| `status`         | String        | Hayır   | İşlem durumu                      |
| `cardHolderName` | String        | Hayır   | Kart sahibi adı                   |

## Sayfalama Parametreleri

| Parametre | Tip     | Zorunlu | Açıklama                         |
| --------- | ------- | ------- | -------------------------------- |
| `page`    | Integer | Hayır   | 0 tabanlı sayfa indeksi          |
| `size`    | Integer | Hayır   | Sayfa başına kayıt sayısı        |
| `sort`    | String  | Hayır   | alan,ASC/DESC biçiminde sıralama |

## Response Body

```json theme={null}
{
    "message": "Ödeme işlemleri başarıyla getirildi",
    "response": {
        "content": [
            {
                "transactionId": "430d9fbe-9ece-4601-bfa4-80db4b89fcd6",
                "orderId": "d40b0044-243f-471c-9f7a-bbc4fbc00481",
                "referenceId": "c3dc518a-1e7e-4803-9c64-81237eb4dc8a",
                "cardHolderName": "Muammer Şahin",
                "amount": 1000.00,
                "currency": "TRY",
                "paymentMethod": "AUTH",
                "status": "SUCCESS",
                "transactionDate": "2025-09-19T12:26:58.420+00:00"
            }
        ],
        "totalElements": 1,
        "totalPages": 1
    }
}
```

## cURL Örneği

```bash theme={null}
curl -X POST "https://api-test.fincraft.com.tr/general/api/v1/operations/transactions/search?page=0&size=20" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "startDate": "2025-01-01",
    "endDate": "2025-01-31",
    "status": "SUCCESS"
  }'
```
