Learn how Hooks work in the Blnk Ledger.
PRE_TRANSACTION
)POST_TRANSACTION
)PRE_TRANSACTION
executes before any transaction begins, serving as the first line of defense and preparation in your transaction pipeline.
Some ideal use cases are:
Example scenario: When a customer places an order, a pre-transaction hook automatically contacts a credit scoring API to validate the customer’s creditworthiness before processing. This validation ensures that only qualified transactions move forward.
POST_TRANSACTION
executes after a transaction has been completed, handling all necessary follow-up actions and integrations.
Some ideal use cases are:
Example scenario: A common implementation is fraud detection, where the post-transaction hook automatically sends transaction details to a fraud analysis system. This system examines patterns and flags suspicious activities without impacting the original transaction flow.