Balance
Every request goes to https://api.lemak.cash. About the reference.
Retrieve the balance
GET /v1/balance
Retrieves your balance in the mode of the API key. Each bucket lists one amount per currency.
Authentication
Bearer key. Your secret API key, which starts with sk_test_ or sk_live_. Send it as Authorization: Bearer <key>. A test key works as soon as your account exists. A production key returns 403 live_not_enabled until your account is activated.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Api-Version optional | header | string | The API version for this request, as a date in YYYY-MM-DD format. When omitted, your account's version applies, which is set to the latest version on your first request. An unknown version returns 400 invalid_api_version. Pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
Responses
200
Returns the balance.
application/json
Balance
Your funds by state. Each list holds one amount per currency.
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
available required | array of Money | Funds that can be paid out to you.Fields of available
| |||||||||
pending required | array of Money | Funds from payments that are not yet available.Fields of pending
| |||||||||
dispute_hold required | array of Money | Funds held for open disputes.Fields of dispute_hold
| |||||||||
review_hold required | array of Money | Crypto payments held for manual review. Each is usually released within one business day. Empty if you do not accept crypto.Fields of review_hold
|
Errors
Every error answers with the error object.
| Status | When |
|---|---|
| Other | An error. The status tells you the kind: 400 invalid request, 401 invalid API key, 402 payment could not be placed, 403 forbidden, 404 not found, 409 conflict, 413 body over 64 KiB, 422 idempotency key reused, 429 too many requests, 5xx server error. A test mode key takes at most 5 requests a second. |
Example
curl https://api.lemak.cash/v1/balance \
-H "Authorization: Bearer sk_test_..." \
-H "Api-Version: 2026-12-01"