The skip_queue feature allows you to bypass the default transaction queuing system and process transactions directly to your balances. This is useful for scenarios where you need real-time transaction processing while still maintaining data consistency.

To enable this feature, include “skip_queue”: true in the request body when calling the Create Transaction endpoint:

{
  "amount": 102.12,
  "precision": 100,
  ...
  "allow_overdraft": true,
  "skip_queue": true
}

How it works

When you enable skip_queue, the transaction:

  • Bypasses the normal queuing process
  • Executes immediately on the balance
  • Uses distributed locks via Redis to maintain consistency
  • Applies optimistic locking at the database level

When to use skip_queue

Use skip_queue for:

  • Real-time payment processing in your ledger
  • Interactive user sessions requiring immediate feedback
  • Time-sensitive financial operations

Avoid using for:

  • Complex transactions with multiple steps or dependencies
  • Transactions requiring external service validation
Consider rate limiting for high traffic scenarios. Learn how: blnk.json Configuration File

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.

To ask questions or discuss issues, please contact us or join our Discord community.

Get access to Blnk Cloud.

Manage your Blnk Ledger and explore advanced features (access control & collaboration, anomaly detection, secure storage & file management, etc.) in one dashboard.