Your account
List ledger entries
GET
/api/me/ledgerAPI key· readEvery movement of your balance, newest first: deposits, order debits, refunds, referral rewards, withdrawals.
Amounts are signed from your side: a debit is negative. ref is the ledger's idempotency key (spend:ord_… for an order paid from the balance, refund:ord_… for its refund), unique for ever: the same money never moves twice.
| kind | What it is |
|---|---|
deposit | A transfer into your deposit address, credited after confirmation. |
spend | An order (or a send fee) paid from the balance. |
refund | A failed or partly filled order, back to the balance. |
referral | A referral reward. |
withdrawal, withdrawal_fee | A withdrawal and its network fee. |
withdrawal_cancel, withdrawal_fee_refund | A cancelled withdrawal, back to the balance. |
adjustment | A manual correction by support. |
Query parameters
limitintegerOptional- How many, newest first: 1 to 100 (default 50). Default
50.
Errors
| HTTP | error | When |
|---|---|---|
| 400 | bad_limit | limit isn't a whole number in range. |
| 401 | missing_api_key | This endpoint needs an API key: Authorization: Bearer fb_live_…. |
| 401 | invalid_api_key | The key is malformed or unknown. A bad key is refused on every endpoint that takes keys, never ignored. |
| 401 | api_key_revoked | The key was revoked in Settings › API keys. |
| 403 | account_closed | The key's account is closed. |
| 403 | insufficient_scope | The key lacks the scope this endpoint needs (read or order). |
| 429 | rate_limited | Too many calls (per IP, or per key with a key). Wait for Retry-After seconds. |
Every error is {"error": "<code>", "message": "<text>"}. All error codes.
Rate limits
- With an API key: 120 at once, then 2 per second, per key.