Biklo for developersTESTsandbox-api.biklo.comchange

Balances per currency

GET/v1/wallet/balance

scope wallet.read

A LIST, not a number: a seller trading cross-border holds several currencies at once. Every figure is minor units. When money is blocked and cannot be withdrawn, the response also carries an onboarding block saying why. settled_to_fees is terminal: the company's absorbed fees consumed the whole order, so nothing was transferred and nothing was refunded.

Response#

FieldTypeDescription
dataarrayOne entry PER CURRENCY. A seller trading cross-border holds several at once, so there is no single balance — never sum these.
data[].currencystringWhich balance this row is.
data[].pendingintegerOrder money still travelling: accepted, in shipping, or inside the buyer's return window. Not yours to withdraw yet. Minor units.
data[].availableintegerCleared and withdrawable right now. This is the figure a withdrawal draws on.
data[].paid_outintegerAlready sent to your bank. Historical, not a balance you hold.
data[].refundedintegerReturned to buyers.
data[].blockedintegerHeld because your payout identity checks are incomplete. Not lost — see GET /v1/wallet/account for what is missing.
data[].debtintegerWhat you owe us, where fees exceeded what an order earned.
data[].settled_to_feesintegerOrders whose absorbed fees consumed the whole amount. TERMINAL, and its own bucket deliberately: this money is neither withdrawable nor refunded, and folding it into either would misstate the wallet.
data[].under_reviewintegerMoney we could not classify automatically, with a human looking at it. Reported rather than hidden, and never folded into available.
can_withdrawbooleanWhether a withdrawal would be accepted at all. false means payout onboarding is incomplete, whatever available says.

Example

{
    "data": [
        {
            "currency": "RON",
            "pending": 123400,
            "available": 45000,
            "paid_out": 890000,
            "refunded": 0,
            "blocked": 0,
            "debt": 0,
            "settled_to_fees": 0,
            "under_review": 0
        }
    ],
    "can_withdraw": true
}

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/balance" \
  -H "Authorization: Bearer bk_test_YOUR_KEY"
<?php

$ch = curl_init('https://sandbox-api.biklo.com/v1/wallet/balance');

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/balance");

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

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

data = response.json()
const response = await fetch("https://sandbox-api.biklo.com/v1/wallet/balance", {
  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/balance"))
    .header("Authorization", "Bearer bk_test_YOUR_KEY")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();

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