Learn how to hold transactions until a condition is met.
inflight
parameter, transactions follow a specialized workflow that maintains separate balances for pending operations.
It is best used when you want to wait for feedback or authorization before a transaction is applied in your ledger.
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
state.INFLIGHT
.balance_id | Main balance | Inflight balance | Inflight credit | Inflight debit |
---|---|---|---|---|
balance_A | 200 | -100 | 0 | 100 |
balance_B | 0 | 100 | 100 | 0 |
balance_A
shows a negative inflight balance (-100) because funds are pending outflow.balance_B
shows a positive inflight balance (100) because funds are pending inflow.APPLIED
status.balance_id | Main balance | Inflight balance | Inflight credit | Inflight debit |
---|---|---|---|---|
balance_A | 100 | 0 | 0 | 0 |
balance_B | 100 | 0 | 0 | 0 |
balance_id | Main balance | Inflight balance | Inflight credit | Inflight debit |
---|---|---|---|---|
balance_A | 160 | -60 | 0 | 60 |
balance_B | 40 | 60 | 60 | 0 |
VOID
status.inflight_expiry_date
parameter in the request body.
INFLIGHT
past specified expiry date.VOID
status.inflight_expiry_date
date input as ‘YYYY-MM-DDTHH:MM:SS+00:00’ (e.g., 2024-04-22T15:28:03+00:00), where +00:00
specifies the timezone. It is UTC by default.available_balance
for your customers indicating the amount available for them to spend on new transactions:
source
balance, and compute the available_balance
:
available_balance
:
parent_transaction
attribute, which you’ll receive in the response to your transaction request. This parent_transaction
helps you track and manage related transactions as a single unit.transaction_id
from your response.inflight
include: