Hooks
Register new hooks
Register a new hook with the TypeScript SDK.
POST
Register new hooks
Use
blnk.Hooks.create to register a webhook that Blnk calls before or after a transaction.
1
Call the method
blnk.Hooks.create
2
Save the hook ID
Use
response.data.id to view, update, or delete the hook later.3
Response
201 Created