Saltar al contenido
Registrarse

Cuenta

Obtener el registro de movimientos

Todos los movimientos de la cuenta, del más reciente al más antiguo: operaciones y comisiones, depósitos y retiros, Earn, transferencias entre subcuentas y resultados de las posiciones apalancadas.

GET/api/v1/account/ledgerConseguir una clave
curl --request GET \
  --url "https://reirex.com/api/v1/account/ledger?currency=EUR" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE"

200 OKapplication/json

{
  "entries": [
    {
      "entryId": "48213",
      "kind": "trade_fee",
      "book": "fiat",
      "currency": "EUR",
      "amount": "-0.70",
      "balance": "12480.55",
      "method": null,
      "reference": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
      "createdAt": "2026-10-14T16:14:15.412Z"
    },
    {
      "entryId": "48212",
      "kind": "buy",
      "book": "spot",
      "currency": "BTC",
      "amount": "0.01000000",
      "balance": "0.43150000",
      "method": null,
      "reference": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
      "createdAt": "2026-10-14T16:14:15.412Z"
    },
    {
      "entryId": "48211",
      "kind": "buy",
      "book": "fiat",
      "currency": "EUR",
      "amount": "-700.00",
      "balance": "12481.25",
      "method": null,
      "reference": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
      "createdAt": "2026-10-14T16:14:15.412Z"
    }
  ],
  "next": "48211"
}

Cada asiento lleva el saldo que dejó, así que puedes reconstruir cualquier saldo en cualquier momento. Los asientos de una misma orden, transferencia o posición comparten una reference.

Una página contiene hasta 100 asientos. Si hay más, pasa next como before para seguir leyendo.

Parámetros de consulta

  • kindstring

    Solo los asientos de este tipo.

    Uno dedepositwithdrawalwithdrawal_returnbuyselltrade_feeai_trade_startai_trade_resultcopy_startcopy_resultadjustmentearn_subscribeearn_redeemearn_rewardreferral_rewardaffiliate_payoutsub_transfermargin_resultmargin_financing

  • currencystring

    Solo los asientos en esta divisa o instrumento, como EUR o BTC.

  • limitintegerPor defecto: 50

    Cuántos asientos por página.

    De 1 a 100

  • beforestring

    El cursor next de la página anterior.

Respuesta

  • entriesobject[]

    Los asientos, del más reciente al más antiguo.

  • nextstring | null

    Un cursor para la página siguiente, o null en la última.