Payments
Prepaid FLOP balance
Fund your prepaid balance, read it, and see what was taken from it.
Live
Your balance pays the router fee in both payer modes, and the escrow too in balance mode (credit). It belongs to the wallet that owns your key.
Deposit
Send a plain FLOP transfer (balances.transferKeepAlive) from your wallet to the router's deposit address. It is credited to the sending address once its block is finalized, usually within a minute. Send from the wallet that owns your key: a transfer from another wallet is credited to that other wallet.
curl https://api.floprouter.com/v1/balance -H "Authorization: Bearer $FLOPROUTER_API_KEY"
{
"object": "balance",
"address": "5...",
"currency": "FLOP",
"balance": "0",
"held": "0",
"available": "0",
"deposit_address": "5...",
"fee_percent": 5,
"deposit_note": "Send a plain transfer ...",
"recent": []
}| Field | Meaning |
|---|---|
balance | Everything credited to you and not spent. |
held | Reserved for sessions in progress and withdrawals in flight. |
available | What new requests and withdrawals can use. |
deposit_address | Where to send deposits. |
recent | The latest ledger entries: deposits, escrow and fee charges, refunds, withdrawals. |
The account page shows the same, with the deposit address ready to copy.
Your key's usage Not live yet
curl https://api.floprouter.com/v1/key -H "Authorization: Bearer $FLOPROUTER_API_KEY"
Usage in FLOP over the sessions paid through this key (day, week from Monday, month, UTC) and the rate limits. limit is null: spending is bounded by your prepaid FLOP balance and, in grant mode, by the grant's caps. Under flop: the key id, wallet address and payer mode. There is no credits endpoint: the prepaid FLOP balance is GET /v1/balance.
When the balance is short
A request the balance cannot cover is refused with 402 insufficient_balance before any channel opens. The error carries available and required, so you can show the user how much to deposit.
Taking it out
See withdrawals.