Learn how balances work in Blnk
balance
: This shows the current value held in the ledger balance.credit_balance
: This is the total sum of all amounts received by a ledger balance.debit_balance
: This is the total sum of all amounts sent by a ledger balance.inflight_balance
: This shows the net amount held inflight for a balance.inflight_credit_balance
: This is the total sum of all amount waiting to be received by a ledger balance.inflight_debit_balance
: This is the total sum of all amount waiting to be deducted from a ledger balance.queued_credit_balance
and queued_debit_balance
attributes. These attributes show the cumulative value of all queued transactions that will affect a balance once they’re processed.
When you query a balance, you’ll see:
queued_credit_balance
or queued_debit_balance
is greater than 0, there are transactions waiting in the queue for that balance.allow_overdraft
attribute when initiating a transaction, you can allow a ledger balance to fall below 0. This feature is valuable as it provides insights and reflects the position of a balance, especially useful in certain product contexts, such as lending or line-of-credit services.
See the following: Applying overdrafts
@World
. To learn more, see the following: Internal balances
Moreover, a negative balance is often temporary and can revert to a positive balance under certain conditions, such as: