Biklo for developersTESTsandbox-api.biklo.comchange

The append-only ledger

GET/v1/wallet/ledger

scope wallet.read

Every movement, in order. Reconcile against THIS, not against the balance: balances are a current view, the ledger is the history.

Query parameters#

NameExample
limit50Max 100
cursor—next_cursor
currencyRONFilter by currency
order_id716Entries for one order
entry_typepayout_paidFilter by movement type

Response#

FieldTypeDescription
countintegerHow many entries in this page.
next_cursorstring|nullPass back as ?cursor=; null on the last page.
dataarrayAppend-only: every movement of money, newest first. Entries are never edited or deleted, so this is what to reconcile your own books against.
data[].idintegerThe entry id.
data[].lot_idinteger|nullWhich lot moved.
data[].order_idinteger|nullWhich order it belongs to.
data[].directionstringWhich way the money went.

Accepts credit · debit

data[].typestringWhat happened, as a stable key — return_window_started, payout_created and so on. Match on this, not on any human wording.
data[].amountintegerMinor units, always positive; direction carries the sign.
data[].currencystringIts currency.
data[].balance_categorystringWhich balance bucket this entry moved money into.
data[].created_atstringISO-8601 UTC.

Example

{
    "count": 1,
    "next_cursor": null,
    "data": [
        {
            "id": 224550,
            "lot_id": 1091,
            "order_id": 716,
            "direction": "credit",
            "type": "return_window_started",
            "amount": 123400,
            "currency": "RON",
            "balance_category": "pending",
            "created_at": "2026-09-10T07:01:08Z"
        }
    ]
}

Failures use the shared error envelope — a machine-readable code and a request_id to quote to support. Error handling.

curl -X GET "https://sandbox-api.biklo.com/v1/wallet/ledger?limit=50" \
  -H "Authorization: Bearer bk_test_YOUR_KEY"
<?php

$ch = curl_init('https://sandbox-api.biklo.com/v1/wallet/ledger?limit=50');

curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST  => 'GET',
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer bk_test_YOUR_KEY',
    ],
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", "bk_test_YOUR_KEY");

var request = new HttpRequestMessage(
    new HttpMethod("GET"),
    "https://sandbox-api.biklo.com/v1/wallet/ledger?limit=50");

var response = await client.SendAsync(request);
var json = await response.Content.ReadAsStringAsync();
import requests

response = requests.get(
    "https://sandbox-api.biklo.com/v1/wallet/ledger?limit=50",
    headers={"Authorization": "Bearer bk_test_YOUR_KEY"},
)

data = response.json()
const response = await fetch("https://sandbox-api.biklo.com/v1/wallet/ledger?limit=50", {
  method: "GET",
  headers: {
    Authorization: "Bearer bk_test_YOUR_KEY"
  }
});

const data = await response.json();
import java.net.http.*;
import java.net.URI;

var client = HttpClient.newHttpClient();

var request = HttpRequest.newBuilder()
    .uri(URI.create("https://sandbox-api.biklo.com/v1/wallet/ledger?limit=50"))
    .header("Authorization", "Bearer bk_test_YOUR_KEY")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();

var response = client.send(request, HttpResponse.BodyHandlers.ofString());