You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A pre-transaction is a mechanism for pre-processing values. It performs validation of the accounts involved in the transaction, reserves the amounts in the source accounts (on_hold), and keeps the transaction in a pending state, awaiting a subsequent call for confirmation (commit) or cancellation (cancel).
In the case of confirmation, the balances are effectively transferred to the destination accounts, and the corresponding debit and credit operations are recorded.
In the event of cancellation, the previously reserved amounts are returned to the available balance of the source accounts.
Context
A pre-transaction is a mechanism for pre-processing values. It performs validation of the accounts involved in the transaction, reserves the amounts in the source accounts (
on_hold
), and keeps the transaction in a pending state, awaiting a subsequent call for confirmation (commit
) or cancellation (cancel
).In the case of confirmation, the balances are effectively transferred to the destination accounts, and the corresponding debit and credit operations are recorded.
In the event of cancellation, the previously reserved amounts are returned to the available balance of the source accounts.
How to do it
Workflow
Step: Create Transaction
on_hold
PRE_APPROVED
Action: Commit
APPROVED
Action: Cancel
CANCELED
To-do
pending:boolean
field on transaction bodyThe text was updated successfully, but these errors were encountered: