Transaction hooks

Register new hooks

Register a hook that Blnk calls before or after a transaction.

POST/hooks

Body

namestringrequiredbody

Name of the hook. Ensure it is as descriptive as possible for easy reference.

urlstringrequiredbody

Endpoint URL where the hook will send requests.

typestringrequiredbody

Type of the hook - PRE_TRANSACTION or POST_TRANSACTION.

activebooleanrequiredbody

Indicates whether the hook is enabled or disabled.

timeoutnumberrequiredbody

Maximum time (in seconds) allowed for the hook to execute.

retry_countnumberrequiredbody

Maximum number of retry attempts if the hook fails.