#GET /merchant/dispute и список

#GET /merchant/dispute — один по UUID

GET /merchant/dispute?id=f47ac10b-58cc-4372-a567-0e02b2c3d479

// RES

{
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "created_at": "2026-04-19T17:23:00.000Z",
  "status": "process",
  "amount": "5000",
  "appeal_cancel_reason_name": null,
  "transaction_id": "uuid-of-tx",
  "merchant_transaction_id": "order_001",
  "transaction_created_at": "...",
  "transaction_amount": "5000",
  "transaction_paid_amount": "0",
  "transaction_requisite": {
    "bank": "Сбербанк",
    "card": "4276...5678",
    "owner": "Иванов И.И.",
    "country_name": "Russia"
  },
  "transaction_currency_code": "RUB"
}

Коды ошибок: 400 MISSING_ID (нет параметра id), 404 NOT_FOUND (диспут не ваш или не существует).


#GET /merchant/dispute/list — список с пагинацией

GET /merchant/dispute/list?page_number=1&page_size=50&status=process

Query-параметры:

ПараметрПо умолчаниюОписание
page_number1min 1
page_size50max 100
statusCSV: process, success, canceled
transaction_idИщет по tx.uuid или merchant_transaction_id
merchant_transaction_idТолько по merchant_transaction_id

// RES

{
  "items": [
    {
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "created_at": "...",
      "status": "process",
      "amount": "5000",
      "transaction_id": "uuid-of-tx",
      "merchant_transaction_id": "order_001"
    }
  ],
  "page_number": 1,
  "page_size": 50
}