Hooks

Delete hook

Delete a hook with the Java SDK.

DEL/hooks/{hook_id}

Use blnk.hooks().delete for this operation.

Call the method

ApiResponse<JsonNode> response = blnk.hooks().delete(
    "hk_890bdbc4-467f-4670-8424-5667e41daf29"
);
FieldTypeDescription
idStringID of the hook to delete.

Confirm the outcome

Check the response message to confirm the hook was removed. Blnk will no longer call this endpoint on transactions.

Response

{
  "message": "hook deleted successfully"
}
FieldTypeDescription
messageStringConfirmation that the hook was deleted.