Handling overdrafts
Overview
When recording a transaction, Blnk requires the source
to have enough funds to execute the transaction. If Blnk detects that there’s insufficient funds, the transaction is rejected.
However, Overdrafts allow you to successfully record a transaction regardless of the source
total balance. If overdrafts is enabled, Blnk will process the transaction and allow the balance to go negative.
There are many useful, real-life applications for Overdrafts both for internal money movement and customer balances such as lending,
Enable overdrafts on a transaction
Overdrafts are applied in the Record Transaction payload. To enable overdrafts, include the allow_overdraft
attribute and set it to true
in your request.
See example below:
See also → Record a transaction.
Real-life applications
There are many useful, real-life applications for Overdrafts both for your internal financial operations and customers.
-
Loans and credit facilities: You can easily implement lending features, track how much a customer has spent outside of their available balance, manage credit history, etc., and record it all in your Blnk Ledger.
-
Internal money movement: Your internal balances can often face fluctuations in cash flow, especially during unpredictable periods. Overdrafts allow you to efficiently manage this without disrupting your financial operation. See also → How internal balances work.
See also
Balance monitoring
Set up balance monitors in your ledger
Record a transaction
Learn how to record a transaction
Understanding precision
Improve the correctness of your ledger
Managing notifications
Set up how you receive notifications
Need help?
Are you stuck? Do you have a question that isn’t answered in this doc? Have you run into a problem you can’t solve? Want to file a bug report?
Join our Discord server and share your questions/thoughts with other developers building financial applications like you.
Was this page helpful?