1. MARGIN
Rapira
  • Introduction
  • JWT
    • Инструкция по созданию JWT
    • Generate JWT
      POST
  • CRYPTO MERCHANT
    • Адреса
      • Get address by currency
      • Create address by currency
      • Get address details by id
      • Get address list by currency
      • Start use address
      • Stop use address
    • Пополнения
      • Get deposits
  • MARKET
    • Get spot fees
      GET
    • Pairs
      GET
    • Token
      GET
    • Get rates JSON
      GET
    • Get rates XML
      GET
    • Get market depth
      POST
  • BALANCE
    • Get frozen balances
      GET
    • Get balance operations coins and types
      GET
    • Get balance operations
      POST
    • Get frozen balances detailed
      GET
    • Get Balances
      GET
  • SERVER TIME
    • Get server time
  • ORDER
    • Order current
    • Order history
    • Order details
    • Add exchange order
    • Cancel order
  • CRYPTO PAYOUT
    • Withdraw
      • Withdraw create
      • Withdraw crypto history Record
      • Withdraw crypto history
  • FIAT PAYOUT
    • Fiat
      • Withdraw fiat history
      • Withdraw fiat history Record
    • FIAT TRANSACTION
      • Fiat Transactions
      • Fiat Withdraw For Record
  • AML
    • AML balance
    • Recheck
    • Check address
    • Check transaction
  • rCode
    • Create rCode
    • rCode withdraw history
    • rCode deposit history
    • rCode details
    • Use rCode
  • OTC
    • Введение в OTC
    • Get payment types
    • Get my ads
    • Create ad
    • Update ad
    • Publish ad
    • Unpublish ad
    • Get offers
    • Fetch ads
    • Get order detail
    • Create order
    • Accept order
    • Decline order
    • Cancel order
    • Chat-history
    • Chat history page query
    • Pay order
    • Release order
    • Cancel appeal
    • Get order history
    • Create appeal
    • Send message
  • CRYPTO-PROCESSING
    • Введение
    • Создание проекта
    • Настройка проекта
    • Работа с инвойсами
    • Projects Settings
      • Get Invoices (Paginated)
      • Set deposit return address
      • Get Available Token Settings
      • Get Project Token Settings
      • Update Project Token Settings
      • Batch Update Project Token Settings
      • Get Projects
      • Edit Project
    • Invoice
      • Available Invoice Currencies
      • Create Invoice
      • Get Invoice
      • Get Available Payment Tokens for Invoice
      • Get Payment Address for Invoice
      • Manual Complete Undepaid Invoice
  • Steam
    • Order
      • Create
      • Fetch
    • Account
      • Is valid
  • MARGIN
    • Введение
    • Быстрый старт
    • Health Factor и риски
    • Margin account snapshot
      GET
    • Borrow limit
      GET
    • Withdrawal limit
      GET
    • Simulate a loan or repayment
      GET
    • Borrow
      POST
    • Repay debt
      POST
    • Loans
      GET
    • Loan transaction history
      GET
    • Interest rates
      GET
  • Schemas
    • CryptoProcessing
      • CryptoInvoice
      • CryptoPaymentQuote
      • CryptoDeposit
      • ProjectProcessingTokenSetting
      • ProjectProcessingTokenSettingEditRequest
      • ProjectResponse
    • Open api
      • REMOTE
        • Steam
          • OpenSteamOrder
    • Состояние маржи
    • Состояние маржи после операции
    • Ордер с займом
    • Цены ликвидации
    • Цены маржин-колла
    • Лимит займа
    • Остаток беспроцентного периода
    • Лимит вывода
    • Результат симуляции
    • Запрос займа
    • Запрос погашения
    • Займ
    • Страница займов
    • Операция по займу
    • Страница истории
    • Процентная ставка
    • Ошибка
  1. MARGIN

Loan transaction history

GET
/borrow/history
Требуемый уровень доступа: MARGIN
Операции по займам аккаунта постранично: займ (BORROW), погашение (REPAY), начисление процентов
(INTEREST). Сортировка — по времени операции.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Responses

🟢200
application/json
Страница истории.
Headers

Bodyapplication/json

🟠400RejectedQuery
🟠401Unauthorized
🟠403Forbidden
🟠429TooManyRequests
🔴500InternalError
🔴503Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.rapira.net/borrow/history?currency=&type=&auto=&startAmount=&endAmount=&id=&dateFrom=&dateTo=&sortDirection=&page=&size=' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "content": [
        {
            "id": 90412,
            "memberId": 12345,
            "type": "INTEREST",
            "borrowAmount": null,
            "userRequestedRepayAmount": null,
            "repaidAmount": null,
            "borrowAmountAfterOperation": 2500.81875984,
            "interestAmount": 0.03125984,
            "isAuto": true,
            "isBorrowReactivation": false,
            "currency": "USDT",
            "orderId": null,
            "timestamp": "2026-10-22T09:00:04.512Z",
            "repaySource": null
        },
        {
            "id": 90388,
            "memberId": 12345,
            "type": "REPAY",
            "borrowAmount": null,
            "userRequestedRepayAmount": 500,
            "repaidAmount": 500,
            "borrowAmountAfterOperation": 2500.7875,
            "interestAmount": null,
            "isAuto": false,
            "isBorrowReactivation": false,
            "currency": "USDT",
            "orderId": null,
            "timestamp": "2026-10-22T08:41:55.020Z",
            "repaySource": "MANUAL"
        },
        {
            "id": 90127,
            "memberId": 12345,
            "type": "BORROW",
            "borrowAmount": 3000,
            "userRequestedRepayAmount": null,
            "repaidAmount": null,
            "borrowAmountAfterOperation": 3000,
            "interestAmount": null,
            "isAuto": false,
            "isBorrowReactivation": true,
            "currency": "USDT",
            "orderId": null,
            "timestamp": "2026-10-20T11:02:17.341Z",
            "repaySource": null
        }
    ],
    "number": 0,
    "size": 3,
    "totalElements": 24,
    "first": true,
    "hasContent": true,
    "last": false,
    "totalPages": 8,
    "numberOfElements": 3
}
Modified at 2026-10-23 11:31:15
Previous
Loans
Next
Interest rates
Built with